I am looking to add the UsernameToken header into a soap message that I will be posting to an external service. I am currently using IS 6.5. I understand that I need to use the addHeaderEntry service, but it is looking for a XML node that is namespaced. Is there some type of sample xsd for the Security element that I can bring in and use? Currently I have created a document with the root node “Security” and a complex type of “UsernameToken” This complex type contains “Username” and “Password” elements. Would I create this document and then convert it to an XML node and use that as the input to addHeaderEntry?
Any advice regarding wM best practices for implementing WS security in 6.5 would be great!