Problem calling Java Web Service

This is a discussion on Problem calling Java Web Service within the Beginning Developers forums, part of the Android Development category; I have written a Java Web Service & called it from android activity. The stuff works well with emulator but throwing exception when used with ...

Results 1 to 3 of 3

Thread: Problem calling Java Web Service

  1. #1
    Android Lurker asmitakulkarni's Avatar
    Join Date
    Oct 2011
    Posts
    8

    Problem calling Java Web Service

    I have written a Java Web Service & called it from android activity.
    The stuff works well with emulator but throwing exception when used with android phone.
    Can Anybody Guide?

  2. Android.net is the premier Android Forum. Registered users do not see these ads. .

  3. #2
    Android Lurker roderickbarnes's Avatar
    Join Date
    Oct 2011
    Posts
    1
    Dude,

    Please allow me to serve you in this matter. I have been working with Java-based web services and Android and documenting what I am doing in my blog. It will probably save you a ton of time. I hope it helps and that you are able to create some great solutions.

    roderickbarnes.com/blog/?cat=123


    In His grip by His grace,
    Roderick L. Barnes, Sr.

  4. #3
    Android Lurker asmitakulkarni's Avatar
    Join Date
    Oct 2011
    Posts
    8

    Problem Calling Web Service : My Problem Is something different

    Thanks.
    I have seen your blog & the example there helped me a lot.

    My Problem is like this -
    • I am calling a web service from my android app.
    • I am trying on localhost.
    • URL="http://10.0.2.2:8080/TstWebService/services/Hello;
    • The application calls the service & gives the expected results when used with emulator.
    • When I try the same thing with mobile device it is giving exception
    • 10-14 18:25:12.740: DEBUG/SntpClient(59): request time failed: java.net.SocketException: Address family not supported by protocol
    Can You pl. guide


Remove Ads

http://www.scramblerducati.org/

Sponsored Links

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Similar Threads

  1. Wifi calling
    By ubeiam in forum LG G2x
    Replies: 3
    Last Post: 06-24-2011, 02:50 AM
  2. video calling on LG G2X
    By ubeiam in forum Android Forum
    Replies: 3
    Last Post: 06-02-2011, 04:57 PM
  3. Sr Android/Java Software Engineer
    By arayastaffing in forum Android Job Board
    Replies: 0
    Last Post: 03-23-2011, 07:22 PM
  4. Java web clients
    By Cheetos in forum Android Forum
    Replies: 0
    Last Post: 02-08-2011, 10:05 AM

Search tags for this page

address family not supported by protocol in android in web service
,
android phone failure to webwervice
,

android sntpclient socketexception: address family not supported webservices

,

android web service call sntpclient request time failed: java.net.socketexception: address family not supported by proto

,
anroide problem web calling
,
call java web service net on android
,
call java webservice from android
,
how to call a webservice from java
,
how to call java web services in android
,

how to call javawebservice in iphone

,
how to call webservice from android
,

roderickbarnes.com/blog/?cat=123

,
servicio web java con android
,
thread android calling webservice .net
,
webservice java exception ampersand
Click on a term to search our sites for related topics.
Android Forum