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
  • 1.  Obtaining file name via file polling service

    Posted Tue August 29, 2006 09:54 PM

    (The FlatFile Polling documentation is sparse, so…)

    I’ve got a FilePolling adapter established, and have a service to invoke. I need to be able to obtain the file name of any file posted to the incoming directory, and then do something with it (read and process it, ftp it elsewhere, etc.). I can’t find any documentation regarding obtaining the file name, however. I can use getFile IF I know the file name, but therein lies the problem.

    The 4.6 File I/O adapter worked GREAT for this!

    Any ideas? Thanks.


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Obtaining file name via file polling service

    Posted Tue August 29, 2006 09:57 PM

    Ah, nevermind. I discovered how to do this via another post (previously unseen). Thanks!


    #webMethods
    #Adapters-and-E-Standards
    #Integration-Server-and-ESB


  • 3.  RE: Obtaining file name via file polling service

    Posted Tue August 29, 2006 11:41 PM


  • 4.  RE: Obtaining file name via file polling service

    Posted Wed August 30, 2006 02:41 AM

    Use pub.flow:getTransportInfo service to get the filename…

    HTH,
    RMG


    #Adapters-and-E-Standards
    #webMethods
    #Integration-Server-and-ESB


  • 5.  RE: Obtaining file name via file polling service

    Posted Wed August 30, 2006 08:21 AM

    I think it’s directly available in the pipeline. That is, the file name (fileName) is passed to the invoked service, along with original file name (originalFileName), ffdate, and Content-type.

    At least in IS 6.5 it’s there…

    To test, simply use savePipeline (or savePipelineToFile) in the invoked services, and examine the Pipeline (or Pipeline file)


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods