Reputation: 5
I am new to web services and I want to make a RESTful web service, and connect it to an Android application. I would like the steps or a tutorial on how to do this.
I started to create my service using this link This link gives steps to create web service but I can't get why it is using entity classes (customer , DicountCode) from an existing database. What are these classes for?
Upvotes: 0
Views: 9468
Reputation: 554
you can try it to connect and parse automatically your web service http://www.wsdl2code.com
SampleService srv1 = new SampleService();
req = new Request();
req.companyId = "1";
req.userName = "userName";
req.password = "pas";
Response response = srv1.ServiceSample(req);
Upvotes: 4