my dog learned polymorphism
The moose likes Web Services and the fly likes Compare these classes! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Compare these classes!" Watch "Compare these classes!" New topic

Compare these classes!

Ragunath Jawahar

Joined: Jan 28, 2010
Posts: 15
I am a Web service beginner. I have a few doubts please do enlighten me. I have written a web service based on axis. WSDL was automatically generated from the server code. After that I used the wsdl2java tool to generate code for my client application. Though the tool did a nice job, I have some uncertainties:

Uncertainty 1: Are these classes equal? I have two classes written in the server side, but in the code generated by the WSDL2Java tool there is only one! It doesn't even have the SERIAL ID

These classes are at the server-side: and

Class generated by the wsdl2java tool.
I agree. Here's the link:
subject: Compare these classes!
It's not a secret anymore!