• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SOAP header missing from the message?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Screaming fools! It's nothing more than a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic