aspose 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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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!
 
 
subject: Eclipse Web Service Client - Username Token Policy
 
Similar Threads
Passing Authentication Parameters while consuming a web service
JAX-WS Authentication problem -javax.xml.ws.WebServiceException Response: '401: Unauthorized'
Onchange JCombobox
unable to run GetListItems Webservice
Secure Web Service Client