BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 03-25-2010, 12:05 AM   #1 (permalink)
New Member
 
Join Date: Mar 2010
Model: 7100t
PIN: N/A
Carrier: And
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default org.xmlpull.v1.XmlPullParserException

Please Login to Remove!

Hello,
I am calling a web service from my android code using ksoap2 first time.
and i am facing following error

org.xmlpull.v1.XmlPullParserException: expected: START_TAG {}Envelope (position:START_TAG <HTML>@1:6 in java.io.InputStreamReader@43d46058)

my code parts are:==>



androidHttpTransport = new HttpTransportSE(url7);
Log.d("Step","4");

androidHttpTransport.call(nmspc+"/monSays", envelope);//Here an
//exception is throw.
Log.d("Step","5");
SoapObject result = (SoapObject)envelope.getResponse();
Log.d("Step","6");




I am facing this issue after step 4 i.e in call method
transport.request() method showing null

plz help i kno this forum is blackbery and i am developing codce in android
but code is almost same
wat would be the problem is my url is wrong ?


DarshaN
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.