xmlns:wsdlsoap11="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:wsdlsoap12="http://schemas.xmlsoap.org/wsdl/soap12/"
xmlns:wsdlsoap12="http://schemas.xmlsoap.org/wsdl/soap12/"
You actually use the same transport URI for both, but the soap binding element is in a different namespace:
<wsdlsoap11
:binding
transport="http://schemas.xmlsoap.org/soap/http"
style="document" />
<wsdlsoap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
<wsdlsoap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document" />
There's also a new attribute on the binding operation definition: soapActionRequired
<soap12:operation
soapAction="http://tempuri.org/SayHelloWorld
"
soapActionRequired="true" style="
document" />
There's also a new SOAP encoding URI:
<wsdlsoap12:body
use="encoded" namespace="some-uri" encodingStyle="http://www.w3.org/2001/12/soap-encoding"
/>
An example of a SOAP 1.2 WSDL is available through the soapbuilders discussion list on yahoogroups (you must be a member to access it):
http://f3.grp.yahoofs.com/v1/QAvaQ8bN6IevGcPZTnUJEqhfEu4ipMPbHSiIbrZjmQL6bkfrZmCyEd-8GQCjJVc6m4OzFDRFAXw-0Q7kQ6KAi8w-9NM1_dk/soap12WSDL.htm
I don't know how to tell Axis to use SOAP 1.2, but I assume there's a parameter in java2wsdl and in the WSDD.
Anne
Anne
On 1/26/06, Jarmo Doc <[EMAIL PROTECTED]> wrote:
You'd think that it would be obvious, or at least clearly and explicitly
stated in the WSDL, wouldn't you? Like <version="1.1"/> But no! In the
best SOAP traditions, it's as clear as mud.
I believe that it's all in the transport binding:
- transport="http://schemas.xmlsoap.org/soap/http" (SOAP 1.1)
- transport="http://www.w3.org/2003/05/soap-envelope " (SOAP 1.2)
>From: Nicolas De Loof <[EMAIL PROTECTED]>
>Reply-To: [email protected]
>To: [email protected]
>Subject: How to use soap 1.2 ?
>Date: Thu, 26 Jan 2006 11:45:33 +0100
>
>
>How to configure Axis servlet to use SOAP 1.2 ?
>
>I've found in SerializationContext line 921 : if (soapConstants ==
>SOAPConstants.SOAP12_CONSTANTS) { ...
>That can inline multirefs... but I don't know how to enable it.
>
>Nico.
>
>This message contains information that may be privileged or confidential
>and is the property of the Capgemini Group. It is intended only for the
>person to whom it is addressed. If you are not the intended recipient, you
>are not authorized to read, print, retain, copy, disseminate, distribute,
>or use this message or any part thereof. If you receive this message in
>error, please notify the sender immediately and delete all copies of this
>message.
>
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
