Hi, I used the WSDL converter to convert the interop WSDLs (1.1) and come up with 2.0 WSDLs. The generated WSDL has some namespace mapping problem. It uses the xsd prefix but there was no binding of that prefix to a namespace uri. The WSDLs are attached.
Any hints. I ll be happy to open a jira with the wsdls. Regards -- Chathura Herath http://people.apache.org/~chathura/ http://chathurah.blogspot.com/
<description xmlns="http://www.w3.org/2006/01/wsdl" targetNamespace="http://soapinterop.org/" xmlns:tns="http://soapinterop.org/" xmlns:typens="http://soapinterop.org/xsd" xmlns:wsoap="http://www.w3.org/2006/01/wsdl/soap" xmlns:wsdlns="http://soapinterop.org/"> <types> <schema elementFormDefault="qualified" targetNamespace="http://soapinterop.org/xsd" xmlns="http://www.w3.org/2001/XMLSchema"> <complexType name="Person"> <sequence> <element maxOccurs="1" minOccurs="1" name="Age" type="double"/> <element maxOccurs="1" minOccurs="1" name="ID" type="xsd:float"/> </sequence> <attribute name="Name" type="string"/> <attribute name="Male" type="boolean"/> </complexType> <element name="x_Person" type="typens:Person"/> <element name="result_Person" type="typens:Person"/> <complexType name="Document"> <simpleContent> <extension base="string"> <xsd:attribute xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="ID" type="string"/> </extension> </simpleContent> </complexType> <element name="x_Document" type="typens:Document"/> <element name="result_Document" type="typens:Document"/> </schema> </types> <interface name="SoapInteropCompound1PortType"> <operation name="echoPerson" pattern="http://www.w3.org/2006/01/wsdl/in-out"> <input messageLabel="In" element="typens:x_Person"/> <output messageLabel="Out" element="typens:result_Person"/> </operation> <operation name="echoDocument" pattern="http://www.w3.org/2006/01/wsdl/in-out"> <input messageLabel="In" element="typens:x_Document"/> <output messageLabel="Out" element="typens:result_Document"/> </operation> </interface> <binding name="SoapInteropCompound1Binding" interface="tns:SoapInteropCompound1PortType" type="http://www.w3.org/2006/01/wsdl/soap" wsoap:version="1.1" wsoap:protocol="http://www.w3.org/2006/01/soap11/bindings/HTTP"> <operation ref="tns:echoPerson" wsoap:action="http://soapinterop/echoPerson"> </operation> <operation ref="tns:echoDocument" wsoap:action="http://soapinterop/echoDocument"> </operation> </binding> <service name="Compound1" interface="tns:SoapInteropCompound1PortType"> <endpoint name="SoapInteropCompound1Port" binding="tns:SoapInteropCompound1Binding" address="http://127.0.0.1:8080/axis2/services/Compound1"> </endpoint> </service> </description>
<?xml version="1.0" encoding="UTF-8"?> <definitions name="SoapInteropCompound" targetNamespace="http://soapinterop.org/" xmlns:wsdlns="http://soapinterop.org/" xmlns:typens="http://soapinterop.org/xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/"> <types> <schema targetNamespace="http://soapinterop.org/xsd" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <complexType name="Person"> <sequence> <element minOccurs="1" maxOccurs="1" name="Age" type="double"/> <element minOccurs="1" maxOccurs="1" name="ID" type="xsd:float"/> </sequence> <attribute name="Name" type="string"/> <attribute name="Male" type="boolean"/> </complexType> <element name="x_Person" type="typens:Person"/> <element name="result_Person" type="typens:Person"/> <complexType name="Document"> <simpleContent> <extension base="string"> <xsd:attribute name ="ID" type="string"/> </extension> </simpleContent> </complexType> <element name="x_Document" type="typens:Document"/> <element name="result_Document" type="typens:Document"/> </schema> </types> <message name="echoPerson"> <part name="x" element="typens:x_Person"/> </message> <message name="echoPersonResponse"> <part name="Result" element="typens:result_Person"/> </message> <message name="echoDocument"> <part name="x" element="typens:x_Document"/> </message> <message name="echoDocumentResponse"> <part name="Result" element="typens:result_Document"/> </message> <portType name="SoapInteropCompound1PortType"> <operation name="echoPerson" parameterOrder="x"> <input message="wsdlns:echoPerson"/> <output message="wsdlns:echoPersonResponse"/> </operation> <operation name="echoDocument" parameterOrder="x"> <input message="wsdlns:echoDocument"/> <output message="wsdlns:echoDocumentResponse"/> </operation> </portType> <binding name="SoapInteropCompound1Binding" type="wsdlns:SoapInteropCompound1PortType"> <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> <operation name="echoPerson"> <soap:operation soapAction="http://soapinterop/echoPerson"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> <operation name="echoDocument"> <soap:operation soapAction="http://soapinterop/echoDocument"/> <input> <soap:body use="literal"/> </input> <output> <soap:body use="literal"/> </output> </operation> </binding> <service name="Compound1"> <port name="SoapInteropCompound1Port" binding="wsdlns:SoapInteropCompound1Binding"> <soap:address location="http://127.0.0.1:8080/axis2/services/Compound1"/> </port> </service> </definitions>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
