IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

How to Deliver a document to FTP location?

  • 1.  How to Deliver a document to FTP location?

    Posted Sat July 14, 2007 12:46 AM

    Hi,

    I want to deliver a XML file to the trading partner’s FTP location via TN. I want to use Primary FTP delivery method for the same. I have my XML file as a string. Can anyone let me know the steps to push the XML string from Developer to TN and the to FTP location of the Partner?

    Thanks,
    Aqua


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 2.  RE: How to Deliver a document to FTP location?

    Posted Sat July 14, 2007 12:55 AM

    By the way I am using webMethods 4.6


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: How to Deliver a document to FTP location?

    Posted Sat July 14, 2007 04:42 AM

    You can have a FTP delivery method setup for the partner in the partner’s profile and provide the FTP info (host, port, location, username, pass).


    #webMethods
    #B2B-Integration
    #Integration-Server-and-ESB


  • 4.  RE: How to Deliver a document to FTP location?

    Posted Sat July 14, 2007 04:46 AM

    “Can anyone let me know the steps to push the XML string from Developer to TN and the to FTP location of the Partner”

    Pls review the “TradingNetworksUserguide” for more information on this setup…Here is a brief info to do:

    1.Invoke wm.tn.doc.xml:routeXML service in your custom flowservice for routing document to TN
    2.configure the TN partner profile (ext id’s,setup Delivery Method-PrimaryFTP configuration),DocumentType,Processing Rule(sender/receiver/doctype criteria) and in the processing action tab select delivery method as above.With the following setup it will let your document send to the trading partner using FTP delivery.

    HTH,
    RMG


    #webMethods
    #Integration-Server-and-ESB
    #B2B-Integration


  • 5.  RE: How to Deliver a document to FTP location?

    Posted Sat July 14, 2007 08:07 PM

    Thanks a lot RMG & YLO.

    1. I have configured that. But while I posting the XML, it is showing “STOR command failed” error. Is this because of any authentcation in the target FTP location?

    2. And I want to give any name for the XML file, which will be stored in the FTP location, how to do that?


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: How to Deliver a document to FTP location?

    Posted Sun July 15, 2007 05:51 PM
    1. And I want to give any name for the XML file, which will be stored in the FTP location, how to do that?-- There is no option for setting custom filename if you are using primaryFTP…unless you use pub.client:ftp services you can set filename as you wanted.

    But i am not sure about your query 1.But it could be related to ftp problem…“as FTP couldn’t STOR file.The server denied the STOR operation”…Please check with your remote FTP server operations team.

    HTH,
    RMG


    #Integration-Server-and-ESB
    #B2B-Integration
    #webMethods


  • 7.  RE: How to Deliver a document to FTP location?

    Posted Mon July 16, 2007 05:45 AM

    If you want to use TN for delivery, and want to specify a specific filename format, you’ll need to create a custom FTP TN delivery service. See the TN docs for creating custom TN delivery services.


    #B2B-Integration
    #Integration-Server-and-ESB
    #webMethods


  • 8.  RE: How to Deliver a document to FTP location?

    Posted Mon July 16, 2007 06:55 PM


  • 9.  RE: How to Deliver a document to FTP location?

    Posted Mon July 16, 2007 11:03 PM

    Hi,

    “command STOR failed”

    This might be because of the following reason.

    I am not giving any filename for the XML string I am passing. If I do so, the ftp will be expecting some name to store the file in the particular location, right?

    I am following the stpes below,

    1. Receive XML
    2. Conert to node
    3. routeXML
    4. Processing rule - Primary FTP

    Any clues?


    #Integration-Server-and-ESB
    #webMethods
    #B2B-Integration