This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Web Services and the fly likes WSSE Security in SOAP HEADER Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Web Services
Bookmark "WSSE Security in SOAP HEADER" Watch "WSSE Security in SOAP HEADER" New topic
Author

WSSE Security in SOAP HEADER

Sunil Sunil
Greenhorn

Joined: Jun 08, 2009
Posts: 1
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
 
GeeCON Prague 2014
 
subject: WSSE Security in SOAP HEADER