Web Service problem

Problems with WiFi, SQLite ,Bluetooth, WiMax, Proxies, etc...

Postby Jodol » Tue Feb 05, 2008 9:07 pm

jrr,

you can telnet to the emulator:
telnet localhost 5554

to check the connection type:
gsm status

gsm data status should be: home, if not type
gsm data on

try http://www.google.com in the browser, and see if you can open the page.

Other options to try:
- Use the -wipe -data option when starting the emulator (wipes all userdata from the emulator like a hard reset)
- Google Group - Android Developers - Network Access, some people with also network problems

let me know,

Jodol
Member of a Dutch company developing applications for Android.
ColdTrick Solutions
User avatar
Jodol
Junior Developer
Junior Developer
 
Posts: 16
Joined: Wed Dec 19, 2007 6:29 pm
Location: Netherlands

Top

Postby jrr » Wed Feb 06, 2008 1:14 am

Hi Jodol,

Thanks for your help.

I will let you know.

Best regards.

jrr
jrr
Freshman
Freshman
 
Posts: 8
Joined: Sat Feb 02, 2008 5:43 pm

Postby jrr » Wed Feb 06, 2008 8:14 pm

Hi Jodol,

I replaced the website's name (http://www.webservicex.net) with the corresponding IP address and it worked.

Seems to be emulator does not use DNS's settings of Windows Vista.

Thanks for your help.

Best regards.

jrr
jrr
Freshman
Freshman
 
Posts: 8
Joined: Sat Feb 02, 2008 5:43 pm

Re: Web Service problem

Postby libertino » Thu May 29, 2008 6:00 pm

Try call it using POST. GET is mostly use from browser, so it returns data 'for humans'
libertino
Junior Developer
Junior Developer
 
Posts: 12
Joined: Sun May 18, 2008 3:36 pm

Postby desuvinodkumar » Tue Jun 23, 2009 8:49 am

plusminus wrote:Hello jrr,

it works also from within the Android-Browser or only your desktop browser :?:
Can you do normal websurfing in the emulator :?:

Regards,
plusminus



I am getting this error in log cat i have snapped the error
can ant body help me regarding this

empty scree output
tahnks in advance
Attachments
error.GIF
(72.9 KiB) Downloaded 58 times
Vinod...
User avatar
desuvinodkumar
Senior Developer
Senior Developer
 
Posts: 102
Joined: Mon Mar 23, 2009 6:51 am
Location: India

Any Problem in cahngingurl

Postby desuvinodkumar » Thu Jun 25, 2009 2:36 pm

plusminus wrote:Hello

It is displaying 'right' or better, it is displaying raw, look at the Source-Code your browser returns.
It returns exactly the same, as your TextView shows.
Syntax: [ Download ] [ Hide ]
Using xml Syntax Highlighting
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <string xmlns="http://www.webserviceX.NET">&lt;NewDataSet /&gt;</string>
Parsed in 0.001 seconds, using GeSHi 1.0.8.4


Regards,
plusminus

Hi

If change the Url http://www.webservicex.net/hcpcs.asmx/G ... HCPC=12345

instead of that i replae that with http://www.hadadl.com/hdak.php url

the xml response will get or not
iam not getting the response

is there any other way for that .

thank u
Vinod...
User avatar
desuvinodkumar
Senior Developer
Senior Developer
 
Posts: 102
Joined: Mon Mar 23, 2009 6:51 am
Location: India

Top

Postby desuvinodkumar » Thu Jul 02, 2009 10:55 am

HI

i am connecting nusoap web services from android .......

i have done a interface for i am getting the response from the server but not in xml format .....
it is in differnet form i do't km\now what is that format

is it possible to get JSON response from SoapObject....
iam guessing that the response is JSON

here the response i have pasted below....

getRatingResponse
{
return=ContestInfo{item=anyType{name=Ankitha; totalimages=2; rating=2.5; }; item=anyType{name=Anushka; totalimages=4; rating=9.5; }; item=anyType{name=Apsara; totalimages=1; rating=0; }; item=anyType{name=Assorted; totalimages=3; rating=4; }; item=anyType{name=Babilona; totalimages=3; rating=1; }; item=anyType{name=Bharathi; totalimages=1; rating=1;
};

I want to know that what is response i got from the server

How to parse that response and show in the form of list....

i am very new to web services i need a help regarding this...


One More Question is it possible to cast the Soap Object into Complex String[] type....
Vinod...
User avatar
desuvinodkumar
Senior Developer
Senior Developer
 
Posts: 102
Joined: Mon Mar 23, 2009 6:51 am
Location: India

Top
Previous

Return to Networking & Database Problems

Who is online

Users browsing this forum: No registered users and 7 guests