File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
XML and Web Services Security
Joined: Aug 11, 2003
Aug 11, 2003 02:50:00
Does anyone know how to use dynamic proxy to access
the service that has basic authentication ?
Joined: Jan 23, 2002
Aug 11, 2003 03:09:00
I haven't used this but here's some related documentation for JWSDP:
In principle, you should be able to say to your stub/dynamic proxy the following:
// locate stub/proxy somehow ... // set basic authentication properties myStub.setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY, "myusername"); myStub.setProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY, "mypassword"); // call the stub/proxy methods myStub.doSomething();
Effective Unit Testing
I agree. Here's the link:
subject: XML and Web Services Security
Can we use both XACML and basic authentication in a container managed WS for authorization?
Help needed to call a web service after TAM authentication - (401)Unauthorized
Sample Questions for 288 - Need answers
web service client needs to pass a Windows security token for authentication
Java client accessing .net WS
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015