marnicola / ksoap2-android

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

XmlPullParserException: expected: START_TAG #159

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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