locked
Can the processed XML file be saved to a specific folder? RRS feed

  • Question

  • can we store the processed XML file to a specific folder

    means the messages which are received by the receive folder can be routed to different folder? for references in future

    how can we do that in Biztalk

     

    waiting for reply

    Regards

    Madhusudhan


    madhusudhan
    Friday, March 11, 2011 6:42 AM

Answers

  • Simply create a send port and have a filter BTS.ReceivePortName = <your receive port name>. Make that send port point to the folder you like by configuring the FILE adapter properties. That's all.
    Please mark as answer if this helps you. Thanks and warm regards Ambar Ray Solution Architect - Microsoft Technologies
    Friday, March 11, 2011 8:19 AM
  • create a send port and define  a filter BTS.ReceivePortName ="your Receive port Name". define the address that send port need to save files to speccific folder by giving the path in the FILE adapter properties.

    Note :if you configure more than one receive locations in one receive port . it receives all the files wich received from different receiving locations will store into folder.

    define a additional filter with message type to pick only specific type of xml files in send port configuration.

    Ex:

    BTS.ReceivePortName="ReceivePortName" and

    BTS.MessageType="Namespace#rootNode".

    Friday, March 11, 2011 11:53 AM
  • Hi Madhusudhan,

    At least there are 3 ways to accomplished this...

    The simple way:

    • Like Ambar and Srikanth post before: Create a send port and define  a filter BTS.ReceivePortName ="your Receive port Name" and maybe specify the MessageType if you want.

    However you might have several receive locations and want to specify a different directory for each one, then other option is:

    The hard way:

    • In the limit you can make in this process orchestration, send the received message to a send port (specified later)

    Sandro Pereira Blog: http://sandroaspbiztalkblog.wordpress.com/ Please mark as answered if this answers your question.
    Friday, March 11, 2011 3:50 PM
    Moderator

All replies

  • Madhusudhan,

                        I am not sure if I understood your question well.

    If you are asking if the received file (picked from folder 1) can be saved to folder2, then yes. In send_port1 you can use FILE adapter  point to folder2, you can save the received message.

    If you are asking if the received file (picked from folder1), being processed by a send_port1 can be saved to folder2, then Yes. One option would be to  have second send port subscribing to the same receive port(which contains receive location picking file from folder1). Map the send_port2 to the location you want to use for saving/archiving.

    Is this what you are looking for?

     

     


    SRG
    Friday, March 11, 2011 8:19 AM
  • Simply create a send port and have a filter BTS.ReceivePortName = <your receive port name>. Make that send port point to the folder you like by configuring the FILE adapter properties. That's all.
    Please mark as answer if this helps you. Thanks and warm regards Ambar Ray Solution Architect - Microsoft Technologies
    Friday, March 11, 2011 8:19 AM
  • create a send port and define  a filter BTS.ReceivePortName ="your Receive port Name". define the address that send port need to save files to speccific folder by giving the path in the FILE adapter properties.

    Note :if you configure more than one receive locations in one receive port . it receives all the files wich received from different receiving locations will store into folder.

    define a additional filter with message type to pick only specific type of xml files in send port configuration.

    Ex:

    BTS.ReceivePortName="ReceivePortName" and

    BTS.MessageType="Namespace#rootNode".

    Friday, March 11, 2011 11:53 AM
  • Hi Madhusudhan,

    At least there are 3 ways to accomplished this...

    The simple way:

    • Like Ambar and Srikanth post before: Create a send port and define  a filter BTS.ReceivePortName ="your Receive port Name" and maybe specify the MessageType if you want.

    However you might have several receive locations and want to specify a different directory for each one, then other option is:

    The hard way:

    • In the limit you can make in this process orchestration, send the received message to a send port (specified later)

    Sandro Pereira Blog: http://sandroaspbiztalkblog.wordpress.com/ Please mark as answered if this answers your question.
    Friday, March 11, 2011 3:50 PM
    Moderator
  • Create a send port with the receive port as filter criteria. That should do it.
    --------------------------------------
    Mark As Answer or Vote As Helpful if this helps.
    Monday, March 14, 2011 11:24 AM