I’ve learned a few things that I’ll share for the sake of others to follow:
(1) There doesn’t appear to be an FTP listener listening on port 21 for that server, so FTP and VAN connectivity are out.
(2) HTTPS is sufficient. I was ignorant of certificates, etc. until webMethods showed me how to acquire the VeriSign certificate. Once I downloaded it to a .der file, put it on the server in WEB_METHODS_HOME/config/certs/cacerts, and rebooted, I was able to make an HTTPS connection just fine. I used the pub.client:http service and got back an HTTP status 200 - OK. I used Basic authentication and gave the username and password I supplied when I signed up for the mirror mailbox.
Unfortunately, bytesToString tells me that that HTML that I received back looks like this:
<html><head><title> Error400</title></head><body>
Error getting request
</body></html>
So now there are other questions I need to answer:
(0) What header/parameter values do I have to supply to get the contents of unread EDI files? What form will they take once I do acquire them?
(1) How to write to the mailbox? (e.g., for 997 ACK)
(2) How do I mark files as ‘read’?
(3) Am I responsible for removing ‘read’ files from the mailbox?
But this small step is progress. Thanks - MOD
#edi#Integration-Server-and-ESB#webMethods