I have a method deployed as a web service, that returns a class(javabean) .
JBOSS.net generates the WSDL file automatically when I use ?wsdl in a browser.
The generated WSDL file contains and xml representation of the returned class and its base class, e.g.
but what I really want the wsdl to show is just the properties of my javabean as below
Other than writing the wsdl by hand, is there something I can specify in the deployment file to control the way the wsdl is generated.
P.S. I also use oracle which works in this way.
JBoss.NET is simply a service bindling of Axis.
As far as I know, the WSDL generated conforms wholly with the spec but built into the Axis engine. See further in this document, but I don't believe that the WSDL can at this point be modified. You'll need to check the APIs for Axis - I guess you could generate and strip from the Java2WSDL output.