liujianguang/ksoap2-android

XmlPullParserException: expected: START_TAG

Opened this issue · 3 comments

What steps will reproduce the problem?
1. Add PropertyInfo in SoapObject
2. Pass in List<HeaderProperty) in transport call method
3. invoke envelop call method

What is the expected output? What do you see instead?
- Expect a soap response.
- XmlPullParserException thrown 
04-11 12:38:25.664: E/exception(6799): org.xmlpull.v1.XmlPullParserException: 
expected: START_TAG {http://www.w3.org/2003/05/soap-envelope}Envelope 
(position:START_TAG <{http://schemas.xmlsoap.org/wsdl/}wsdl:definitions 
name='testsample' targetNamespace='testsample'>@2:258 in 
java.io.InputStreamReader@4164f108)

What version of the product are you using? On what operating system?
- Android 4.2.2 Galaxy Nexus
- ksoap2-android-assembly-3.0.0-jar-with-dependencies.jar

Please provide any additional information below.
- output requestDump and paste in soap-ui 4.5.1 request, run and a soap 
response returned.
- output responseDump is null as expected since I am commented out 
envelope.getResponse() call to isolate the issue.
- My test soap server did not get the soap request when exception is thrown.
- When using soap-ui 4.5.1, my test soap server received the request.
Validate the WSDL via Eclipse's WSDL validator and looks OK.

Original issue reported on code.google.com by alvinc...@gmail.com on 11 Apr 2013 at 8:06

Me too get the same problem. I am using android 4.0.3 and 
ksoap2-android-assembly-2.5.5
-jar-with-dependencies.jar

Original comment by gunas...@gmail.com on 23 Aug 2013 at 12:34

Can you please provide some more details like the values in 
List<HeaderProperty>.
The Object you try to send as well as the WSDL

Original comment by jose.cas...@gmail.com on 5 Sep 2013 at 8:27

The project is migrating to github. If you believe this issue is still valid 
and should be tracked please file a new issue at 
https://github.com/simpligility/ksoap2-android/issues



Original comment by mosa...@gmail.com on 7 Aug 2015 at 5:35

  • Changed state: AwaitingContribution