how to put xml messages in different folders

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › how to put xml messages in different folders

Viewing 0 reply threads
  • Author
    Posts
    • #18279

      Hi!

       I have a web service that the response is a xml message, and i want to put the message in two diffent folders, for exemple, if an error occur i want to put the message in a folder named Error, but if the message is success i want to put the message in a folder Success.

      Response of the web service if an error occur:

      <?xml version="1.0"?>
      <MSG xmlns="http://MsgResponseWSHL7Format">
        <MSGTYPE>ERROR</MSGTYPE>
        <MSGID>279372</MSGID>
        <MSGORIGIN>WEB_SERVICE_NAV</MSGORIGIN>
        <MSGDESTINATION>SONHO</MSGDESTINATION>
        <MSGDATETIME>20071026142440</MSGDATETIME>
        <DATA>TIMEOUT</DATA>
        <MSGRESPONSE>
          <MSGTYPERESPONSE>OUT_INTERALERT</MSGTYPERESPONSE>
          <IDRESPONSE>ADT_A04</IDRESPONSE>
        </MSGRESPONSE>
      </MSG>

      Response of the web service if is success:

      <?xml version="1.0"?>
      <MSG xmlns="
      http://MsgResponseWSHL7Format">
        <MSGTYPE>SUCCESS</MSGTYPE>
        <MSGID>279372</MSGID>
        <MSGORIGIN>WEB_SERVICE_NAV</MSGORIGIN>
        <MSGDESTINATION>SONHO</MSGDESTINATION>
        <MSGDATETIME>20071026142440</MSGDATETIME>
        <DATA>TIMEOUT</DATA>
        <MSGRESPONSE>
          <MSGTYPERESPONSE>OUT_INTERALERT</MSGTYPERESPONSE>
          <IDRESPONSE/>
        </MSGRESPONSE>
      </MSG>

      I only thing that is different is the <MSGTYPE>, success or error…

      My orchestration is liki this:

      can some one help how i can filter the messages to diferent folders using the response of the web service?

      can some one help how i can filter the messages to diferent folders using the response of the web service?

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