• Post Reply Bookmark Topic Watch Topic
  • New Topic

Eclipse Web Service Client - Username Token Policy  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
The WEB SERVICES and JAX-RS Course
https://coderanch.com/t/690789/WEB-SERVICES-JAX-RS
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!