Hi, I'm getting an error trying to connect a java client with a perl server using xml rpc, the code for which I found at this link - http://www.javaworld.com/javaworld/jw-10-2004/jw-1011-xmlrpc.html?page=1
I checked the request and response messages being sent and received using "tcpmon" The request message from the client looks this - POST /otrs/server.pl HTTP/1.1 Content-Length: 153 Content-Type: text/xml Cache-Control: no-cache Pragma: no-cache User-Agent: Java/1.6.0_10 Host: localhost:8080 Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 Connection: keep-alive <?xml version="1.0"?><methodCall><methodName>PerlSystemFacade.say_hello_psf</methodName><params><param><value>hello</value></param></params></methodCall> And the response I'm getting back from the server, looks like this - HTTP/1.1 200 OK Date: Mon, 10 Jan 2011 09:43:08 GMT Server: Apache/2.2.17 (Win32) mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 Perl/v5.12.2 SOAPServer: SOAP::Lite/Perl/0.710.10 Content-Length: 336 Keep-Alive: timeout=5, max=100 Connection: Keep-Alive Content-Type: text/xml <?xml version="1.0" encoding="UTF-8"?><methodResponse><fault><value><struct><member><name>faultString</name><value><string>Application failed during request deserialization: no element found </string></value></member><member><name>faultCode</name><value><string>Client</string></value></member></struct></value></fault></methodResponse> Can you please help me figure out what the problem could be? Any help would be much appreciated. Thanks. Regards, Mithila DISCLAIMER: This email message and all attachments are confidential and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email or to [email protected] and destroy the original message. Opinions, conclusions and other information in this message that do not relate to the official business of SPAN, shall be understood to be neither given nor endorsed by SPAN.
