File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Web Services
Bookmark "some basic doubts in web services" Watch "some basic doubts in web services" New topic

some basic doubts in web services

ankur rathi
Ranch Hand

Joined: Oct 11, 2004
Posts: 3830

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.
I agree. Here's the link:
subject: some basic doubts in web services
It's not a secret anymore!