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 Merin Shaji <me...@gmail.com> on 2007/05/09 12:08:59 UTC
https authentication
Hi,
I want to add username and password in my Axis Client stub to perform basic
http authentication at the server side.The client stub was generated using
wsdl2java tool. I tried two methods:
1) binding.setUsername("admin") and binding.setPassword("admin") in the
JunitTestCase class
2) call.setUsername("admin") and call.setPassword("admin") in the
BindingStub
But I did not get these values in the soap request which I received at the
server end.
Could anyone please explain how to do this?
Thanks in advance
Merin