on 09-22-2006 5:06 PM
I'm imporing following wsdl into XI. However I cant see messages and seems to be there is some error in wsdl. Would someone help me please?..
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:services.soap.a2z.com" xmlns:intf="urn:services.soap.a2z.com" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:services.soap.a2z.com">
<wsdl:types>
<schema targetNamespace="http://xml.apache.org/xml-soap" xmlns="http://www.w3.org/2001/XMLSchema">
<import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>
<complexType name="mapItem">
<sequence>
<element name="key" nillable="true" type="xsd:string"/>
<element name="value" nillable="true" type="xsd:string"/>
</sequence>
</complexType>
<complexType name="Map">
<sequence>
<element maxOccurs="unbounded" minOccurs="0" name="item" type="apachesoap:mapItem"/>
</sequence>
</complexType>
</schema>
</wsdl:types>
<wsdl:message name="exportGroupResponse">
<wsdl:part name="exportGroupReturn" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="importGroupRequest1">
<wsdl:part name="in0" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="importGroupResponse">
<wsdl:part name="importGroupReturn" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="importGroupResponse1">
<wsdl:part name="importGroupReturn" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="importGroupRequest">
<wsdl:part name="in0" type="xsd:string"/>
<wsdl:part name="in1" type="apachesoap:Map"/>
</wsdl:message>
<wsdl:message name="loadAdaptersResponse">
<wsdl:part name="loadAdaptersReturn" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="loadAdaptersRequest">
</wsdl:message>
<wsdl:message name="exportAdapterResponse">
<wsdl:part name="exportAdapterReturn" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="importAdapterRequest1">
<wsdl:part name="in0" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="exportAdapterRequest">
<wsdl:part name="in0" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="importAdapterResponse">
<wsdl:part name="importAdapterReturn" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="exportGroupRequest">
<wsdl:part name="in0" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="importAdapterResponse1">
<wsdl:part name="importAdapterReturn" type="xsd:string"/>
</wsdl:message>
<wsdl:message name="importAdapterRequest">
<wsdl:part name="in0" type="xsd:string"/>
<wsdl:part name="in1" type="apachesoap:Map"/>
</wsdl:message>
<wsdl:portType name="Adapter">
<wsdl:operation name="importAdapter" parameterOrder="in0 in1">
<wsdl:input name="importAdapterRequest" message="impl:importAdapterRequest"/>
<wsdl:output name="importAdapterResponse" message="impl:importAdapterResponse"/>
</wsdl:operation>
<wsdl:operation name="importAdapter" parameterOrder="in0">
<wsdl:input name="importAdapterRequest1" message="impl:importAdapterRequest1"/>
<wsdl:output name="importAdapterResponse1" message="impl:importAdapterResponse1"/>
</wsdl:operation>
<wsdl:operation name="importGroup" parameterOrder="in0 in1">
<wsdl:input name="importGroupRequest" message="impl:importGroupRequest"/>
<wsdl:output name="importGroupResponse" message="impl:importGroupResponse"/>
</wsdl:operation>
<wsdl:operation name="importGroup" parameterOrder="in0">
<wsdl:input name="importGroupRequest1" message="impl:importGroupRequest1"/>
<wsdl:output name="importGroupResponse1" message="impl:importGroupResponse1"/>
</wsdl:operation>
<wsdl:operation name="exportAdapter" parameterOrder="in0">
<wsdl:input name="exportAdapterRequest" message="impl:exportAdapterRequest"/>
<wsdl:output name="exportAdapterResponse" message="impl:exportAdapterResponse"/>
</wsdl:operation>
<wsdl:operation name="exportGroup" parameterOrder="in0">
<wsdl:input name="exportGroupRequest" message="impl:exportGroupRequest"/>
<wsdl:output name="exportGroupResponse" message="impl:exportGroupResponse"/>
</wsdl:operation>
<wsdl:operation name="loadAdapters">
<wsdl:input name="loadAdaptersRequest" message="impl:loadAdaptersRequest"/>
<wsdl:output name="loadAdaptersResponse" message="impl:loadAdaptersResponse"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="AdapterServiceSoapBinding" type="impl:Adapter">
<wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="importAdapter">
<wsdlsoap:operation/>
<wsdl:input>
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
</wsdl:input>
<wsdl:output>
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="importAdapter">
<wsdlsoap:operation/>
<wsdl:input>
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
</wsdl:input>
<wsdl:output>
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="importGroup">
<wsdlsoap:operation/>
<wsdl:input>
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
</wsdl:input>
<wsdl:output>
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="importGroup">
<wsdlsoap:operation/>
<wsdl:input>
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
</wsdl:input>
<wsdl:output>
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="exportAdapter">
<wsdlsoap:operation/>
<wsdl:input>
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
</wsdl:input>
<wsdl:output>
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="exportGroup">
<wsdlsoap:operation/>
<wsdl:input>
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
</wsdl:input>
<wsdl:output>
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="loadAdapters">
<wsdlsoap:operation/>
<wsdl:input>
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
</wsdl:input>
<wsdl:output>
<wsdlsoap:body use="encoded" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:services.soap.a2z.com"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="AdapterService">
<wsdl:port name="AdapterService" binding="impl:AdapterServiceSoapBinding">
<wsdlsoap:address location="http://vn15:8000/soap/services/AdapterService"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>
Hi S T,
in the WSDL there occurs the situation that there are in one prtType multiple operations with the same name (e.g. portType "Adapter" contains two definitions for operation with name "importAdapter". Indeed, the original <a href="http://www.w3.org/TR/wsdl">WSDL specification</a> seems to allow this. However, in <a href="http://www.ws-i.org/Profiles/BasicProfile-1.0-2004-04-16.html">WS-I</a> it is forbidden (see R2304).
Therefore, the Integration Builder does not consider this document to be valid WSDL. This is a little bit tragic, as the portType definitions are not considered by the following steps anyway. A simple workaround would be to delete everything behind the message definitions.
Greetings Stephan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I think you need to have <element> as the first tag and which will appear as a Message.
I am talking about this line
<complexType name="mapItem">
In case of XSD its true that you need to have the Root tag as a Element otherwise you will not get it in Message tab and you cannout use it further.
Thanks,
Prakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
DId you check messages tab in the external definition after importing .. check that.
also to see the fields etc, create a dummy message mapping and use this as a source/target message type then you can see, is it valid structure or not..
And one more thing, you can validate the structure with any xml editors like XMLSpy, Stylish studio etc
Hope this helps,
Regards,
Moorthy
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.