• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

why Axis doesn't preserve Inheritance ?

 
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
reply
    Bookmark Topic Watch Topic
  • New Topic