How to create SOAP Header

Home Page Forums BizTalk 2004 – BizTalk 2010 How to create SOAP Header

Viewing 1 reply thread
  • Author
    Posts
    • #19479

      I need to consume a webservice, after adding the web reference, i found all complex web message parts are added to Reference.xsd as root elements. It also contains root elements for each defined SOAP header. I know they are SOAP header only because i was sent a sample XML file that the webservice expecting.

       While creating a map, i can only map things with message parts. So i can create message parts using map and construction in Orchestration.

       And i can create the SOAP Header part using message assignment and steps like below:

      • create a property schema using target namespace of http://schemas.microsoft.com/Biztalk/2003/SOAPHeader
      • the root name in the property schema should match the root element in Reference.xsd (But in Reference.xsd, it’s a root record
      • assign the XML Part of the SOAP Header as a string to the property

      Then my question is how to combine them together as the sample XML file that the webservice requires?

      Thanks,

    • #19508

      Hi MerryHe,

       You may make use of this blog entry.

      Mike

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.