Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

why Axis doesn't preserve Inheritance ?

 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic