Problem: org.xmlpull.v1.XmlPullParserException: PI must not start with xml
"orsteglasy" <[email protected]> Tue, 03 Apr 2007 10:46:39 -0000
| Newsgroups | gmane.text.xml.xmlpull.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi,
I'm trying to use ksoap2 to access .net webservices from a midlet. My
code runs fine on emulator, but gives this error message on phisical
device (nokia 6600):
org.xmlpull.v1.XmlPullParserException: PI must not start with xml
(position:unknown
HTTP/1.1 200 OK
Connection close
Date: Tue, 03 Apr 2007 10:15:25 GMT
Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
Cache-Control: private, max-age=0
Content-Type: text/xml; charset=utf-8
Content-Length: 367
in java.io.InputStreamReader
I have no idea what it means or how to solve it.
Here is the response from WTK's network monitor (i got the same
response on the phone):
HTTP/1.1 200 OK.
.Date: Tue, 03 Apr 2007 10:15:25 GMT.
.Server: Microsoft-IIS/6.0.
.X-Powered-By: ASP.NET.
.X-AspNet-Version: 2.0.50727.
.Cache-Control: private, max-age=0.
.Content-Type: text/xml; charset=utf-8.
.Content-Length: 367...
.<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body>
<HelloWorldResponse
xmlns="http://www.mindscape.hu"><HelloWorldResult>Hello
World</HelloWorldResult></HelloWorldResponse>
</soap:Body></soap:Envelope>
you can check my test webservice here:
www.ksoaptestsrv.mindscape.hu/service.asmx
Do you have any idea what the exception is about and how to solve it?
Thanks a lot!
Ors
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/xmlpull-dev/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/xmlpull-dev/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[email protected]
mailto:[email protected]
<*> To unsubscribe from this group, send an email to:
[email protected]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/