Re: Java2WSDL and abstract classes

2009-03-11 Thread Alexander Rosemann
Hi Dennis, Thanks for the hint. I'll give it a shot when I have to implement another service. This time I took the route developing the xml manually which works fine now. Thanks, -Alex Dennis Sosnoski wrote: Hi Alex, You'll probably have a much easier time of it if you use Jibx2Wsdl (incl

Re: Java2WSDL and abstract classes

2009-03-11 Thread Dennis Sosnoski
Hi Alex, You'll probably have a much easier time of it if you use Jibx2Wsdl (included in the current 1.2.1 release of JiBX) rather than Java2WSDL. Jibx2Wsdl has a number of nice features, including Java 5 typed collection and enum support, automatic JavaDoc extraction to WSDL and schema docum

Re: Java2WSDL and abstract classes

2009-03-10 Thread Sagara Gunathunga
Hi Alex, hammm... u are trying to have "Animal " class as the return type ,then according to your internal logic return a instance of it's subclass like Dog or Cat . AFAIK we can retrieve subclass of a any given class but I'm not sure is it possible to retrieve sub classes when you specify su

Re: Java2WSDL and abstract classes

2009-03-10 Thread Alexander Rosemann
Hi Sagara, Sagara Gunathunga wrote: 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.

Re: Java2WSDL and abstract classes

2009-03-10 Thread Sagara Gunathunga
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. ...

Java2WSDL and abstract classes

2009-03-10 Thread Alexander Rosemann
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

Java2WSDL and abstract classes

2009-03-10 Thread Alexander Rosemann
Hi, I know, this has been asked before, though I couldn't find an answer to my problem. I'm busy fiddling around with the Java2WSDL ant task shipped with Axis2. The tool works fine until I tried to generate the WSDL from an abstract class. Having an abstract class called Animal and a subc