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 WSDL2JAVA Conversion issue. 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 "WSDL2JAVA Conversion issue." Watch "WSDL2JAVA Conversion issue." New topic

WSDL2JAVA Conversion issue.

Sumukh Deshpande
Ranch Hand

Joined: Feb 17, 2008
Posts: 87


I have a integer field in a class which I have made private and no setter method is provided but when I generate the client with WSDL2Java, the generated class has a setter method.

Why is it so?

I am using Apache Axis 2.

I am putting the code for more explanation

So what should I do to hide the setter method when client is generated.
Don't get me started about those stupid light bulbs.
subject: WSDL2JAVA Conversion issue.
Similar Threads
In struts2 delete is not Working
How to make a thread return some value ?
Inheritance issue in Apache Axis WSDL to Java conversion
How to access a class defined within a class in WebService
Data Access Object vs Value Object patterns