KakingChoi / ksoap2-android

Automatically exported from code.google.com/p/ksoap2-android
0 stars 0 forks source link

Multiple HttpTransportSE.call() failed.( xmlPullParserError) #145

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.I make multiple httptransportse.call()s and only first call get succeeded. 
Others return xmlPullParserError.
2.
3.

What is the expected output? What do you see instead?
org.xmlpull.v1.XmlPullParserException: unexpected type (position:END_DOCUMENT 
null@1:0 in java.io.InputStreamReader@
at org.kxml2.io.KXmlParser.exception(KXmlParser.java:273)
at org.kxml2.io.KXmlParser.nextTag(KXmlParser.java:1420)
at org.ksoap2.SoapEnvelope.parse(SoapEnvelope.java:126)
at org.ksoap2.transport.Transport.parseResponse(Transport.java:63)
at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:100)

What version of the product are you using? On what operating system?
I tried v2.5, 2.5, 3.0

Please provide any additional information below.

Original issue reported on code.google.com by shamitha...@gmail.com on 20 Nov 2012 at 5:39

GoogleCodeExporter commented 8 years ago
You should not call twice. It is not intended to work from all I know.

Original comment by mosa...@gmail.com on 20 Nov 2012 at 10:05

GoogleCodeExporter commented 8 years ago
Why shouldn't it? 
I made different calls for get different content.
Both are separate HttpTransportSE objects, and nothing shared within it. 
What I'm trying to do is get values for my two apinners on my page on load.

I don't understand how mutually exclusive process effect to fail another one. 
Can you please assist me about that?

Original comment by shamitha...@gmail.com on 21 Nov 2012 at 2:43