• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SOAP header missing from the message?

 
swarada deshpande
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I am new to WID and WPS application development.
Today I came across a situaion where in I need your help to figure out if am I going wrong anywhere.

For testing purpose I have 2 mediation flows and a webservice.
All of these have SOAP1.1 import and export interfaces.

Mediation1 -imports->Mediation2 -imports-> Webservice

In the Mediation1 module implementation after the input terminal "SOAP Header Setter" node is added. Using the "Create" functionality I created one elemnt under SOAPHeader and set it to some default value. Trace node followed by the "SOAP Header Setter" node confirms that header property got added.
---
---
</SMOHeader>
<SOAPHeader>
<nameSpace>http://TestSOAPHeader</nameSpace>
<name>SOAPProperty</name>
<prefix>sph</prefix>
<value xsi:type="test:SOAPProperty">
<Prop>RST</Prop>
</value>
</SOAPHeader>
<HTTPHeader>
---
---
This message is passed to Mediation2 flow using its Web Service Binding SOAP1.1 export.
In Mediation2 flow implementation I have put another trace node immediately followed by the input terminal.
However I do not see the added "SOAPHeader" in the trace file. I can still see SMOHeader, HTTPHeader, BODY etc.And thus when I try to find SOAPHeader -> SOAPProperty I find nothing.

On the import and export terminals I have already checked the setting for propogate webservice header/user context/system context.Is there any other setting I should do for SOAP header to appear in the Mediation2 flow?

Please help me guys, I am stuck at this for quite a long time now.

Thanks in advance for your help.
Regards,
Swarada.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic