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.  Filepoller Processing Service

    Posted Mon March 02, 2009 02:38 PM

    Hello,

    i try to configure a filepolling directory and have configurated following service:

    • pub.io:streamToBytes (Input: ffdata as *Object)
    • pub.string:bytesToString
    • custom:SysOutString

    with the last one being a custom Java service that makes a simple System.out.println of the incoming string.

    Now when i am trying to configure the filepoller in administrator, i have a problem defining the processing service. Everytime i want to enable the filepoller, it says:

    Failed to start FilePollingListener:c:\webmethods7\data\flatfiles: [FPL.0003.0008] Invalid processing service ae.CustomServices.flatfileTest:pollFiles

    The described service is named “pollFiles” and resides in package “ae”, subfolders “CustomServices → flatfileTest”.

    What am i missing here? Thanks in advance.


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: Filepoller Processing Service

    Posted Mon March 02, 2009 09:22 PM

    Use CustomServices.flatfileTest:pollFiles instead of ae.CustomServices.flatfileTest:pollFiles

    Package name is not use when referencing IS objects.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: Filepoller Processing Service

    Posted Tue March 03, 2009 09:17 AM


  • 4.  RE: Filepoller Processing Service

    Posted Tue March 03, 2009 10:24 AM

    There is another problem…

    When i deploy a file in the polling directory, it vanishes and goes to the error-directory. The server console output is like this:

    2009-03-03 10:49:17 CET [FF.0001.0033C] Error processing service: [FPL.0002.0004] Server Error:

    But missing more information…

    I inserted a pub.flow:SavePipelineToFile -step as first step into the service, because you can not debug it as you can’t define a file to poll in debug-mode.
    As a filename value i defined “C:/pipeline.txt”, but there isn’t any file created.

    Is there any way to retrieve more information for this error?

    Thanks in advance.


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 5.  RE: Filepoller Processing Service

    Posted Wed March 04, 2009 05:03 AM

    Provide only the filename. It will be saved in the system where webMethods is installed…

    Location: webMethods7\IntegrationServer\pipeline folder.

    Senthil


    #Flow-and-Java-services
    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: Filepoller Processing Service

    Posted Fri August 21, 2009 09:45 AM

    Using file polling port mechanism, I want to retain the file in the monitoring directory.
    Could you please if this is possible?

    Scenario: We have a folder where in lot of files come in. Using file polling mechanism, we want to get the names of the files arrived (not the file content). The file should remain in the same directory where it arrived.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 7.  RE: Filepoller Processing Service

    Posted Fri August 21, 2009 03:28 PM

    How will you distinguish between the newly arrived files and the files that were already there? If you’re simply after the list of files then the file polling port may not be the right mechanism to use. To my knowledge, it isn’t possible to use the file polling port and have it leave the files in the polled directory. It will move them to the done or error directory after the service has been invoked.


    #Integration-Server-and-ESB
    #webMethods
    #Flow-and-Java-services


  • 8.  RE: Filepoller Processing Service

    Posted Wed May 18, 2011 08:47 PM