Skip to Content
author's profile photo Former Member
Former Member

Implementing WSS Username token standard in soap receiver

I am on PI 7.11 and have a receiver soap comm. channel for accessing an external vendor's webservice. Their requirement is to use Web Services Security Username Token authentication scheme - as an example the soap message must look something like:

<?xml version="1.0" encoding="UTF-8"?>" xmlns:xsd="" xmlns:xsi="">

<soapenv:Header>" soapenv:mustUnderstand="1">">
















I would be interested in knowing how this type of soap msg / wss has been implemented by anyone. The SAP documentation at seems vague (at least to me it is). I saw another post (handling-soap-header-using-soap-receiver-adapter) thats comparable but not sure what the best way to go is - is it a combination of soap adapter Module settings, xslt mapping, Axis adapter or other approaches...

Any information on this is greatly appreciated.



Edited by: Keith Mollet on Apr 26, 2011 3:56 PM

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • Posted on Apr 26, 2011 at 03:43 PM

    Username token is one of the user authentication method in web service. SOAP adapter does not support this directly. Axis framework references open source api Apache axis which supports User name token.

    One option is to use Axis adapter and see you can able to create header with username token as you described. second option is use XSLT mapping and create SOAP Header for the username token.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi PI gurus.

      I followed the same steps as mentioned above. Getting error as

      Message processing failed. Cause: WSDoAllReceiver: security processing failed (actions number mismatch)

      Could you please help me on this?