Thanks for the diplomatic correction, Anne. Re. my flawed suggestion, I'm sure that I either read it somewhere semi-authoritative or saw it in code -- I will obviously have to go and burn that source!

From: Anne Thomas Manes <[EMAIL PROTECTED]>
Reply-To: [email protected]
To: [email protected]
Subject: Re: How to use soap 1.2 ?
Date: Fri, 27 Jan 2006 07:21:45 -0500

Almost -- but not quite. You indicate whether you are using SOAP 1.1 or SOAP
1.2 in the wsdlsoap namespace declaration:

xmlns:wsdlsoap11="http://schemas.xmlsoap.org/wsdl/soap/";
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" />

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:
>
> 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 ?

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/

Reply via email to