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

Integration Server 46 FTP Polling does not work

  • 1.  Integration Server 46 FTP Polling does not work

    Posted Fri March 19, 2004 02:28 PM

    Hello,

    I want to send a text file via FTP to the Integration Server. I’ve written a Flow which has ffdata as binary Input Variable.

    If I connect to the flow via FTP and poll the textfile I got the following error message from the IS:
    “150 Binary mode data connection for orders.txt (127.0.0.1,1029).
    550 [B2BSERV.0071.9014] Server Error: [B2BSERV.0086.9167] stream is a required field”

    It seems, that ffdata has not been set with the datastream I send via ftp to the flow.

    Exactly the same flow does work correctly on IS 6.01 and 6.1.

    Perhaps the name of the input variable ffdata is not the same as in IS 6.x ???


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods


  • 2.  RE: Integration Server 46 FTP Polling does not work

    Posted Fri March 19, 2004 02:45 PM

    In IS 4.6 the input variable should be node (stream) object.
    please try this.It will work.

    HTH,


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport


  • 3.  RE: Integration Server 46 FTP Polling does not work

    Posted Fri March 19, 2004 03:28 PM

    Hi HTH,

    node does not work. I´ve already tried it out. The node object is used for polled xml documents only.

    Regards,
    Steven.


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods


  • 4.  RE: Integration Server 46 FTP Polling does not work

    Posted Fri March 19, 2004 03:51 PM

    please also try with (content) stream object.yes Node is totally used for receving XML files.

    HTH.


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: Integration Server 46 FTP Polling does not work

    Posted Fri March 19, 2004 04:02 PM

    Pls also try with (contentStream)variable and in the flow service first step would be streamToBytes.

    Thanks,


    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: Integration Server 46 FTP Polling does not work

    Posted Fri March 19, 2004 05:26 PM

    Hi RMG,

    thank you. This works with binary data!

    Steven.


    #webMethods
    #webmethods-Protocol-and-Transport
    #Integration-Server-and-ESB


  • 7.  RE: Integration Server 46 FTP Polling does not work

    Posted Fri March 19, 2004 05:30 PM

    thats Cool…yes while FTPing we need to have transfermode=binary.

    BTW finally what is the input that you have used?

    Regards,


    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport
    #webMethods


  • 8.  RE: Integration Server 46 FTP Polling does not work

    Posted Fri March 19, 2004 06:34 PM

    I’ve used a text file that comes from an external System. This file will be transferred automatically via ftp from the external system to the Integration Server. The text file contains data to be faxed and has the file extension .fax

    It’s sort of weird, that the file extension ‘.fax’ results in the IS error “553 ‘file23290.fax’: cannot write”. I must rename the extension into txt, xls or somewhat else, before ftp uploading the file into the IS.

    Regards,
    Steven.


    #webMethods
    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport


  • 9.  RE: Integration Server 46 FTP Polling does not work

    Posted Fri March 19, 2004 06:59 PM

    webMethods IS can accept even .txt or .dat files.(text/plain).
    So is still the problem exists?

    Regards,


    #webmethods-Protocol-and-Transport
    #webMethods
    #Integration-Server-and-ESB


  • 10.  RE: Integration Server 46 FTP Polling does not work

    Posted Fri March 19, 2004 09:03 PM

    The problem is solved, because I rename the file extension to .txt before polling it to the IS.

    Regards,
    Steven.


    #Integration-Server-and-ESB
    #webMethods
    #webmethods-Protocol-and-Transport


  • 11.  RE: Integration Server 46 FTP Polling does not work

    Posted Tue April 13, 2004 05:13 AM

    you could also set MIME.type to solve
    “553 ‘file23290.fax’: cannot write”
    issue
    IS can accept any file extension as long as you set the MIME type for the server to recongize. contentStream is the object for your content handler.


    #webMethods
    #Integration-Server-and-ESB
    #webmethods-Protocol-and-Transport