Hi guys ,

I'm using pskink's xmlrpc library which is great piece of work.

I am trying to integrate the xmlrpc android client with my server side
written in java.

I've downloaded apache xmlrpc, and their client-server sample works
fine.
When i run their client vs. their server all works fine.

When i use android xmlrpc client, it crashes when
i try to return a complex data type as a return value.

I know it must be something i am doing wrong since python version
works, but cannot find it.

Could you advise what am i missing ?

Android client crashes with this message, perhaps it would ring a
bell.

D/dalvikvm(  706): GC freed 2808 objects / 206016 bytes in 105ms
W/System.err(  706): org.xmlrpc.android.XMLRPCException:
org.xmlpull.v1.XmlPullParserException: unexpected type (position:TEXT
barcel...@1:1
86 in java.io.inputstreamrea...@43450388)
W/System.err(  706):    at org.xmlrpc.android.XMLRPCClient.callXMLRPC
(XMLRPCClient.java:380)
W/System.err(  706):    at org.xmlrpc.android.XMLRPCClient.call
(XMLRPCClient.java:129)
W/System.err(  706):    at android.rpc.rpcc$XMLRPCMethod.run(rpcc.java:
82)
W/System.err(  706): Caused by: org.xmlpull.v1.XmlPullParserException:
unexpected type (position:TEXT barcel...@1:186 in java.io.InputStream
rea...@43450388)
W/System.err(  706):    at org.kxml2.io.KXmlParser.exception
(KXmlParser.java:243)
W/System.err(  706):    at org.kxml2.io.KXmlParser.nextTag
(KXmlParser.java:1363)
W/System.err(  706):    at
org.xmlrpc.android.XMLRPCSerializer.deserialize(XMLRPCSerializer.java:
115)
W/System.err(  706):    at
org.xmlrpc.android.XMLRPCSerializer.deserialize(XMLRPCSerializer.java:
184)
W/System.err(  706):    at org.xmlrpc.android.XMLRPCClient.callXMLRPC
(XMLRPCClient.java:356)

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to