Author |
Message
|
Qikai |
Posted: Tue Sep 21, 2010 4:46 pm Post subject: Does SOAPInput node really support SOAP 1.2? |
|
|
Newbie
Joined: 19 Sep 2010 Posts: 3
|
All the IBM samples for soap nodes are using SOAP1.1.
While I am trying to configure SOAP input node with WSDL 1.1 Binding Extension for SOAP 1.2, I got the error in the SOAP input node:
WSDL file name: There are no imported SOAP bindings in the WSDL file /HelloMsgSet/HelloMsgSet/com/example/hello.wsdl.
Please help. I am using toolkit 7001 and broker 7001.
Below is the Hello WSDL from W3:
<?xml version="1.0" encoding="UTF-8"?><wsdl:definitions targetNamespace="http://example.com" xmlns:tns="http://example.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<wsdl:documentation>
<wsdl:appinfo source="WMQI_APPINFO">
<MRWSDLAppInfo imported="true">
<generatedMXSD location="hello_InlineSchema1.mxsd"/>
<binding hasEncoding="false" imported="true" name="TestSoap12Binding" originalBindingStyle="document"/>
</MRWSDLAppInfo>
</wsdl:appinfo>
</wsdl:documentation>
<wsdl:types>
<xsd:schema blockDefault="#all" elementFormDefault="qualified" targetNamespace="http://example.com" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:include schemaLocation="hello_InlineSchema1.mxsd"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="HelloWorldMessageIn"/>
<wsdl:message name="HelloWorldMessageOut">
<wsdl:part element="tns:HelloResponse" name="parameters"/>
</wsdl:message>
<wsdl:portType name="Test">
<wsdl:operation name="HelloWorld">
<wsdl:input message="tns:HelloWorldMessageIn"/>
<wsdl:output message="tns:HelloWorldMessageOut"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="TestSoap12Binding" type="tns:Test">
<wsoap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http "/>
<wsdl:operation name="HelloWorld">
<wsoap12:operation soapAction="http://example.com/Test/HelloWorldRequest" soapActionRequired="true"/>
<wsdl:input>
<wsoap12:body use="literal"/>
</wsdl:input>
<wsdl:output>
<wsoap12:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="HelloWorld">
<wsdl:port binding="tns:TestSoap12Binding" name="HelloWorldSoap12">
<wsoap12:address location="http://localhost/helloworld"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions> |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Sep 21, 2010 5:28 pm Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
There's a different presupplied message set for SOAP 1.2 than for SOAP 1.1. |
|
Back to top |
|
 |
Qikai |
Posted: Tue Sep 21, 2010 5:37 pm Post subject: |
|
|
Newbie
Joined: 19 Sep 2010 Posts: 3
|
mqjeff wrote: |
There's a different presupplied message set for SOAP 1.2 than for SOAP 1.1. |
Yes, soapenv12.mxsd was automatically imported in the message set. while for SOAP1.1 soapevn11.mxsd was imported. It works fine for SOAP 1.1, but not for SOAP 1.2. |
|
Back to top |
|
 |
skidewd |
Posted: Thu Sep 23, 2010 1:53 pm Post subject: |
|
|
 Novice
Joined: 20 Mar 2010 Posts: 12
|
Qikai wrote: |
mqjeff wrote: |
There's a different presupplied message set for SOAP 1.2 than for SOAP 1.1. |
Yes, soapenv12.mxsd was automatically imported in the message set. while for SOAP1.1 soapevn11.mxsd was imported. It works fine for SOAP 1.1, but not for SOAP 1.2. |
So, I assume that you 'imported' your WSDL into the Toolkit. Did you get any warning/error messages during the import? |
|
Back to top |
|
 |
Qikai |
Posted: Thu Sep 23, 2010 2:38 pm Post subject: |
|
|
Newbie
Joined: 19 Sep 2010 Posts: 3
|
Quote: |
No error or warning messages during the import.
It seems a bug with toolkit 7001 , it works fine when i rolled back to toolkit 7000. Already raised a PMR with IBM |
|
|
Back to top |
|
 |
|