SFTP Webmethods Understandingdoc
SFTP Webmethods Understandingdoc
SFTP Webmethods Understandingdoc
Partners can send information to each others via SFTP and in various formats. The requirement is to use the SFTP feature of webMethods to get the data from the sftp server, validate the format and then send the same to the data stores. The scope of the engagement is as follows: i. ASCII text Files from partners: Certain partners put the ASCII text files in their respective sftp servers. WebMethods, which act as the sftp client, will pick up the ASCII text files, convert them to EBCDIC and ftp them across to mainframe. ii. ASCII Files to partners: EBCDIC files will be picked up from the mainframe by webMethods, the files will be transformed to ASCII format and the same put into the sftp servers for the respective partners.
Yes
Implementation Plan
Assuming the current webMethods version is 6.1 SP1, the following would be the implementation plan that needs to be followed based on which protocol is used STPT or FTP(S): Use SFTP: - Current webMethods version is 6.1 SP1. - Obtain and install an OpenSSH implementation before using the package. This can be got from http://www.openssh.org - Install the IS OpenSSH package. - Do a small Proof-of-concept to validate whether sftp can be done from webMethods to a sftp server. - If this possible, then go with this approach; else go for FTP(S). Use FTP(S): - Current webMethods version is 6.1 SP1. - Upgrade webMethods version to 6.5. - Request partners to have secure ftp servers. - Do a small Proof-of-concept to validate whether secure ftp can be done from webMethods to a secure ftp server - If this possible, then go with this approach.
Process and drop files onto the respective sftp servers, the following is the proposed methodology: 1. WebMethods needs to use the pub.openssh:sftp service for fetching the data from SFTP server. Using mget/get to get the available files from the remote server. 2. Putting the fetched files in a preferred path in local machine. 3. Validation of the data fetched. Do mapping/transformation from ASCII to EBCDIC on the incoming data before sending it out to the data stores. 4. Send data to different data stores Questions/Queries: i. What are the different data stores? Before performing Step 1, we need to set up the following: Install a sample package for the Integration Server that allows execution of OpenSSH commands such as sftp and scp from integration Server services. webMethods does not provide any OpenSSH software. The sample Integration Server OpenSSH package contains only wrapper flow services for invoking a command line tool. Therefore, one must obtain and install an OpenSSH implementation before using the package.
Put the OpenSSH.zip file (available from the wM advantage site) into the replicate/inbound directory. Activate the package via the Web administrator. Edit the packages\OpenSSH\config\openssh.properties file to reflect the location of your SSH binary. See security technote for assistance configuring an SSH identity for the Integration Server.