I am looking to add a Username Token into the Soap message in IS 6.5 and I will be calling external webservice (SSL ) I know Webmethods WS Security is currenly not supported in WM 65. I am created a work around inorder to pass this block.
I am using addHeaderEntry service and I created a document then did XMLStringToDocument then DocumentToNode and passing that node to addHeaderEntry service. I also added nsDecls field in documentToXMLString service.
Below is my resulting XML I created
I am getting following error at addHeaderEntry service.
An error occurred while tracing
com.wm.app.b2b.server.ServiceException: [ISS.0088.9143] Invalid Header Entry. SOAP Header Entries must have a namespace name
Attached is my docuement created for the WS-Security block
I would like to know if my XSD is not correct , if so then how should I need to define it ,
of if any one sample XSD for the WS Security block.