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
We're being followed by intergalactic spies! Quick! Take this tiny ad!