Skip to Content
0
Former Member
May 29, 2008 at 11:34 AM

Problems to import WSDL

51 Views

Hi friends,

I have the following problem to load this WSDL:

http://xml.apache.org/xml-soap" xmlns:wsdlsoap=" http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soapenc=" http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd=" http://www.w3.org/2001/XMLSchema" xmlns:wsdl=" http://schemas.xmlsoap.org/wsdl/" xmlns=" http://schemas.xmlsoap.org/wsdl/">

<wsdl:types>

http://www.w3.org/2001/XMLSchema">

http://schemas.xmlsoap.org/soap/encoding/"/>

<complexType name="ArrayOf_xsd_string">

<complexContent>

<restriction base="soapenc:Array">

<attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:string[]"/>

</restriction>

</complexContent>

</complexType>

</schema>

</wsdl:types>

<wsdl:message name="dispatchWithSenderResponse">

<wsdl:part name="dispatchWithSenderReturn" type="xsd:long"/>

</wsdl:message>

<wsdl:message name="dispatchWithSenderRequest">

<wsdl:part name="in0" type="xsd:string"/>

<wsdl:part name="in1" type="xsd:string"/>

<wsdl:part name="in2" type="xsd:string"/>

<wsdl:part name="in3" type="xsd:string"/>

<wsdl:part name="in4" type="impl:ArrayOf_xsd_string"/>

<wsdl:part name="in5" type="xsd:string"/>

<wsdl:part name="in6" type="xsd:string"/>

</wsdl:message>

<wsdl:message name="dispatchWithSenderRequest1">

<wsdl:part name="in0" type="xsd:string"/>

<wsdl:part name="in1" type="xsd:string"/>

<wsdl:part name="in2" type="xsd:string"/>

<wsdl:part name="in3" type="xsd:string"/>

<wsdl:part name="in4" type="impl:ArrayOf_xsd_string"/>

<wsdl:part name="in5" type="xsd:string"/>

<wsdl:part name="in6" type="xsd:string"/>

<wsdl:part name="in7" type="xsd:long"/>

</wsdl:message>

<wsdl:message name="dispatchWithSenderResponse1">

<wsdl:part name="dispatchWithSenderReturn" type="xsd:long"/>

</wsdl:message>

<wsdl:portType name="MWeb">

<wsdl:operation name="dispatchWithSender" parameterOrder="in0 in1 in2 in3 in4 in5 in6">

<wsdl:input name="dispatchWithSenderRequest" message="impl:dispatchWithSenderRequest"/>

<wsdl:output name="dispatchWithSenderResponse" message="impl:dispatchWithSenderResponse"/>

</wsdl:operation>

<wsdl:operation name="dispatchWithSender" parameterOrder="in0 in1 in2 in3 in4 in5 in6 in7">

<wsdl:input name="dispatchWithSenderRequest1" message="impl:dispatchWithSenderRequest1"/>

<wsdl:output name="dispatchWithSenderResponse1" message="impl:dispatchWithSenderResponse1"/>

</wsdl:operation>

</wsdl:portType>

<wsdl:binding name="MWebSoapBinding" type="impl:MWeb">

http://schemas.xmlsoap.org/soap/http"/>

<wsdl:operation name="dispatchWithSender">

<wsdlsoap:operation soapAction=""/>

<wsdl:input name="dispatchWithSenderRequest">

<wsdlsoap:body use="literal" namespace="urn:MWeb"/>

</wsdl:input>

<wsdl:output name="dispatchWithSenderResponse">

<wsdlsoap:body use="literal" namespace="urn:MWeb"/>

</wsdl:output>

</wsdl:operation>

<wsdl:operation name="dispatchWithSender">

<wsdlsoap:operation soapAction=""/>

<wsdl:input name="dispatchWithSenderRequest1">

<wsdlsoap:body use="literal" namespace="urn:MWeb"/>

</wsdl:input>

<wsdl:output name="dispatchWithSenderResponse1">

<wsdlsoap:body use="literal" namespace="urn:MWeb"/>

</wsdl:output>

</wsdl:operation>

</wsdl:binding>

<wsdl:service name="MWebService">

<wsdl:port name="MWeb" binding="impl:MWebSoapBinding">

<wsdlsoap:address location="http://localhost:8080/wsMweb/services/MWeb"/>

</wsdl:port>

</wsdl:service>

</wsdl:definitions>

When I try to load this WSDL into an object External Definition, the Integration Repository gives me a failure like this:

...Element portType cannot have two subelements operation with name attribute dispatchWithSender...

The solution is to modify the WSDL?

He changed the name of the operation, but If I have to use the 2 operations?

Thanks,

Jose.