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.  FTP returncode 250

    Posted Thu December 23, 2010 05:10 PM

    Hello,

    We are having problem while invoking service pub.client.ftp:put service.

    Partner is returning 250 as the return code and put service is returning back with ABORT.

    After that, put is exiting with null exception.

    Can anyone give us any idea, how webMethods handles ftp return code 250? where I can find the list of return codes webemthods supports?

    Any other ideas?

    Thanks.


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


  • 2.  RE: FTP returncode 250

    Posted Thu December 23, 2010 05:44 PM

    250 is a success code. It should be returned to the caller of the service.

    Your post is a little confusing.

    "…put service is returning back with ABORT.

    After that, put is exiting with null exception."

    Which is it doing? I suspect that the remote FTP server is not returning 250 but is instead returning a code > 300.

    Can you post the details of the inputs to the put?


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


  • 3.  RE: FTP returncode 250

    Posted Thu December 23, 2010 06:03 PM

    Hello Reamon,

    Here is the server log info:

    First login is successful. then the log follows as below.

    2010-12-15 13:20:44 CST [ISC.0064.0026T] → STOR xxxxxxxxx.csv^M

    2010-12-15 13:20:44 CST [ISC.0064.0024T] ← 150 Opening data connection for transfer.
    2010-12-15 13:20:49 CST [ISC.0064.0024T] ← 250

    2010-12-15 13:21:19 CST [ISC.0064.0026T] → ABOR^M

    2010-12-15 13:21:19 CST [ISC.0049.0008D] Sequence : index=5 depth=2
    2010-12-15 13:21:19 CST [ISC.0049.0008D] Sequence : index=2 depth=1
    2010-12-15 13:21:19 CST [ISC.0049.0008D] Sequence : index=1 depth=2
    2010-12-15 13:21:19 CST [ISC.0049.0005D] Invoke : index=1 depth=3
    2010-12-15 13:21:19 CST [ISS.0014.0016T] Invoking service pub.flow:getLastError

    From the log above, it clearly shows that put is getting return code 250 back but sending ABORT. after that it exiting with null exception.

    Any ideas?

    Thanks.


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


  • 4.  RE: FTP returncode 250

    Posted Thu December 23, 2010 06:07 PM

    remote FTP server returning 250 return code.

    we are using the below sequence of flow steps.

    1. ftp:login
    2. ftp:put
    3. ftp:logout

    Login is successful.

    put results:
    Put is able to successfully write the file on remote server. Remote server responding with return code 250.

    Right after that, webMethods is sending ABORT and then put is going to catch block and the result is null exception.

    I strongly doubt that ftp having trouble understanding 250 return code.

    Any Ideas?

    Thanks.


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


  • 5.  RE: FTP returncode 250

    Posted Thu December 23, 2010 06:30 PM

    You have some good debugging info there. I would suggest opening a ticket with wM support.


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