Odoo Help

0

Calling OpenERP through Java Web Application Using XML-RPC Calls

xml
By
Rachit
on 9/10/14, 7:30 AM 1,498 views

I have encountered an error when implementing XML-RPC Calls using java web application(in doGet method) but the same code works  when i use XML_RPC Call using Java desktop application(inside the main method).Please tell if anyone know about it,why all this is happening????Thanks in advance!!!!!!!!!!!!!

Is there are some extra jars needed to implement XML-RPC in Java Web Applications....

I got this type of exception over there:

 

java.lang.NoClassDefFoundError: org/apache/xmlrpc/client/XmlRpcClientConfig java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Unknown Source) java.lang.Class.getConstructor0(Unknown Source) java.lang.Class.newInstance(Unknown Source) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) java.lang.Thread.run(Unknown Source)

 

root cause

java.lang.ClassNotFoundException: org.apache.xmlrpc.client.XmlRpcClientConfig org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1680) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1526) java.lang.Class.getDeclaredConstructors0(Native Method) java.lang.Class.privateGetDeclaredConstructors(Unknown Source) java.lang.Class.getConstructor0(Unknown Source) java.lang.Class.newInstance(Unknown Source) org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861) org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606) org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) java.lang.Thread.run(Unknown Source)

0
Remko Strating
On 9/10/14, 7:32 AM

Check if the following is in your classpath

http://www.java2s.com/Code/Jar/x/Downloadxmlrpcclientjar.htm

I have this jar....

Rachit
on 9/10/14, 7:35 AM

can you please specify all the jars needed so that I can cross check it.....

Rachit
on 9/10/14, 7:37 AM

Please, Have you solved the problem.

tansadio
on 3/30/16, 6:07 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 9/10/14, 7:30 AM
Seen: 1498 times
Last updated: 3/16/15, 8:10 AM