Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

How to pass custom properties to SOAP request header from Pega

SA-5895

Summary



How to add the following WSSE security properties to outgoing SOAP envelop from Connect-SOAP?
     <soap:Header>
         <wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/07/secext">
               <wsse:UsernameToken xmlns:wsu="http://schemas.xmlsoap.org/ws/2002/07/utility">
                       <wsse:Username>TESTUSER</wsse:Username>
                       <wsse:Password Type="wsse:PasswordText">TESTPASS</wsse:Password>
              </wsse:UsernameToken>
         </wsse:Security>
    </soap:Header>

Resolution



Perform the following local-change:
  1. Inside Connect-SOAP's Request Tab, pass the custom property that must be added to the request header of the SOAP envelop to the Map From Key text box within double quotes.
  2. Choose Constant for Map From text box.

Published August 1, 2016 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice