This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Web Services and the fly likes XML and Web Services Security Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "XML and Web Services Security" Watch "XML and Web Services Security" New topic
Author

XML and Web Services Security

wn cyber
Greenhorn

Joined: Aug 11, 2003
Posts: 1
Does anyone know how to use dynamic proxy to access
the service that has basic authentication ?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
I haven't used this but here's some related documentation for JWSDP:
http://java.sun.com/webservices/docs/1.0/tutorial/doc/JAXRPC7.html#76692
In principle, you should be able to say to your stub/dynamic proxy the following:


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: XML and Web Services Security