Skip to Content
0
Former Member
May 17, 2010 at 11:58 AM

SOAP Header in SOAP Receiver adapter

477 Views

Hi All,

I am doing a Proxy to Webservice scenario where webservice requires the SOAP request as below.

<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Header>

<mh:CustomHeader xmlns:mh="http://schemas.test.com/customHeader">

<mh:MessageData>

<mh:MessageId>12345</mh:MessageId>

<mh:Timestamp>2004-06-09T14:41:44Z</mh:Timestamp>

</mh:MessageData>

</mh:CustomHeader>

<wsse:Security xmlns:wsse="http://schemas.xmlsoap.org/ws/2002/04/secext">

<wsse:UsernameToken>

<wsse:Username>test</wsse:Username>

<wsse:Password>test123</wsse:Password>

</wsse:UsernameToken>

</wsse:Security>

</SOAP-ENV:Header>

<SOAP-ENV:Body>

.......

</SOAP-ENV:Body>

Need your help to understand how can we achieve this using Standard SOAP adapter to customize the Header part as it requires to include "<mh:CustomHeader " & "UsernameToken".

Or Do i need to go for adapter module development to create this SOAP request.

Please provide your suggestion to achieve this scenario.

Thanks & regards

Ashwin

Edited by: ashwin dhakne on May 17, 2010 5:32 PM