Save received file into local hard drive with receiving location BTSHTTPReceive.dll

Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Save received file into local hard drive with receiving location BTSHTTPReceive.dll

Viewing 1 reply thread
  • Author
    Posts
    • #20083

       Hi all,

      We are testing to receive AS2 EDI 850 from our vendor.  Just wonder the setting below will receive the AS2 EDI850 from vendor and save to our hard drive. 

      1. Build & deploy schema, x12_0403_850

      1. Receive port: One way receive port

      2. Receive Location:

                 2.1 Type HTTP – /<VD>/BTSHTTPReceive.dll    

                 2.2 Receive Pipeline: AS2EDIReceive

      3. Static one way send port:

                 3.1 Send 997 to Vendor:    Type: HTTP    Destination URL: //http:xxx.xxx.xxx.xx:5080 Pipeline: AS2EDISend 

                 3.2 Send xml_file from vendor and save to HD:  Type: File  Destination folder C://850   Pipeline: Pass Through

      4. Setup AS2 EDI party

      Thanks  – Andre

       

       

       

       

    • #20084

      Hi Andre,

      You could try using my Message Archiving pipeline component which is available over on Codeplex (http://www.codeplex.com/btsmsgarchcomp), which is used in the decode (and encode) stage of the pipeline to write the contents of the message (flat-file, xml or binary) to either the local hard disk or a UNC share (given sufficient permissions); the component is written using a forward only event stream which is about as efficient as you can get.

      However, you will need to create a custom pipeline to use this component, the custom pipeline will also need the AS2/EDI disassembler component to disassemble the EDI document.

      Alternatively, you could create a Send Port that subscribes to the disassembled Xml representation of the message (e.g. on the Receive Port Name) and using the FILE adapter send the message to a file or UNC location, however you will only get the Xml representation, not the original message and you will incur the IO of passing through the Message Box.

      Hope this helps, Nick.

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