This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Web Services and the fly likes some basic doubts in web services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "some basic doubts in web services" Watch "some basic doubts in web services" New topic
Author

some basic doubts in web services

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830
Hi,

I had some doubts while developing my first web service.

The classes I wrote are:



Rest of the stuff is generated by NetBeans IDE are: NewWebServiceService class which is annotated by @WebServiceClient, an interface has same name as service - NewWebService interface, and a WSDL file - NewWebServiceService.wsdl.

The doubts are:

1. There is no package named com.ankur in client application. How am I referring it in AClient class???

2. If you look at my service, it should returns 100 but it returns 10. Why so???



Thanks in advance.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: some basic doubts in web services