This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Web Services and the fly likes javax.xml.bind.annotation.XmlSchemaType missing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "javax.xml.bind.annotation.XmlSchemaType missing" Watch "javax.xml.bind.annotation.XmlSchemaType missing" New topic
Author

javax.xml.bind.annotation.XmlSchemaType missing

Mat Anthony
Ranch Hand

Joined: May 21, 2008
Posts: 232
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


fileisplayBean.java


file:build.xml (sample part)


I would appreciate any help on solving this.

Mat
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: javax.xml.bind.annotation.XmlSchemaType missing