Custom Pipeline Component Adding Rootnode and NameSpace

Home Page Forums BizTalk 2004 – BizTalk 2010 Custom Pipeline Component Adding Rootnode and NameSpace

Viewing 1 reply thread
  • Author
    Posts
    • #21584

      Hi Gurus,

                       I am Sending message to the client using HTTP Post and using request-response Solicit HTTP Adaptor, When I send Request Message to the client If everything works fine Client Sends me Response Back to us and BizTalk is picking it up, The problem is if anything goes wrong like Request Message Not valid or Authentication Fails then Client is sending XML message <? xml….><Error>Error Message</Error>

      Which does not pertain to my Respose schema hence its Failing,

      Does anybody came across this scenario?

      Possible solutions what I am thinking is 

      1)Writing custom pipeline compoent at receive side which can add nameSpace and Rootnode to the Incoming message  So that BizTalk can Pick it up.

      2)Bounding Receiving XML Message as XmlDocument So that BizTalk Will pick that message without validating it.

      Is there any other approach  you guys can think of?

      Thanks

      BABA

    • #21607

      I think your idea of using an Xml.XmlDocument as the receive type would most likely provide the most flexibility.  Then on the response you could see what the root node is and handle it appropriately. 

      • #21641

        But the problem is If I use generic  Xml.XmlDocument  for the incomming message then there is a potential risk that biztalk can receive any type of message and my Xpaths and custom logic will fail there.

        Hay Guys, Please suggest any better approach for this..

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