No. Currently my code is like that :
private Broker broker;
private BrokerService brokerService;
private Conversation conv;
private Syga2 library; // Java class generated by EntireX Workbench
broker = new Broker (Syga2.DEFAULT_BROKERID,“USER”);
library = new Syga2(broker);
library.setRPCUserId(“???”); // Natural Security User
library.setRPCPassword(“???”); // Natural Security Password
library.setNaturalLogon(true); // Natural Security used
// create the BrokerService object
brokerService = new BrokerService(broker, Syga2.DEFAULT_SERVER);
conv = new Conversation(brokerService);
library.setConversation(conv);
… code managing rpc communication …
try {
library.closeConversationCommit();
}
catch(BrokerException be) { … code managing error … }
Badly, the response of the server is:
EXX 0020 0004 API: No function possible after EOC
Sometime I have also timeout transaction.
Have you an idea?
#Mainframe-Integration#webMethods#EntireX