• Post Reply Bookmark Topic Watch Topic
  • New Topic

WebService Access

 
Bairavarsu Kamalakar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

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
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!