Hi Rama,
Thanks, a lot for giving me the response. I have to use jax-rpc because
the deployment server has jdk-1.4. And jax-ws requires jdk-1.5. So can
you have any document or tutorial so that I can get some information
that how can I write my own SOAP handler and then add it in SOAP headers
using jax-rpc.
Thanks,
Amit Soni
-----Original Message-----
From: Rama.Pulavarthi_at_Sun.COM [mailto:Rama.Pulavarthi_at_Sun.COM]
Sent: Thursday, January 11, 2007 2:36 AM
To: users_at_jax-ws.dev.java.net
Subject: Re: SOAP WSA Header with jwsdp-1.6
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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
For additional commands, e-mail: users-help_at_jax-ws.dev.java.net