ok, we have a remote webMethods Satellite at our customer location that does not have TN installed.
The customer is dropping an EDI file on that Satellite and I am picking that file up using file polling and attempting to post it to our local TN instance.
I use getTransportInfo to get the filename and then use getFile to get the file. I am loading the file as bytes and then doing bytesToString and am logging the EDI string and it looks good in the logs.
The issue I am having is trying to use pub.client.http to post from their satellite to our local (Hub) TN box.
If I post to http://server/invoke/wm.EDINT/receive, I get a 200 response from TN but I never see the file in TN.
If I post it to http://server/invoke/wm.tn/receive, I see the file in TN but TN doesn’t recognize the file type.
I have tried posting with loadAs set to null and set to bytes with the data being sent as bytes or as a string. It doesn’t seem to matter.
If I post the same string to TN using the “submit EDI test data” screen from in the IS, it hits TN fine and explodes to about 10 invoices.
I expect my issue is in how I am posting using the http post. Any ideas would be greatly appreciated.