none
BizTalk Orchestration Query RRS feed

  • Question

  • Hi All,
    I have a BizTalk Orchestration question.
    I am receiving Xml as Input which i used to invoke SAP RFC ..In my senario i have 5 SAP servers..
    for one of them i need to amend input Xml i.e i need to add a tag
    - <ns0:Z_BC_XXXX_Request xmlns:ns0="http://schemas.microsoft.com/BizTalk/2003">
    
      <ZFILENAME /> 
    
      </ns0:Z_BC_XXXX_Request>
    And i need to amend it to ..
    - <ns0:Z_BC_XXXX_Request xmlns:ns0="http://schemas.microsoft.com/BizTalk/2003">
    
      <ZFILENAME /> 
    
    <CC>3000</CC>
    
      </ns0:Z_XXXX_Request>
    The input Xml would be common just for one SAP server i need the above Xml..
    I am using paralled path to divert Xml to different SAP Servers..

    I achieved to get the above Xml with CC node but i need to set value as 3000 to it that i thought can be done at construct message shape..
    But in parallel shape i can't modify the value it says with error while building that this parallel shape should be in atomic or synchronised scope..
    I like to know if i include parallel shape in syncronised scope will value in other branches also get affected...


    How can i achieve this to change the schema of Xml in Orchestration.



    Thanks
    Sandeep
    Tuesday, July 21, 2009 5:26 AM

Answers

  • Hi Rohit,
    That probelm has been solved...
    i used the message M2 but with same schema which is having CC tag the i used xpath to set value 3000..

    Anyways Thanks..
    Sandeep
    • Marked as answer by Sandeep.Handa Thursday, July 23, 2009 10:40 AM
    Thursday, July 23, 2009 10:40 AM

All replies

  • Not reaslly able to understand how the orchestration looks like.
    Can you share it(or a snapshot) somewhere ?


    Let's say, we receive a messsage (m1) conforming to

    <ns0:Z_BC_XXXX_Request xmlns:ns0="http://schemas.microsoft.com/BizTalk/2003">

      <ZFILENAME />

      </ns0:Z_BC_XXXX_Request>

    .

    We can use a transform shape(using a map),  to create another message (m2) conforming to

     <ns0:Z_BC_XXXX_Request xmlns:ns0="http://schemas.microsoft.com/BizTalk/2003">

      <ZFILENAME />

    <CC>3000</CC>

      </ns0:Z_XXXX_Request>

    and then, send the messages to the requisite SAP servers.

    I am not able to understand where the problem is.


    -Rohit
    Thursday, July 23, 2009 7:38 AM
  • Hi Rohit,
    That probelm has been solved...
    i used the message M2 but with same schema which is having CC tag the i used xpath to set value 3000..

    Anyways Thanks..
    Sandeep
    • Marked as answer by Sandeep.Handa Thursday, July 23, 2009 10:40 AM
    Thursday, July 23, 2009 10:40 AM