I have a simple web service. One of the exposed methods returns a java Object of type "Data". This Data class has a method called "getName()". I compile the project, run "wsgen" on it, and start the service (using the JDK6's embedded HTTP server, not tomcat or glassfish etc.)
So far so good, I can see the wsdl in my browser at the appropriate url.
However, when I try and import that wsdl into another project, the import process successfully creates the "Data" class (which is a class found in the server project), but there are no methods created for that class, so I can't do something like "data.getName()".
My problem is that the "getName()" method exists in the Data class in the server project, but in the client project, though the Data class gets created, the "getName()" method doesn't get created by the wsdl import process.
What am I doing wrong?