Objective:
------------
I wish to create a client which can interact with a WebService. The code for both of them is listed below. The Android Emulator acts as my client if I'm right; please correct me.
1> I created a new Web Service Project named HelloService. No errors.
2> When it came to Client, I again created a new Web Service Project named SimpleClient.
Then a package named 'simple client', followed by a class named HelloClient. But I get errors. What wrong did I do? In the first place, was it right to create the Client as a Web Service Project.
3> Further, how do I link the Webservice with the Client? They both are two seperate Projects isn't? How can they be made to interact?
Hope this helps.krishna.chaitanya - Apr 12, 2011 - 12:50 PM Post subject: Jax-WS Webservices and Client Programming
Swapna,
My objective is to use the Android phone to connect to a web service. So I've to test the project in the Android emulator, which means that I've to run the project as an android application. Thus I'll try opening both -- the client and the web service programs as android projects. Or, should I open the client alone as an android project. Then the next question is, both of them being separate projects, how do I get them to interact with each other.