Using cxf 2.1.2 and maven I have generated the java classes from a wsdl. But
when I deploy the war to Tomcat I am getting the following error:

INFO: Initializing Spring root WebApplicationContext
Sep 2, 2008 4:59:23 PM org.apache.catalina.core.StandardContext
listenerStart
SEVERE: Exception sending context initialized event to listener instance of
class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean
with name 'riskDataService': Invocation of init method failed; nested
exception is javax.xml.ws.WebServiceException:
org.apache.ws.commons.schema.XmlSchemaException: Schema name conflict in
collection. Namespace: http://chemicalsriskdataservice.mydomain.com/
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1336)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)
        at 
..
...
....

After generating the classes I did move some of the classes to different
packages. Could this be related to JIRA defect CXF-1624 or am I doing
something wrong?


-- 
View this message in context: 
http://www.nabble.com/Schema-name-conflict-in-collection-ERROR-tp19278966p19278966.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to