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

MSA Power Supply Charger for Altair 4x and 5x Multi-Gas Detectors
$34.0
MSA Power Supply Charger for Altair 4x and 5x Multi-Gas Detectors pictureMsa Altair 4Xr Multigas Detector With Bluetooth [Lel, O2, Co, H2S] 10178557
$850.61
Msa Altair 4Xr Multigas Detector With Bluetooth [Lel, O2, Co, H2S] 10178557 pictureMSA ALTAIR® 2XP H2S Gas Detector with XCell Pulse Technology Mfg# 10153984
$290.0
MSA ALTAIR® 2XP H2S Gas Detector with XCell Pulse Technology Mfg# 10153984 pictureMSA ALTAIR 4X/5X 10106725 CO/H2S REPLACEMENT SENSOR- N.I.B.
$225.0
MSA ALTAIR 4X/5X 10106725 CO/H2S REPLACEMENT SENSOR- N.I.B. pictureMSA AltaiR 4X / 5X Xcell Oxygen O2 10106729 Sensor N.I.B.
$200.0
MSA AltaiR 4X / 5X Xcell  Oxygen O2 10106729 Sensor N.I.B.  picture






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