I am trying to access a web service which is protected with certificate and asks for usr id and pwd.
Is there any way in client program we can set the header/authorization settings.
Thanks in Advance.
Kamalakar B
Ulf Dittmer
Marshal
Joined: Mar 22, 2005
Posts: 32767
posted
0
If you're using JAX-RPC, you should have a javax.xml.rpc.Stub object somewhere (or you can cast your service object to a Stub). You can use the setProperty method to set username and password.