Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse Web Service Client - Username Token Policy

 
Oha Moha
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!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic