org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG <HTML>@2:7 in java.io.InputStreamReader@960e1fa)


Solutions on the web24

Solution icon of stackoverflow
expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG <HTML>@2:7 in java.io.InputStreamReader@960e1fa)

Solution icon of stackoverflow
expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG <html>@3:7 in java.io.InputStreamReader@369aa5bf)

Solution icon of stackoverflow
expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG <html>@2:44 in java.io.InputStreamReader@8b993ba)

Solution icon of stackoverflow
expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG (empty) <br>@1:7 in java.io.InputStreamReader@527e5270)

Solution icon of stackoverflow
expected: START_TAG {<a href="http://schemas.xmlsoap.org/soap/envelope/" rel="nofollow">http://schemas.xmlsoap.org/soap/envelope/</a>}Envelope (position:START_TAG @2:7 in java.io.InputStreamReader@b3dea7b8)

Solution icon of stackoverflow
via Stack Overflow by bbesase
, 1 year ago
expected: START_TAG {http://www.w3.org/2003/05/soap-envelope}Envelope (position:START_TAG &lt;html&gt;@2:44 in java.io.InputStreamReader@21fc0778)

Solution icon of stackoverflow
expected: START_TAG {http://schemas.xmlsoap.org /soap/envelope/}Envelope (position:START_TAG &lt;{http://schemas.xmlsoap.org/wsdl/}wsdl:definitions name='Magento' targetNamespace='urn:Magento'&gt;@2:291 in java.io.InputStreamReader@4214c770)

Solution icon of web
expected: START_TAG {http://schemas.xmlsoap.org /soap/envelope/}Envelope (position:START_TAG <{http://schemas.xmlsoap.org/wsdl/}wsdl:definitions name='Magento' targetNamespace='urn:Magento'>@2:291 in java.io.InputStreamReader@4214c770)

Solution icon of stackoverflow
expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG &lt;{http://schemas.xmlsoap.org/wsdl/}wsdl:definitions targetNamespace='urn:sap-com:document:sap:soap:functions:mc-style'&gt;@1:687 in java.io.InputStreamReader@408e2840)

Solution icon of googlegroups
via Google Groups by Jimmy Slapelis, 4 months ago
expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG <{http://schemas.xmlsoap.org/wsdl/}wsdl:definitions name='PedidoEJBService' targetNamespace='http://www.sys.com.br'>@1:390 in java.io.InputStreamReader@40dbe07

Stack trace

org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG <HTML>@2:7 in java.io.InputStreamReader@960e1fa)
	at org.kxml2.io.KXmlParser.require(KXmlParser.java:2065)
	at org.ksoap2.SoapEnvelope.parse(SoapEnvelope.java:127)
	at org.ksoap2.transport.Transport.parseResponse(Transport.java:63)
	at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:100)
	at com.example.accurat.accesswebservice.MainActivity$1.onClick(MainActivity.java:75)
	at android.view.View.performClick(View.java:4780)
	at android.view.View$PerformClick.run(View.java:19866)
	at android.os.Handler.handleCallback(Handler.java:739)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:135)
	at android.app.ActivityThread.main(ActivityThread.java:5254)
	at java.lang.reflect.Method.invoke(Native Method)
	at java.lang.reflect.Method.invoke(Method.java:372)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
20 times, 1 year ago
6 times, 1 year ago