Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 49145 invoked from network); 30 Jun 2006 14:18:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Jun 2006 14:18:36 -0000 Received: (qmail 69637 invoked by uid 500); 30 Jun 2006 14:18:27 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 69615 invoked by uid 500); 30 Jun 2006 14:18:27 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 69604 invoked by uid 99); 30 Jun 2006 14:18:27 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2006 07:18:27 -0700 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE,HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of axis2.x4444@gmail.com designates 66.249.82.198 as permitted sender) Received: from [66.249.82.198] (HELO wx-out-0102.google.com) (66.249.82.198) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Jun 2006 07:18:26 -0700 Received: by wx-out-0102.google.com with SMTP id h26so230666wxd for ; Fri, 30 Jun 2006 07:18:06 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=Jy2wQSKE5FLfJF7NkGYRpwXxgYnZ8tyb80tyx0OfN5JCe8evulWTF4mlq6YE9tp8w4wqfBuK+1gyjzbGZylI3eLTZ7wd230C7vI1zD1z4M+4wBmI0gv7BHjHTLxBzPLZXTI9PWQZbcwJrDyA5X9gQG+sxKgEneeieY9GRzbfi2o= Received: by 10.70.37.4 with SMTP id k4mr685541wxk; Fri, 30 Jun 2006 07:18:05 -0700 (PDT) Received: by 10.70.17.4 with HTTP; Fri, 30 Jun 2006 07:18:05 -0700 (PDT) Message-ID: <45e4122c0606300718v67ea50b3w8e2a52c3fba78cec@mail.gmail.com> Date: Fri, 30 Jun 2006 18:18:05 +0400 From: "Alex Pivovarov" To: axis-user@ws.apache.org Subject: Java2WSDL from complex classes with inheritance MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_5844_27654031.1151677085872" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------=_Part_5844_27654031.1151677085872 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline 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. ------=_Part_5844_27654031.1151677085872 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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.
------=_Part_5844_27654031.1151677085872--