• Post Reply Bookmark Topic Watch Topic
  • New Topic

SOAP1.1 vs SOAP1.2 vs SOAPHTTP using Axis2

 
Bai Shen
Ranch Hand
Posts: 323
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So I finished the Top Down Axis2 tutorial. Now I'm trying the Bottom Up one. I wrote my own Java class and created a web service from it. When I looked at the WSDL, it had some weird stuff in it. I'm not sure what the differences are.

<wsdl:binding name="MessageServiceSoap12Binding" type="ns:MessageServicePortType">
<soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
- <wsdl peration name="sendMessages">
<soap12 peration soapAction="urn:sendMessages" style="document" />
- <wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
</wsdl peration>
- <wsdl peration name="getMessages">
<soap12 peration soapAction="urn:getMessages" style="document" />
- <wsdl:input>
<soap12:body use="literal" />
</wsdl:input>
- <wsdl utput>
<soap12:body use="literal" />
</wsdl utput>
</wsdl peration>
</wsdl:binding>
- <wsdl:binding name="MessageServiceHttpBinding" type="ns:MessageServicePortType">
<http:binding verb="POST" />
- <wsdl peration name="sendMessages">
<http peration location="MessageService/sendMessages" />
- <wsdl:input>
<mime:content type="text/xml" part="sendMessages" />
</wsdl:input>
</wsdl peration>
- <wsdl peration name="getMessages">
<http peration location="MessageService/getMessages" />
- <wsdl:input>
<mime:content type="text/xml" part="getMessages" />
</wsdl:input>
- <wsdl utput>
<mime:content type="text/xml" part="getMessages" />
</wsdl utput>
</wsdl peration>
</wsdl:binding>

I see the difference between the HTTP part and the others, but no difference between the SOAP 1.1 and 1.2.

Can someone explain to me the differences? Thanks.
[ October 14, 2008: Message edited by: Bai Shen ]
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!