axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Pivovarov" <axis2.x4...@gmail.com>
Subject Java2WSDL from complex classes with inheritance
Date Fri, 30 Jun 2006 14:18:05 GMT
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.

Mime
View raw message