I have a requirement to add SOAP header as shown below, while making a SOAP call using SOAPClient action. My problem is all the information I need to build the header is located in the jboss-esb.properties file and in the parameter map. Parameter map object for building the SOAP Body doesn't contain this information. My question is how I should make this happen using SOAPClient action. I looked at the given examples and it looks like there is a provision for smooksHandler config to create SOAP Headers but not getting any clue.
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Header>
<UserAuthInfo xmlns="http://realpage.com/webservices">
<UserName>string</UserName>
<Password>string</Password>
<SiteID>xxxxx</SiteID>
<PmcID>xxxxx</PmcID>
</UserAuthInfo>
</soap:Header>