Hi, guys:
I installed openKm in one pc 'A', and in another pc 'B', I generate a webservice client jar file, run a java application to call 'A''s webservice. Initially, the client can't access to openKm webservice, throwing connection timeout error. After I can add 'A's external IP and domain name to the file 'hosts', it works well.
Yet if I call openKm webservice from a web application (deployed to jetty, use mvn run it) instead of java application, then
Someone knows what cause it and how to solve it?
Regards,
Jane
I installed openKm in one pc 'A', and in another pc 'B', I generate a webservice client jar file, run a java application to call 'A''s webservice. Initially, the client can't access to openKm webservice, throwing connection timeout error. After I can add 'A's external IP and domain name to the file 'hosts', it works well.
Yet if I call openKm webservice from a web application (deployed to jetty, use mvn run it) instead of java application, then
Code: Select all
calling okmAuthService.getOKMAuthPort() will throw RuntimeModelerException: "A WebService annotation is not present on class: com.openkm.ws.client.OKMAuth".OKMAuthService okmAuthService = new OKMAuthService();
OKMAuth okmAuth = okmAuthService.getOKMAuthPort();
Someone knows what cause it and how to solve it?
Regards,
Jane