In Axis2 Java2WSDL there's no -e switch.

Usage java2wsdl -cn <fully qualified class name> : class file name
-o <output Location> : output file location
-cp <class path uri> : list of classpath entries - (urls)
-tn <target namespace> : target namespace
-tp <target namespace prefix> : target namespace prefix
-stn <schema target namespace> : target namespace for schema
-stp <schema target namespace prefix> : target namespace prefix for schema
-sn <service name> : service name
-of <output file name> : output file name for the WSDL
-st <binding style> : style for the WSDL
-u <binding use> : use for the WSDL
-l <soap address> : address of the port for the WSDL

On 6/30/06, Anne Thomas Manes <[EMAIL PROTECTED]> wrote:
Add this switch:

-e, --extraClasses <argument>
A space or comma separated list of class names to be added to
the type section.

On 6/30/06, Alex Pivovarov <[EMAIL PROTECTED]> wrote:

The problem is that I get wrong WSDL from my class model.

The model:
---------------------------------------------------------------------------------------
package org.x4444;

public abstract class License {
.... //some public getters ang setters
}

public class SoftLicense extends License {
.... some other public getters and setters
}

public class SoftLicDB {

     public SoftLicense getSoftLicense(int i) {
        .....
     }
}

---------------------------------------------------------------------------------------

I run the command

Java2WSDL -cn org.x4444.LicDB -cp . -sn SoftLicDB

and wsdl file I get contain only type definition from class SoftLicense and no type defenitions from class License.


Reply via email to