users@jax-ws.java.net

Re: SOAP WSA Header with jwsdp-1.6

From: Rama Pulavarthi <Rama.Pulavarthi_at_Sun.COM>
Date: Wed, 10 Jan 2007 13:06:28 -0800

I suggest using JAX-WS 2.1, so that Runtime takes of sending all the
required addressing headers automatically.

If you prefer to use JAX-RPC, you can write a SOAP handler to add these
headers.

thanks,
Rama Pulavarthi

Amit G Soni wrote:
>
> Hi List,
>
>
>
> I am using jwsdp-1.6 for generating webservices client stubs from WSDL
> file. The server side WSDL file is in .NET and uses security. So for
> this purpose I am using
>
> jax-rpc and xwss functionality of the jwsdp-1.6. I am using the
> generated classes to call the server side mothods.
>
>
>
> But when I am sending the request in which as a request I need to add
> the following header in SOAP header which is not added by default.
>
>
>
> <wsa:Action soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"
>
> soapenv:mustUnderstand="1"
>
> xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/03/addressing">
>
> http://www.xxxx.com/Cardholder/v1:helloWorldIn
>
> </wsa:Action>
>
> <wsa:To>urn:EvolutionBenefits:Services:V1:CardholderService</wsa:To>
>
>
>
> So any one of you have idea that how can I add the above tags within
> SOAP Header then please help me out.
>
>
>
> Thanks,
>
> Amit Soni
>