• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

SOAP header missing from the message?

 
Greenhorn
Posts: 1
  • 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.
 
I was her plaything! And so was this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic