IntelliJ Java IDE
The moose likes Web Services and the fly likes WebService Access Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "WebService Access" Watch "WebService Access" New topic
Author

WebService Access

Bairavarsu Kamalakar
Greenhorn

Joined: Apr 06, 2005
Posts: 10
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
Marshal

Joined: Mar 22, 2005
Posts: 32767
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.


Android appsImageJ pluginsJava web charts
 
 
subject: WebService Access
 
Threads others viewed
Constructors
database in netbeans
basic question on access modifiers and levels
access specifier and access modifier
Access specifiers & Access Modifiers
MyEclipse, The Clear Choice