Hi Susinda,

Difference between these two soap versions are described in the below[1]
w3c specification.

[1] http://www.w3.org/2003/06/soap11-soap12.html
Check whether that answers you question.

I found this[2] answer is also informative -
[2]
http://stackoverflow.com/questions/8588309/what-is-the-difference-between-soap-1-1-soap-1-2-http-get-http-post-methods

BR

*Asok Aravinda Perera*
Software Engineer
WSO2, Inc.;http://wso2.com/
<http://www.google.com/url?q=http%3A%2F%2Fwso2.com%2F&sa=D&sntz=1&usg=AFQjCNGJuLRux6KkJwXKVUCYOtEsNCmIAQ>
lean.enterprise.middleware

Mobile: +94722241032

On Fri, Oct 31, 2014 at 3:21 PM, Susinda Perera <[email protected]> wrote:

> I can achieve this by using Action header and soap11 address [1], or
> using soap12 [2], What would be the differences/advantages/disadvantages of
> one over other  (i.e [1] and [2]). What is the prefered way?
>
> [1]
> <header name="Action" value="urn:getQuote"></header>
> <send>
>     <endpoint>
>        <address format="soap11" uri="
> http://localhost:9000/services/SimpleStockQuoteService"; />
>     </endpoint>
> </send>
>
> [2]
> <send>
>     <endpoint>
>        <address format="soap12" uri="
> http://localhost:9000/services/SimpleStockQuoteService"; />
>     </endpoint>
> </send>
>
>
>
> --
> *Susinda Perera*
> Software Engineer
> Mobile:(+94)716049075
>
> WSO2 Inc. http://wso2.com/
> Tel : 94 11 214 5345 Fax :94 11 2145300
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to