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
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.
I agree. Here's the link:
subject: WSDL2JAVA Conversion issue.
It's not a secret anymore!