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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  File Polling API

    Posted 06/04/03 07:56 AM

    WM has lumped in file polling as another PORT on the box. So, from my perspective, I can poll for files and only receive an input stream. Does anyone know of an API that can provide the FILE DETAILS like size, name, timestamp, etc.? If I use my own custom file poller, I have all of the information available.

    Thanks.

    Ray


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


  • 2.  RE: File Polling API

    Posted 06/04/03 03:48 PM

    Hi Ray,

    I used wm6.0 a couple months back so bear with me, but I believe you get some of that info like the originalFilename in the pipeline (do a tracePipeline at the top and have your file polling service triggered to check what’s in the pipeline). I think I did a ‘pub.flow:getTransportInfo’ call to get more info.

    Will


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


  • 3.  RE: File Polling API

    Posted 06/04/03 10:08 PM

    Will,

    Good catch on this one. I have to call pub.flow:getTransportInfo and then pub.flow:transportInfo. Thanks again.

    Ray


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