Hi,
I have a Java service which should be called from Natural. I set up a Java RPC server in a box that points to a broker (ETB1234:1111) and server name SNAME1 and service CALLNAT. I tested the service using Workbench and everything works fine.
Now I have got couple of other Java services which too needs to be invoked from mainframe which points to the same broker ID and server name.
I tried creating another Java RPC server and ran on the same box. Now when I test the first service from workbench, I’m getting the response as successful. If i invoke it again I’m getting the response as
Broker Error 1001 0016: Callee not found. Library: SYSTEM, Program: GREETRPC Server: Method greet not found in class SystemStub (java.lang.NoSuchMethodException: SystemStub.greet())
I can understand the problem here. The SystemStub.java in first RPC server has got the method related to service one and does not contain the method related to service two. And since there are 2 Java RPC servers running pointing to the same Broker and server name, the request from workbench is diverted to either one of these servers and if it reached the correct one, there is valid response, else the error.
How can i implement this requirement. One way is for different Java RPC servers to point to different broker ID and server name.
Is there any other solution to this?
Thanks,
Gijish.
#Mainframe-Integration#EntireX#webMethods