Tuesday, January 15, 2013

Re: [android-developers] kSOAP XmlPullParserException

andjarnic wrote:
I don't know for sure.. but your XML looks wrong:

<cffunction name="TestMethod" returnType = "string" access="remote" description="Test Method">
  <cfargument name="ID" type="numeric">

<cfreturn "hello" />

</cffunction>

Notice in the <cfargument.. > you don't have a /> at the end? Perhaps that is why?

Tonez wrote:
<cffunction name="TestMethod" returnType = "string" access="remote" description="Test Method">
  <cfargument name="ID" type="numeric">

<cfreturn "hello" />

</cffunction>

Check out 
http://www.w3schools.com/xml/xml_validator.asp
or other online well-formedness checker. You will find that there is more than one error.

Also, your indentation is messed up. What's with that?

-- 
Lew


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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate