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


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
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
 
 
subject: why Axis doesn't preserve Inheritance ?