locked
Forwarding HTTP post from one Http adapter to another Http adapter RRS feed

  • Question

  • Hi,

      is it possible to  forward a Http Request from one Http adapter to another Http adapter within same solution?

     I am facing a situation where I need to transfer the request to different Http adapters based on the content of the message.

    Wednesday, August 7, 2013 10:29 AM

Answers

  • Hi Chinni,


    From what I understand:

    So you have two http receive location and orchestration respectively. You get message on http location 1 and depending on some content you want it to be further processed by Orchestration associated with http location 2.

    Then yes it is possible. 

    For that you will have to promote the field which holds the decider content(content depending on which you want to forward ). And use this field as a filter on the first receive shape of the second orchestration.


    I hope this helps!!!!!! Please mark as Helpful. If this answers your question, please mark it as "Answered". It will help to reduce visits to same post as it's already answered and will help guys with same question as yours without even posting it . Maheshkumar S. Tiwari|Team lead/Consultant(EDI/EAI)|iVision Software Pvt Ltd, Pune.

    Thursday, August 8, 2013 3:27 PM

All replies

  • Yes, you can.

    There is no restriction for processing a message based on protocol. BizTalk works based on subscriptions. A subscription which receives a message from one HTTP adapter is different to the subscription where you want to forward to.


    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful.


    Wednesday, August 7, 2013 11:37 AM
  • I think you;re confusing the recieveing of the message (HTTP Receive port) with the handling of the message (orchestration). There is only one adapter. This adapter handles multiple receive locations. Each receive location publishes the message to the MessageBox (<TargetNamespace>#<Schema Root Element>#<Correlation Set>)

    So if your orchestration is published with a message filter, irrespective of the mode of transport or "http adapter", this orchestration will be invoked whenever its filter condition is complied with.

    Regards.

    Wednesday, August 7, 2013 12:17 PM
  • Hi Chinni,


    From what I understand:

    So you have two http receive location and orchestration respectively. You get message on http location 1 and depending on some content you want it to be further processed by Orchestration associated with http location 2.

    Then yes it is possible. 

    For that you will have to promote the field which holds the decider content(content depending on which you want to forward ). And use this field as a filter on the first receive shape of the second orchestration.


    I hope this helps!!!!!! Please mark as Helpful. If this answers your question, please mark it as &amp;quot;Answered&amp;quot;. It will help to reduce visits to same post as it&#39;s already answered and will help guys with same question as yours without even posting it . Maheshkumar S. Tiwari|Team lead/Consultant(EDI/EAI)|iVision Software Pvt Ltd, Pune.

    Thursday, August 8, 2013 3:27 PM