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 Error

    Posted Tue October 18, 2011 02:03 PM

    Hi all,

    Recently i downloaded file polling sample package from SAG. For this i only need to create to a file polling port and drop a flat file. But each time file is going to error directory. The flow step is:
    pub.io:streamToBytes
    pub.string:bytesToString
    pub.flow:debugLog

    input for this service is: ffdata of type object

    Please help me.

    Thanks,
    Tanveer


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: File Polling Error

    Posted Thu October 20, 2011 07:00 AM

    Do you have a save/restore pipeline in your code. If yes , thats taking your file to error dir. You cannot serialise stream objects.


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: File Polling Error

    Posted Fri October 21, 2011 12:14 AM

    hi,

    can you show us the the error message when you invoke the service?
    try to set the debug logging level for server to info or above, then rerun the service again.
    you can capture the error message from IS admin->logs->server

    show us the mapping of the pipeline for each of the service as well.

    make sure your file polling is configure to invoke the right service.

    to confirm your input received (ffdata), you can change your flow service to below,
    pub.flow:tracePipeline
    pub.io:streamToBytes
    pub.string:bytesToString
    pub.flow:debugLog


    #webMethods
    #Integration-Server-and-ESB