Why can't mozilla process this wsdl?
[email protected] (Joel Shellman)
| Newsgroups | gmane.comp.mozilla.devel.xml |
|---|---|
| Organization | http://groups.google.com |
| Message-ID | <[email protected]> |
I'm using GLUE in a Java application and it autogenerates WSDLs. I'm
using Mozilla 1.7.2 on Windows 2000. If I leave the method parameters
simple, it works fine, but if I have two arrays, or the one below
(includes inheritance), I get a "Failure processing WSDL document"
error.
Can anyone tell me why it's choking on this WSDL? Or perhaps how to
troubleshoot properly to know what it is it doesn't like?
Thanks,
-joel shellman
<?xml version='1.0' encoding='UTF-8'?>
<!--generated by Glue Standard 5.0.2 build 77 on Sat Aug 21 01:10:14
EDT 2004-->
<wsdl:definitions name='ManagerImpl'
targetNamespace='http://www.webmethods.com/wsdl/ManagerImpl/'
xmlns:wsdl='http://schemas.xmlsoap.org/wsdl/'
xmlns:xsd='http://www.w3.org/2001/XMLSchema'
xmlns:n4='http://www.webmethods.com/package/com.devportal.portal.data/'
xmlns:soapenc='http://schemas.xmlsoap.org/soap/encoding/'
xmlns:n6='http://www.webmethods.com/package/com.devportal.portal/'
xmlns:n7='http://www.themindelectric.com/2001/schemaArray/'
xmlns:tns='http://www.webmethods.com/wsdl/ManagerImpl/'
xmlns:soap='http://schemas.xmlsoap.org/wsdl/soap/'>
<wsdl:types>
<xsd:schema
targetNamespace='http://www.webmethods.com/package/com.devportal.portal/'>
<xsd:import
namespace='http://www.themindelectric.com/2001/schemaArray/'/>
<xsd:import
namespace='http://schemas.xmlsoap.org/soap/encoding/'/>
<xsd:import
namespace='http://www.webmethods.com/package/com.devportal.portal.data/'/>
<xsd:complexType name='LayoutWithWindow'>
<xsd:complexContent>
<xsd:extension base='n4:LayoutInfo'>
<xsd:all>
<xsd:element name='windowId'
type='xsd:long'/>
</xsd:all>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name='ArrayOfLayoutWithWindow'>
<xsd:complexContent>
<xsd:restriction base='soapenc:Array'>
<xsd:attribute ref='soapenc:arrayType'
wsdl:arrayType='n6:LayoutWithWindow[]'/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name='PortletList'>
<xsd:sequence>
<xsd:element name='classList' nillable='true'
type='n7:ArrayOfstring'/>
<xsd:element name='instanceList' nillable='true'
type='n7:ArrayOflong'/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<xsd:schema
targetNamespace='http://www.webmethods.com/package/com.devportal.portal.data/'>
<xsd:complexType name='LayoutInfo'>
<xsd:sequence>
<xsd:element name='height' type='xsd:int'/>
<xsd:element name='left' type='xsd:int'/>
<xsd:element name='top' type='xsd:int'/>
<xsd:element name='width' type='xsd:int'/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<xsd:schema
targetNamespace='http://www.themindelectric.com/2001/schemaArray/'>
<xsd:import
namespace='http://schemas.xmlsoap.org/soap/encoding/'/>
<xsd:complexType name='ArrayOfstring'>
<xsd:complexContent>
<xsd:restriction base='soapenc:Array'>
<xsd:attribute ref='soapenc:arrayType'
wsdl:arrayType='xsd:string[]'/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name='ArrayOflong'>
<xsd:complexContent>
<xsd:restriction base='soapenc:Array'>
<xsd:attribute ref='soapenc:arrayType'
wsdl:arrayType='xsd:long[]'/>
</xsd:restriction>
</xsd:complexContent>
</xsd:complexType>
</xsd:schema>
</wsdl:types>
<wsdl:message name='saveLayout0In'>
<wsdl:part name='layouts' type='n6:ArrayOfLayoutWithWindow'/>
</wsdl:message>
<wsdl:message name='saveLayout0Out'/>
<wsdl:message name='listPortlets1In'>
<wsdl:part name='windowId' type='xsd:long'/>
</wsdl:message>
<wsdl:message name='listPortlets1Out'>
<wsdl:part name='Result' type='n6:PortletList'/>
</wsdl:message>
<wsdl:message name='choosePortlet2In'>
<wsdl:part name='windowId' type='xsd:long'/>
<wsdl:part name='infoId' type='xsd:long'/>
</wsdl:message>
<wsdl:message name='choosePortlet2Out'/>
<wsdl:portType name='Manager'>
<wsdl:operation name='saveLayout' parameterOrder='layouts'>
<wsdl:input name='saveLayout0In'
message='tns:saveLayout0In'/>
<wsdl:output name='saveLayout0Out'
message='tns:saveLayout0Out'/>
</wsdl:operation>
<wsdl:operation name='listPortlets' parameterOrder='windowId'>
<wsdl:input name='listPortlets1In'
message='tns:listPortlets1In'/>
<wsdl:output name='listPortlets1Out'
message='tns:listPortlets1Out'/>
</wsdl:operation>
<wsdl:operation name='choosePortlet' parameterOrder='windowId
infoId'>
<wsdl:input name='choosePortlet2In'
message='tns:choosePortlet2In'/>
<wsdl:output name='choosePortlet2Out'
message='tns:choosePortlet2Out'/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name='Manager' type='tns:Manager'>
<soap:binding style='rpc'
transport='http://schemas.xmlsoap.org/soap/http'/>
<wsdl:operation name='saveLayout'>
<soap:operation soapAction='saveLayout' style='rpc'/>
<wsdl:input name='saveLayout0In'>
<soap:body use='encoded' namespace='x'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</wsdl:input>
<wsdl:output name='saveLayout0Out'>
<soap:body use='encoded' namespace='x'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name='listPortlets'>
<soap:operation soapAction='listPortlets' style='rpc'/>
<wsdl:input name='listPortlets1In'>
<soap:body use='encoded' namespace='x'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</wsdl:input>
<wsdl:output name='listPortlets1Out'>
<soap:body use='encoded' namespace='x'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name='choosePortlet'>
<soap:operation soapAction='choosePortlet' style='rpc'/>
<wsdl:input name='choosePortlet2In'>
<soap:body use='encoded' namespace='x'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</wsdl:input>
<wsdl:output name='choosePortlet2Out'>
<soap:body use='encoded' namespace='x'
encodingStyle='http://schemas.xmlsoap.org/soap/encoding/'/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name='ManagerImpl'>
<wsdl:documentation>instance of class
com.devportal.portal.ManagerImpl</wsdl:documentation>
<wsdl:port name='Manager' binding='tns:Manager'>
<soap:address
location='http://192.168.1.152:8080/devportal/services/manager'/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>