none
confusion about Http

    Question

  • I have one confussion related http receive.

    Secnario:-I have to receive messages from http ..I have two confusion about the same

    1-if we receive a msg from third vendor through http will automatically http send acknowledgement to that third party.?

    2-If yes can we modify that message..?

    Please advise me.

    Thanks

    Manoj

    Monday, April 16, 2012 1:51 PM

Answers

  • Hi Manoj,

    Paulo Salvatori posted this article on implementing your requirement without using an orchestration.  This would allow you to send an ACK with different content to the request in a pure messaging scenario.

    Alternatively, with the HTTP adapter you can do a loopback (configured on the receive location) and send the client's request straight back to them without you having to plumb up a specific response message.

    Greg


    Tuesday, April 17, 2012 6:31 AM

All replies

  • Hi

    I think in this case you will need to expose your orchestration as web service. The vendor will hit the web service url using HTTP protocol.

    Once you expose the service as web service you will have a complete control over request and response (ack.) If you want to customize the response, You can simply modify the .cs code of the webservice whcih is exposed,.

    Whcih version of BizTalk you are using?

    Are you trying to do Fire/Forget type of thing or fire and wait for some response from BizTalk.

    If you are planning for Fire/Forget then You woould need to modify the code which gets generated once you expose your orchestration as webservice and need to send your custom response/ack to the vedor.

    Both can be achieved IMO.

    Check this BizTalk Server 2006 Web Services for more details


    HTH,
    Naushad Alam

    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer
    alamnaushad.wordpress.com
    My new TechNet Wiki "BizTalk Server: Performance Tuning & Optimization"


    Monday, April 16, 2012 1:59 PM
    Moderator
  • Manoj, if you want to send a response back to the sender then you need to use two-way receive port. For example on how to do it using HTTP adapter refer to this post.

    Please mark the post answered your question as answer, and mark other helpful posts as helpful, it'll help other users who are visiting your thread for the similar problem, Regards -Rohit Sharma (http://rohitt-sharma.blogspot.com/)

    Monday, April 16, 2012 2:17 PM
    Moderator
  • I have one confussion related http receive.

    Secnario:-I have to receive messages from http ..I have two confusion about the same

    1-if we receive a msg from third vendor through http will automatically http send acknowledgement to that third party.?

    2-If yes can we modify that message..?

    Please advise me.

    Thanks

    Manoj

    Hi,

    I am not sure if I get this correctly but there will no automatic acks. You will have to configure one or you can always use a request response port and by using this you can modify the response message.


    Regards,
    Bali
    MCTS: BizTalk Server 2010,BizTalk Server 2006 and WCF
    My Blog:dpsbali-biztalkweblog
    -----------------------------------------------------
    Mark As Answer or Vote As Helpful if this helps.

    Tuesday, April 17, 2012 5:48 AM
  • Hi Manoj,

    Paulo Salvatori posted this article on implementing your requirement without using an orchestration.  This would allow you to send an ACK with different content to the request in a pure messaging scenario.

    Alternatively, with the HTTP adapter you can do a loopback (configured on the receive location) and send the client's request straight back to them without you having to plumb up a specific response message.

    Greg


    Tuesday, April 17, 2012 6:31 AM