Author Message
MichaelDailous_deprecated
Joined: Nov 11, 2013
Messages: 171
Offline
I have two defined web services that I can execute from within a data node just fine using the standard GUI tools. I need to move these into a servlet to be executed programmatically at runtime. In looking at the code generated by the Data Node, it looks like all I need to do is put the following code into my servlet:

connectivity.ws.operations.<WSOP1_CLASS> ws1 = new connectivity.ws.operations.<WSOP1_CLASS>(mySession);

ws1.execute();
...
connectivity.ws.operations.<WSOP1_CLASS> ws2 = new connectivity.ws.operations.<WSOP2_CLASS>(mySession);
ws2.execute();
...

Am I over simplifying the process?

Thanks,
Michael
NeilGoldsmith
Joined: Nov 6, 2013
Messages: 902
Offline
Yes, you can do it that way.
Go to:   
Mobile view