Wayne, I had a situation where I had to use SSH to allow SAP Business Connector to send/receive to/from an FTP Server (front end to Manugistics) in Calgary which is outside our firewall here in Toronto.
There was a seperate discussion that I became involved in and the following blurb is what I posted a few days ago. Maybe there is something in what I had to do that can help you.
I’m kind of new to this integration stuff. 15 yrs AS/400, now in SAP environment.
Regards, Spy.
Posted on Monday, March 08, 2004 - 12:29 pm:
Mike, et al. I got the FTP port solution to work.
I am using the SSH product to do secure transmissions between SAP Buscon 4.6 and a remote Windows 2000 FTP server outside of our LAN.
Previously, the WebConnect/Manugistics server (RS/6000 AIX) was inside our LAN and I would use pub.client FTP to send to it and it would use HTTP Invoke back to Buscon.
My solution for sending to the remote Windows 2000 FTP server (which is running WebConnect and hands off to Manu on another remote server), was to FTP the XML from within the service running in Buscon to the hard drive on the Buscon machine, and using fireCommandExec I invoked a seperate win32 batch process which used SFTP2 to send the XML file, which I had just FTP’d to disk, to the remote FTP server.
This works just fine. Getting fireCommandExec to work was a treat. I had a friend here create an executable using Delphi. I am not sure how he got it to work, considering the limitations of fireCommandExec in the java environment, but I have the Delphi source code if anyone is interested.
Manugistics creates XML files to be returned to Buscon. On Buscon I run a scheduled batch task every 15 minutes that uses SCP2 to grab any XML files from the FTP server and drops them onto Buscon.
Then the task uses FTP to send the XML via FTP listening port 8030, which I had created specifically for this purpose. The target of the FTP is the directory where my service resides i.e. /ns/Services/ShipmentInterface/Receive_and_Post
When the XML hits this directory the XML document is parsed and passed to the service, Receive_and_Post, as a node.
The service passes the document as an IDoc to SAP R/3 via ALE and invokes an ABAP program to update the SAP database.
Well, that’s it. It’s been in production now for 3 weeks and hasn’t skipped a beat.
Thanks for pointing me in the right direction Mike.
Regards, Spy.
#Integration-Server-and-ESB#webMethods#webmethods-Protocol-and-Transport