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 "Pani, Gourav" <go...@brightpoint.com> on 2003/12/22 14:30:25 UTC

Authentication Information in SOAP Header

hi,
 
i am using axis 1.1 on resin 2.1.10 and am trying to send header level
authentication info to a service.  from previous posts and some other
research i have gathered that using handlers would be the right way to go
about it.  however, i cannot seem to find any documentation or sample code
on how to use handlers to manipulate the header of a SOAP envelope before it
is sent out to the service.  
 
 
i am using WSDLToJava to generate the stub objects instead of the DII way of
using the Call object.
 
any help is greatly appreciated.
 
tia.
 
ps:  the setUsername()/setPassword() solution does not work for my case.

AW: Authentication Information in SOAP Header

Posted by Arno Huetter <ar...@aon.at>.
Hi there,

I don't employ a handler, but simply invoke Stub.setHeader() for passing
authentication data - works fine for me.

HTH

Kind regards,
Arno Huetter

-----Ursprüngliche Nachricht-----
Von: Pani, Gourav [mailto:gourav.pani@brightpoint.com]
Gesendet: Montag, 22. Dezember 2003 14:30
An: axis-user@ws.apache.org
Betreff: Authentication Information in SOAP Header


hi,

i am using axis 1.1 on resin 2.1.10 and am trying to send header level
authentication info to a service.  from previous posts and some other
research i have gathered that using handlers would be the right way to go
about it.  however, i cannot seem to find any documentation or sample code
on how to use handlers to manipulate the header of a SOAP envelope before it
is sent out to the service.


i am using WSDLToJava to generate the stub objects instead of the DII way of
using the Call object.

any help is greatly appreciated.

tia.

ps:  the setUsername()/setPassword() solution does not work for my case.