users@jax-rpc.java.net

Re: SOAP WSA Header with jwsdp-1.6

From: V B Kumar Jayanti <Vbkumar.Jayanti_at_Sun.COM>
Date: Wed, 03 Jan 2007 20:38:05 +0530

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.
>
If you switch over to JAXWS from JAXRPC you can do it. And if you are
trying to interoperate with .NET then you should make use of WSIT
(https://wsit.dev.java.net)

Thanks.

>
>
> Thanks,
>
> Amit Soni
>