Odoo Help

Welcome!

This community 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.

0

Calling OpenERP through Java Web Application Using XML-RPC Calls

xml
By
Rachit
on 9/10/14, 7:30 AM 1,361 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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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