sending SOAP Msg with header using HTTP, how to create a soap msg before sending it out?

Home Page Forums BizTalk 2004 – BizTalk 2010 sending SOAP Msg with header using HTTP, how to create a soap msg before sending it out?

Viewing 1 reply thread
  • Author
    Posts
    • #19618

       Hi There,

      I need to send a SOAP request using HTTP to a link. The link is not a valid web service, can only accept a valid
      xml document.

      I’ve created SOAP Header and Message body according to their WSDL. I suppose the Soap Header and body will combine together if i use the SOAP adapter to send to a web service. Since i can only use the HTTP, then the message should be created before sending it out.

      Well, i think i can use multi-part message, but how can i wrap the whole message using <soapenv:Envelope>.

      Or should i create an C# Class project, to create a whole valid SOAP message by passing the Header and Body as parameters?

      Can anyone show me the direction.

      Thanks Heaps,
      Merry

    • #19713

       

      You might be able to still use the SOAP Adapter.  I think I have in this type of scenario.

      Then, you can use the Soap Header Context Property to set your headers and the message will get formatted correctly. 

      Might be worth a try first. 

      Otherwise, could you use a map inside BizTalk to map to your full schema that includes the SOAP Headers?   Then, send that full message via HTTP?

      • #19716

         Yes, SOAP Adapter works in this case.

        A typo casued SOAP Header wasn’t created so that i kept getting HTTP 500 Error. All sorted now.

        Thanks,

        Merry

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