1 Reply Latest reply on May 30, 2003 8:34 AM by jonlee

    WSDL Generation

    jmelvin

      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.


        • 1. Re: WSDL Generation
          jonlee

          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.

          http://ws.apache.org/axis/index.html