Re: Problem with Java anda xml-rpc

Paul Libbrecht <[email protected]> Thu, 6 Sep 2007 10:47:15 +0200
Newsgroups gmane.text.xml.rpc.specification
Message-ID <[email protected]>
Luis,

try to set XmlRpc.setDebug(true) or something such... (maybe new  
versions have a commons-logging setting, that'd be in the FAQ).  
You'll see the dump of all xml content and response exchanges and  
will be able to understand the issue.

paul


Le 6 sept. 07 à 10:15, luisicozgz a écrit :

> Hello,
>
> I want to communicate Java and PHP with XML-RPC but I have the next
> exception:
>
> Failed to parse servers response: Expected methodResponse element,
> got br
> 	at
> org.apache.xmlrpc.client.XmlRpcStreamTransport.readResponse
> (XmlRpcStreamTransport.java:177)
> 	at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest
> (XmlRpcStreamTransport.java:145)
> 	at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest
> (XmlRpcHttpTransport.java:94)
> 	at
> org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest
> (XmlRpcSunHttpTransport.java:44)
> 	at org.apache.xmlrpc.client.XmlRpcClientWorker.execute
> (XmlRpcClientWorker.java:53)
> 	at org.apache.xmlrpc.client.XmlRpcClient.execute
> (XmlRpcClient.java:166)
> 	at org.apache.xmlrpc.client.XmlRpcClient.execute
> (XmlRpcClient.java:157)
> 	at org.apache.xmlrpc.client.XmlRpcClient.execute
> (XmlRpcClient.java:146)
> 	at comunicacion.<init>(comunicacion.java:83)
> 	at Main.main(Main.java:9)
>
> Somebody can help me?
>
> Thanks a lot,
>
> Luis
>
>
>
>
> Yahoo! Groups Links
>
>
>
>



[Non-text portions of this message have been removed]



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/xml-rpc/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/xml-rpc/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[email protected] 
    mailto:[email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/