BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 05-26-2009, 08:06 AM   #1 (permalink)
New Member
 
Join Date: Apr 2009
Model: 0000
PIN: N/A
Carrier: Bell
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default MDS - localhost authorization problem

Please Login to Remove!

I'm using Ksoap2 to connect to a webservice (no authorization required) but keep getting the same error when I use HttpTransport.call method.

The debug error message is:
org.xmlpull.v1.XmlPullParserException: unexpected type (position:TEXT Not authorized t...@1:39 in java.io.InputStreamReader@a8d23635)
And the error message on the MDS console is:

Quote:
05-26 08:41:50.437 EDT>:[1266]:<MDS-CS_MDS>:<DEBUG>:<LAYER = IPPP, 210000a Not authorized to access localhost:9081>
Has anyone come across this error before and found a solution? please an thanks for any help!!

The source is attached..
Attached Files
File Type: zip Ksoap2Demo.zip (1.9 KB, 18 views)
Offline  
Old 05-26-2009, 09:48 AM   #2 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2009
Model: 9000
PIN: N/A
Carrier: T-Mobile
Posts: 67
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

try using the hostname instead of localhost (open up a dos prompt and type 'hostname')
Offline  
Old 05-26-2009, 10:20 AM   #3 (permalink)
New Member
 
Join Date: Apr 2009
Model: 0000
PIN: N/A
Carrier: Bell
Posts: 3
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Localhost problem

That worked.. Thanks so much!
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

(6) Universal Core and Coil HID Ballast Kits 120/277/347V, M100TRILC3M
$227.77
(6) Universal Core and Coil HID Ballast Kits 120/277/347V, M100TRILC3M picture13 Ice Cube Style General Purpose Mini Relays - 4PDT, 3A, 120VAC Coil
$49.99
13 Ice Cube Style General Purpose Mini Relays - 4PDT, 3A, 120VAC Coil picture5 Packs Dental Orthodontic Niti Closed Coil Spring constant Force 0.012" 12mm
$13.55
5 Packs Dental Orthodontic Niti Closed Coil Spring constant Force 0.01210Packs Dental Pro Orthodontic Closed Coil Spring constant Force 10pcs/pack Sale
$23.85
10Packs Dental Pro Orthodontic Closed Coil Spring constant Force 10pcs/pack Sale pictureSQUARE D CONTACTOR 8502 SBG-2 120V coil
$34.99
SQUARE D CONTACTOR 8502 SBG-2 120V coil picture






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