File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Consider Paul's rocket mass heater.
 
subject: WSSE Security in SOAP HEADER
 
Similar Threads
CXF, WSDL, and SecurityPolicy problems with "None of the policy alternatives can be satisfied."
HeaderElements must be namespace qualified when create soap client
Difference between Web Services 1.0 standard from 2004 and the 1.1 standard from 2006
SAML assertion in WSDL
Axis2 and mustUnderstand