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)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by faisal1208
, 10 months ago
expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG <HTML>@2:7 in java.io.InputStreamReader@960e1fa)
via Stack Overflow by qwerty
, 1 year ago
expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG <html>@2:44 in java.io.InputStreamReader@8b993ba)
via Stack Overflow by aircraft
, 9 months ago
expected: END_TAG {http://schemas.xmlsoap.org/soap/envelope/}Body (position:END_TAG http://schemas.xmlsoap.org/soap/envelope/}soap:Fault>@1:266 in java.io.InputStreamReader@4abe7810) 03-02 10:32:03.1** *****-*5110/cn.cinsoft.smart3 W/System.err:
via Stack Overflow by bbesase
, 2 years 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)
via Stack Overflow by user4582995
, 1 year ago
expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG <html>@3:7 in java.io.InputStreamReader@369aa5bf)
via Stack Overflow by Rana Osama
, 2 years ago
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)
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)

Users with the same issue

20 times, 1 year ago
6 times, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.