Hello,
I'm having trouble connecting to an OnDemand server located on my network through TCP/IP. I currently get the following exception while running the sample code from the documentation:
com.ibm.edms.od.ODException: The server failed while attempting to convert data
at com.ibm.edms.od.ODServer.logon(ODServer.java:333)
This is my code:
odServer = new ODServer( );
odServer.initialize( argv[3], "odtest.Main.java", 5348 );
odServer.setConnectType(ODConstant.CONNECT_TYPE_TCPIP);
odServer.setServ er("odsrv1");
odServer.setPort(1445);
My arswww.ini file is defined as:
[@SRV@_odsrv1]
HOST=odsrv1
PROTOCOL=0
PORT=1445
Is the code having trouble reading from the specified arswww.ini file? I seem to get the same error when I type gibberish into the setServer() function.
Thanks.