--- orsteglasy <orsteglasy@xxxxxxxxx> wrote:
> 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
Just a guess, but probably you have white space
preceding xml declaration. That is illegal -- if there
is an xml declaration (<?xml .... ?>), it MUST start
right away, with no leading white space.
This would give this particular exception.
Xml declaration is not a processing instruction (just
looks like one) -- no processing instruction is
allowed to have name that starts with letter sequence
'x', 'm', 'l' (case insensitive).
Hope this helps,
-+ Tatu +-
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265
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:xmlpull-dev-digest@xxxxxxxxxxxxxxx
mailto:xmlpull-dev-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
xmlpull-dev-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|