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.  File Polling

    Posted Fri January 12, 2007 07:56 AM

    Hi All,

    I am facing a problem when i am doing a filepolling …

    I have a service which converts flatfile to UN/EDIFACT.
    I have configured a file polling port according to ISAdmin guide.

    Setings for filepolling adapter are like this:

    Monitoring directory:\Servername.…\INPUT
    writeEdit(‘view’, ‘fileNameFilter’, ‘FFINVRPT.txt’);
    File Name Filter :Flafile.txt

    Processing Service:MY service name(copied from developer)

    Now the problem is when I place my input file in the defined folder(Monitoring Directory) then filepolling is throwing an error saying “[ISP.0090.0004C] sample.IO – Error: fileContent object is not in the pipeline!!”.

    I am not able to understand whether filepolling is looking for filename or filecontent with the above error.

    And also can you please explain me how internally will the filepolling concepts work with my above settings to get a clear picture.

    THANKS IN ADVANCE…


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


  • 2.  RE: File Polling

    Posted Sat January 13, 2007 12:30 AM

    raffim,

    What is your receving service input set to?? It should be ffdata (stream object) to extract the ff content (stream)and your flow steps will be:

    streamtobytes(map ffdata to stream)
    bytesToString
    flatfile:convertToValues

    PS:make sure you set Content Type (optional): application/x-wmflatfile

    check this thread as well
    [URL=“http://wmusers.com/forum/showthread.php?t=4793”]wmusers.com

    HTH,
    RMG


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


  • 3.  RE: File Polling

    Posted Sat January 13, 2007 05:49 AM

    Hi raffim,

    rmg is right about the same, but also make sure your acl privillages are in place to the same in developer for the service and in the setting in the FilePolling ports page.

    The content type is optional if ur handling text then you can use txt in the Content Type option.

    Hope this helped.

    reg,
    nightfox


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


  • 4.  RE: File Polling

    Posted Mon January 15, 2007 04:52 AM

    Thank you all it is working fine now…

    –Rafi


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