Win a copy of Spring in Action (5th edition) this week in the Spring forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Knute Snortum
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Ganesh Patekar
  • Frits Walraven
  • Tim Moores
  • Ron McLeod
  • Carey Brown
Bartenders:
  • Stephan van Hulst
  • salvin francis
  • Tim Holloway

why Axis doesn't preserve Inheritance ?  RSS feed

 
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 ?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!