How to invoke wm.tn:receive service using reverse gateway server and Web URL

As stated in the title. i need partners to be able to post docs using invoke/wm.tn:receive from a URL accessed from outside. I have a reverse gateway server setup with a site created in IIS but dont know how to invoke that service. How does everyone else achieve this. Any help is appreciated. FYI i’ve read the docs and called support with no help. Thanks

Is your reverse gateway tested connection to Internal IS and regsitered all ports (Gateway External and Regsitration Internal) on both IS’s?

Once you the gateway URL you can https://someaddress.come/invoke/wm.tn/receive should work ofcourse (tn:receive should be set Anonymous at your risk)

HTH,
RMG

http://www.wmusers.com/ezine/2002oct1_schauhan_1.shtml

Don’t let outside systems call wm.tn:receive directly. The TN documents describe gateway services which you need to write in some cases for technical reasons. The article linked above basically advises to always use a gateway service.

Chapter 4 in the Trading Networks Concepts Guide for 8.x describes the various details of calling services in IS.

So right now everything is inside the firewall because its a dev system. Even the remote gateway is inside. Also the external and gateway registration connects to each other. My thing is how does the url know how to invoke the wm.tn:recieve service when it’s setup in IIS and not webmethods?

I am not sure correctly your question how does the url know?

I think I realized my problem. The registration ports aren’t talking to each other. I have to see what’s amiss with that.

Ok so i can telnet via 4444 the registration port on both internal and reverse gateway but still cant figure out how my reverse gateway knows to go to my internal server and invoke the wm.tn:receive service

YES it will based on the ports you configured to Internal.

You can try http:reversegatewayip:port/invoke/wm.tn/receive URL and see if it hits Internal IS or any errors logged?

HTH,
RMG

Using the below URL and the gateway registration port it just spins and doesn’t connect through. Seems to be something wrong with the port. i can telnet to this port and it seems to connect but i get a blank telnet screen

Did you check with your network folks about ports?..Any errors you noticed on the OS/IS increased log level?

This is inside the firewall and nothing is blocked. Nothing to go by for logs either. Anyway too many people have had their hands on this server and it’s now broken so i have to reinstall webmethods:(

OK it sounds tedious for you then…good luck rebuilt:

Thanks. rebuilt is complete. luckily gateway server is stripped down. registration port still not working though. Ugh

Not sure next, kevy…

You said no errors either:

It would seem that after i rebuilt and when i go to http://gatewayserver:5555/invoke/wm.tn:receive i get “com.wm.app.b2b.server.UnknownServiceException”

When i go to http://gatewayserver:registrationport/invoke/wm.tn:receive i dont get anything. Guess i’m trying to understand how using the above port can invoke the service on the internal server

Is 5555 the port configured on the reverse gateway server or IS internal Port?

Also the URL should be in this format to get it work:

http://gatewayserver:registratorport/invoke/wm.tn/receive

Please URL test the same from your browser:

HTH,
RMG

5555 is the primary port to get to the admin console. 4444 is the registration port. 4433 is the gateway port. I tested the url like below and it still wont connect. the setup on our old 6.5 evironment uses invoke/wm.tn:receive instead of invoke/wm.tn/receive

This format should work also:

invoke/wm.tn/receive

I want to see any error you get…Did you try URL from browser?

Use the gatewayport 4433 and is that registered to the Internal IS port 5555 or some other port?

Also make sure you disable all the ports and enable the Internal IS port and then on the gatewayserver port and start test the connection:

HTH,
RMG

ok so i am at the point where i go to http://reversegateway:4433/invoke/wm.tn:receive and i get a response. However it right away comes back with access denies and a bunch of java nonsense. i have migrated all from 6.5 to 8.2 to i am pretty sure that permissions and everything are all set

[TABLE]
[TR]
[TD][TABLE]
[TR]
[TD]$error[/TD]
[TD][ISS.0084.9101] Access Denied[/TD]
[/TR]
[TR]
[TD]$localizedError[/TD]
[TD][ISS.0084.9101] Access Denied[/TD]
[/TR]
[TR]
[TD]$errorType[/TD]
[TD]com.wm.app.b2b.server.PortAccessException[/TD]
[/TR]
[TR]
[TD]$service[/TD]
[TD]wm.tn:receive[/TD]
[/TR]
[TR]
[TD]$user[/TD]
[TD]Default[/TD]
[/TR]
[TR]
[TD]$time[/TD]
[TD]2012-06-15 19:47:11 EDT[/TD]
[/TR]
[TR]
[TD]$details[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]$errorMsgId[/TD]
[TD]ISS.0084.9101[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[TR]
[TD]$error[/TD]
[TD][ISS.0084.9101] Access Denied[/TD]
[/TR]
[TR]
[TD]$errorType[/TD]
[TD]com.wm.app.b2b.server.PortAccessException[/TD]
[/TR]
[/TABLE]

Check the access permissions of the port. The error indicates that permissions are not set as needed.