You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Kasper Frederiksen <kf...@basepointmedia.com> on 2007/10/17 11:04:39 UTC

SOAP 1.2 support

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: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: SOAP 1.2 support

Posted by Anne Thomas Manes <at...@gmail.com>.
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 <kf...@basepointmedia.com> 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 <kf...@basepointmedia.com> 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
> --
> Kasper Frederiksen
> Developer
> Basepoint Media
> Højbro Plads 10
> 1200 København K
> www.basepointmedia.com
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: SOAP 1.2 support

Posted by Kasper Frederiksen <kf...@basepointmedia.com>.
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 <kf...@basepointmedia.com> 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: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>

--
Kasper Frederiksen
Developer
Basepoint Media
Højbro Plads 10
1200 København K
www.basepointmedia.com



Re: SOAP 1.2 support

Posted by Kasper Frederiksen <kf...@basepointmedia.com>.
I would seem we are verry reluctant to upgrade our Axis installation.  
Can you confirm that Axis 1.1 can't support SOAP 1.2?

-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 <kf...@basepointmedia.com> 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: axis-user-unsubscribe@ws.apache.org
>> For additional commands, e-mail: axis-user-help@ws.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>

--
Kasper Frederiksen
Developer
Basepoint Media
Højbro Plads 10
1200 København K
www.basepointmedia.com



Re: SOAP 1.2 support

Posted by Anne Thomas Manes <at...@gmail.com>.
Axis 1.4 supports SOAP 1.2 -- use the SOAP 1.2 Constants.

Anne

On 10/17/07, Kasper Frederiksen <kf...@basepointmedia.com> 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org


Re: SOAP 1.2 support

Posted by foo shyn <fo...@optegra.com.my>.
Hi,

Personally i found that for SOAP 1.2 Axis2 is a much better choice... i 
can't use it because my vendors needs RPC...argh...

Thanx
FooShyn

Kasper Frederiksen 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: axis-user-unsubscribe@ws.apache.org
> For additional commands, e-mail: axis-user-help@ws.apache.org
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org