This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Web Services and the fly likes Unused classes in web service auto generated code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Unused classes in web service auto generated code" Watch "Unused classes in web service auto generated code" New topic
Author

Unused classes in web service auto generated code

merve klug
Greenhorn

Joined: Oct 07, 2009
Posts: 17
Hi,
i have to use a web service with some classes and methods.
I automatically generate the web service code using netbeans, but there are some unused classes. I can do everything that i was told without using some classes.

in a main method i can do everything by right click->code insert->web service client code like this:


and use it:



these lines do everything needed to mod operation.
but there are two classes Mod and ModResponse
BUT what do the Mod and ModResponse classes do?
They are here:
Mod.java



ModResponse.java



What should i do with the unused classes; Mod.java and ModResponse.java?
I am wanted to develop a SOA oriented application, so should i use the unused classes to make my app more SOA oriented?
This is my question. Thanks
 
wood burning stoves
 
subject: Unused classes in web service auto generated code
 
Similar Threads
@WebService method returning a custom class containing a HashMap / JAX-WS
InvalidMappingException
Clarification Requested - XML recordset & JAXB classes
web services client is not validating parameters
JWSDP2.0 - problem in deploying hello-jaxws sample application