This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

WSSE Security in SOAP HEADER

 
Sunil Sunil
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to put explicit WSSE:userNameToken (i.e. user name and pasword) in web service,so that when the external system generate the client proxy then user and password comes automatically.
What I have done,I have defined Security element/message of "oasis-200401-wss-wssecurity-utility-1.0.xsd" in WSDL itself and given the reference in <binding> -> <operation> tag.
Now when external system loads the WSDL file,it only generate empty <Security> tag under <Header>.
I have also tried to customise the <Security> tag but that doesn't work because once I started customising the <Security> element,I haven't used existing element defined in "oasis-200401-wss-wssecurity-utility-1.0.xsd".
So anybody can help me please to get through this problem. Here is my WSDL file



Thanks,
Sunil
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic