• 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

javax.xml.bind.annotation.XmlSchemaType missing

 
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,
I'm trying to consume a third party wsdl using jax-ws approach using wsimport to generate all the client classes from the wsdl.
In my spring configuration file the bean displayBean does not get created due to the following error:-
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'displayBean' defined in ServletContext resource [/WEB-INF/applicationContext_webservices.xml]: Invocation of init method failed; nested exception is java.lang.annotation.IncompleteAnnotationException: javax.xml.bind.annotation.XmlSchemaType missing element name

Not sure how to fix the bind error. The class something.WebServiceSoap was generated as part of the wsimport call.

file:applicationContext_webservices.xml


file:DisplayBean.java


file:build.xml (sample part)


I would appreciate any help on solving this.

Mat
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic