aspose file tools*
The moose likes Web Services and the fly likes why Axis doesn't preserve Inheritance ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "why Axis doesn Watch "why Axis doesn New topic
Author

why Axis doesn't preserve Inheritance ?

Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
Hi All,

I am using AXIS 1.2 RC2 and trying to expose an EJB as web service with below wsdl which is somewhat handcrafted to support java collections using my custom AXIS (De)Serialzers.




I have 2 questions here now.

1. Even though the above WSDL is "validated ok" by WSAD'S WSDL Validator, Altova's XMLSpy say it is invalid and reports an error "Unexpected element 'extension' in element 'complexType'. Can anyone please tell me why is this error occurring ? Is my WSDL correct ?


2. I have taken the above WSDL and feeded to axis to generate stubs but AXIS does not preserve inheritance among Forecast class and its super class ParentForecast class. The Forecast java file does not extend ParentForecast class. Why is this strange behavior from AXIS's WSDL2Java Code Generator ?


RR Kumaran
SCJP 1.4
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: why Axis doesn't preserve Inheritance ?
 
Similar Threads
wsdl valid ?
java.io.IOException: Type {http://lang.java}Exception is referenced but not defined.
Collection Classes, WSAD, and WebServices
Axis WSDL2Java's Error: reference but not defined
Deserializing parameter 'empRequest'