Keerthi
Keerthi

Reputation: 11

XML RPC Exception

I am trying to connect question2answer XMLRPC server [Link] with an android client [Link] provided. But I am getting frollwing error when I fire android client:

org.xmlrpc.android.XMLRPCException:
Org.xmlpull.v1.XmlPullParseException: expected: '>' actual: ''(position:END_TAG<?memb>@43668: 70 in java.io.InputStreamReader@41d07298)

How can I fix the problem?

Upvotes: 1

Views: 336

Answers (1)

f1sh
f1sh

Reputation: 11934

It look as if you were trying to parse an invalid xml structure.

The error itself points to a missing '>', like so:

<position>
  <stuff
</position>

The parser expects to find the '>' of the stuff tag, but finds the closing tag of position.

Try to extract the xml structure as a string and look for the error. You might also just paste it into an xml validator.

Upvotes: 1

Related Questions