Hi Alex,
AFAIK there is no special parameter required for this , according
to method signatures of your service class, Java2WSDL generate correct
schema for in/out messages . in your case it should generates types as
follow.
<xs:complexType name="Animal">
<xs:sequence>
........................................................
........................................................
</xs:sequence>
</xs:complexType>
<xs:complexType name="Dog">
<xs:complexContent>
<xs:extension base="ax21:Animal">
<xs:sequence>
---------------------------------------------------------
---------------------------------------------------------
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Anyway can you post method signatures of your service class...?
Thanks ,
On Tue, Mar 10, 2009 at 8:35 PM, Alexander Rosemann
<[email protected]> wrote:
> Hi,
>
> I know, this has been asked before, though I couldn't find an answer to it.
>
> I'm busy fiddling around with the Java2WSDL ant task shipped with Axis2.
> The tool works fine until I try to generate the WSDL from an abstract
> class.
>
> Having an abstract class called Animal and a subclass Dog, it creates the
> schema for the Animal but misses out on the Dog type.
>
> I presume I just can't see what ගංගා චක්රයේ පරාමිතිය has to be set to get
> this going.
>
> Any pointers that lead to a resolution of my issue are much appreciated.
>
> Thanks,
> Alex
>
>
--
Sagara Gunathunga
Blog - http://ssagara.blogspot.com
Web - http://sagaras.awardspace.com/