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
Expand all | Collapse all

Ftp get from Unisys Clearpath IX - account nbr problem

  • 1.  Ftp get from Unisys Clearpath IX - account nbr problem

    Posted Mon August 05, 2002 02:55 PM

    I am attempting the FTP between webMethods server and the Unisys Clearpath IX mainframe using the webMethods provided Built-in ftp service “pub.client.ftp”. My webMethods service has only one process (ftp) in the flow. I have set the initially input values to the flow as follows:

    serverhost = mainframe host name 	username = my valid mainframe username
    password= my valid mainframe password
    command = get
    localfile = IkecRqst.txt
    remotefile = cji*cji600d01a. (the mainframe file I am trying to retrieve)
    

    Get the following error
    com.wm.net.ftpCException:
    Need account for login

    The problem is that the Unisys mainframe requires userid, password AND account code for logging in, while the webMethods provided ftp service allows only for a userid and password for logging in. Any suggestions on how to supply this additional parameter.

    Thanks

    Bhoj Maheepathi
    c-bmaheepa@state.pa.us


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 2.  RE: Ftp get from Unisys Clearpath IX - account nbr problem

    Posted Wed November 20, 2002 07:18 AM

    I have the same problem. I think the solution would be to create a Java service to perform the special login and pass back a sessionkey. I am trying to write this code, but I don’t know how a sessionkey is created or accessed.

    Does anyone know how to create a valid FTP sessionkey in Java? I have code to logon to FTP servers and do FTP commands, I just need to know how to format a sessionkey and tie it to an object that the other FTP services can use.


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB