You have to specify a SOAP 1.2 binding in your WSDL. The specification
for the SOAP 1.2 WSDL binding can be found at [1]. Here's a summary of
the changes you need to make to your WSDL:
Add a WSDL SOAP 1.2 namespace declaration to the <definitions> element:
xmlns:wsoap12="http://schemas.xmlsoap.org/wsdl/soap12/"
Define a binding using this namespace:
<wsdl:binding name="TestSoap12Binding" type="tns:Test">
<wsoap12:binding
transport="http://schemas.xmlsoap.org/soap/http "
style="document" />
<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>
[1] http://schemas.xmlsoap.org/wsdl/soap12/
On 10/18/07, Kasper Frederiksen <[EMAIL PROTECTED]> wrote:
> Thanks Anne
>
> I am still new to SOAP, so I just use org.apache.axis.wsdl.WSDL2Java to
> auto-generate my proxy.
>
> Is there a switch for WSDL2Java that makes it use "SOAP 1.2 Constants" to
> enable SOAP 1.2 support?
>
> -Kasper
>
>
> On 17/10/2007, at 14.23, Anne Thomas Manes wrote:
>
> Axis 1.4 supports SOAP 1.2 -- use the SOAP 1.2 Constants.
>
> Anne
>
> On 10/17/07, Kasper Frederiksen <[EMAIL PROTECTED]> wrote:
> What version of the SOAP protocol does the current version (1.4) of
> Axis implement?
>
> I am using a system with Axis 1.1 installed, does this support the
> 1.2 version of the SOAP protocol?
>
> /thanks
> Kasper Frederiksen
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
> --
> Kasper Frederiksen
> Developer
> Basepoint Media
> Højbro Plads 10
> 1200 København K
> www.basepointmedia.com
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]