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.  Invoke service by ftp problem

    Posted 02/18/04 05:40 AM

    Hi,
    Does anyone know how to solve the following problem:
    I invoke service pub.client:ftp in order to put an xml file in disk c:/ to invoke another webMethods service through ftp(5521), and I got the error “cannot write”,Anyone knows how to solve this problem?

    Regards
    Samuel


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


  • 2.  RE: Invoke service by ftp problem

    Posted 02/18/04 08:29 AM

    Thanks Maulik,

    You’re on the right track.

    I have configure the ftp ports to “Allow by default”.

    The service can be invoked through leapftp or other ways. But if I invoke the service by webMethods buildinservice:pub.client.ftp:put, It still tell me “cannot write”

    Perhaps I may try other ways to invoke the service.


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


  • 3.  RE: Invoke service by ftp problem

    Posted 02/18/04 03:07 PM

    Hai Samuel

    Use pub.client.ftp to store the xml document in your c:\ namespace…
    Pass the contents of the xml document to content Service.
    Enter the remote file with extension .xml ( myxml.xml).
    Enter the dirpath as /admin/ftpfiles.

    When you want to invoke another service in another IS use another FTP service ( Pub.client.ftp )… and give the local file as myxml.xml and dirpath as the service which u want to invoke in the remote integration server.

    Give other necessary details such as port Number…Ip Address…bla bla…
    of the remote IS…

    Hope i have answered ur question
    Please let me know if u r still confused


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


  • 4.  RE: Invoke service by ftp problem

    Posted 02/20/04 08:32 AM

    Thank you, RakeshTeki

    At first I want to get file from remote ftp,and then through ftp way to invoke a service in my local webMethods.

    Now with your ideas as soon as I get the file to local, I invoke the local service to parse the file.

    I think it can not work to use buildin service ftp:put to invoke webMethods service.(For it want to write the file in the ftp server :-)),while its not a real place to write,perhaps later version can support this,no v6.0)


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