Dear Geir Amdal,

  Thank you for reply. I have one query regarding Basic Authentication. I
Axis 1.X, when we use Call.setUserName() or call.setPassword(), the details
are encoded and sent to the server as HTTP Headers and which can be seen
through TCP monitor. The username and password can be retrieved in the Web
Service Handler or Web Service implementation through Message Context.  In
the case of Axis2 I can't see and difference in the SOAP request with or
without BASIC Authentication.

I am not creating ServiceClient from scratch rather I am using the Stub
generated as result of WSDL2Java and then from the stub I am retrieving the
ServiceClient and Options. But I don't think this should make any
difference. I believe it has more to do with my poor understanding of Basic
Authentication in Axis2. 

Question is how I can send username and password to the Web Service as HTTP
Header rather than SOAP Header in Axis2 similar to Axis 1.X. Reason I am
looking for this functionality is for back compatibility. 

Cheers.
Asif

-- 
View this message in context: 
http://www.nabble.com/AXIS2-1.1.1-problem-with-BASIC-AUTH-tf3559184.html#a10137496
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to