File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Eclipse Web Service Client - Username Token Policy Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Eclipse Web Service Client - Username Token Policy" Watch "Eclipse Web Service Client - Username Token Policy" New topic
Author

Eclipse Web Service Client - Username Token Policy

Oha Moha
Greenhorn

Joined: Aug 09, 2010
Posts: 2
I used myEclipse to generate a WebService Client for a webservice using the WSDL.
The problem is that I have to add some security information, which is not present in the wsdl.
I tried this:



The problem is that it still gives me a error:

Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: Invalid username or password

How can I apply Username Token Policy?

Thank you!
 
Don't get me started about those stupid light bulbs.
 
subject: Eclipse Web Service Client - Username Token Policy