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 Port not working

    Posted 07/15/15 10:01 AM

    Hi
    I create a new file polling port on a directory where I expect xml files.

    My processing service has one input parameter: node from type object
    I configured also the following items:
    Content type = text/xml
    Monitoring directory: C:\Temp\polling\ap
    Work : C:\dirk\polling\ap\work
    Completion : C:\dirk\polling\ap\compl
    Error : C:\dirk\polling\ap\error

    The service is picking up the file and moves it into the completion directory.

    The input parameter node of my service is always “null”

    Please advise do I oversee something…

    Regards Dirk


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


  • 2.  RE: File Polling Port not working

    Posted 07/15/15 11:30 AM

    Plz share more details and also screen shots.

    Thanks,


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


  • 3.  RE: File Polling Port not working

    Posted 07/15/15 11:38 AM

    Hi
    Attached the requested Screen shots.

    Dirk
    FilePollingProblem.docx (208 KB)


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


  • 4.  RE: File Polling Port not working

    Posted 07/15/15 12:48 PM

    Dirk,
    What exactly you are going to do ? What’s your business ? I am really didn’t understand your requirement. Please explain.

    Thanks,


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


  • 5.  RE: File Polling Port not working

    Posted 07/15/15 03:19 PM

    Please have a look at the IS-Administrators-Guide.

    Eventually there is separate documentation about FilePollingPorts.

    Which version of IS are you running on?

    Is there any other variable in the pipeline instead of “node”?
    If so, change your Input signature of the service to this name and use its content subsequently.

    Regards,
    Holger


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


  • 6.  RE: File Polling Port not working

    Posted 07/16/15 11:35 PM

    please use pub.flow:getTransportInfo as your first invoke step in your process service. The you can manipulate the file.


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


  • 7.  RE: File Polling Port not working

    Posted 07/21/15 12:44 PM

    Thanks for all replies, I got it working however not as espected.
    I had used filename filter and Content-Type this should be XOR.

    The other problem is when I used text/xml as content type the xml could not be converted into a document.
    Althought I got a node the transformation didn’t work for our content.

    I use now application/x-wmflatfile this result in a stream and this I can manipulate in myne proces…

    Regards Dirk


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