Wednesday, August 1, 2012

[android-developers] Re: problem in SOAP - asmx web service

Print the stream instead of trying to parse it, and look at it, I guess "@1:18" is line 1 position 18.


On Wednesday, August 1, 2012 2:39:43 PM UTC+1, Rajan wrote:
i am trying to get the response from the SOAP asmx web service but it didn't give proper response

------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 
here i putting my logcat entry
-------------------------------------

08-01 19:08:06.891: W/System.err(1994): org.xmlpull.v1.XmlPullParserException: unterminated entity ref (position:TEXT ?     ? '
?...@1:18 in java.io.InputStreamReader@44e9c180) 

08-01 19:08:06.891: W/System.err(1994): at org.kxml2.io.KXmlParser.exception(KXmlParser.java:273)
08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.error(KXmlParser.java:269)
08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.pushEntity(KXmlParser.java:787)
08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.pushText(KXmlParser.java:855)
08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.nextImpl(KXmlParser.java:354)
08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.next(KXmlParser.java:1385)
08-01 19:08:06.901: W/System.err(1994): at org.kxml2.io.KXmlParser.nextTag(KXmlParser.java:1415)
08-01 19:08:06.901: W/System.err(1994): at org.ksoap2.SoapEnvelope.parse(SoapEnvelope.java:127)
08-01 19:08:06.901: W/System.err(1994): at org.ksoap2.transport.Transport.parseResponse(Transport.java:100)
08-01 19:08:06.901: W/System.err(1994): at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:214)
08-01 19:08:06.901: W/System.err(1994): at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:96)
08-01 19:08:06.911: W/System.err(1994): at com.simform.soapparsing.MainActivity.onCreate(MainActivity.java:61)
08-01 19:08:06.911: W/System.err(1994): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

i also use google for finding this problem but it gives me a rply like : 

In your xml file there are some closing tag is missing.
e.g <item> <form> 123 </item>

BUT....

my xml is ok and i also validate on W3C

So, what can i do, i didn't understand 

help me

Thank you.


--
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

No comments:

Post a Comment