Hi Minal,
Use below XSLT mapping after your message mapping.
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:template match="/"> <soap:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Header> <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"> <wsse:UsernameToken> <wsse:Username>User</wsse:Username> <wsse:Password>Password</wsse:Password> </wsse:UsernameToken> </wsse:Security> </soap:Header> <soap:Body> <xsl:copy-of select="*"/> </soap:Body> </soap:Envelope> </xsl:template> </xsl:stylesheet>
Enable Do Not Use SOAP Envelope in soap receiver adapter
Regards,
Praveen