Hiyas,

Can anyone offer some guidance as to what this error means:

Code:
org.springframework.xml.xsd.commons.CommonsXsdSchemaException: Schema [ServletContext resource [/WEB-INF/xsd/schema1.xsd]] could not be loaded; nested exception is org.apache.ws.commons.schema.XmlSchemaException: Schema name conflict in collection. Namespace: urn:com.company.domain.values
        at org.springframework.xml.xsd.commons.CommonsXsdSchemaCollection.afterPropertiesSet(CommonsXsdSchemaCollection.java:157)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
        at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        Truncated. see log file for complete stacktrace
org.apache.ws.commons.schema.XmlSchemaException: Schema name conflict in collection. Namespace: urn:com.comcast.domain.values
        at org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:142)
        at org.apache.ws.commons.schema.SchemaBuilder.build(SchemaBuilder.java:121)
        at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:509)
        at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:382)
        at org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:422)
        Truncated. see log file for complete stacktrace
I used JAXB (jdk 1.6) to generate the schema for my java classes (schemagen). Here is the Spring WS configuration:

Code:
	<bean id="profilerEndpoint" class="com.company.aggregate.profile.device.ProfilerImpl" />
	
	<bean class="org.springframework.ws.server.endpoint.adapter.GenericMarshallingMethodEndpointAdapter">
		<constructor-arg ref="marshaller" />
	</bean>
	
	<bean id="marshaller" class="org.springframework.oxm.jaxb.Jaxb2Marshaller">
		<property name="classesToBeBound">
			<list>
				<value>com.company.aggregate.profile.device.Profile</value>
				<value>com.company.aggregate.profile.device.Duplication</value>
				<value>com.company.aggregate.profile.device.Association</value>
				<value>com.company.aggregate.profile.device.DeviceEntry</value>
			</list>
		</property>
		<property name="schema" value="/WEB-INF/xsd/schema.xsd" />
	</bean>
		
	<bean id="profileDevice" class="org.springframework.ws.wsdl.wsdl11.DefaultWsdl11Definition">
		<property name="schema" ref="schema" />
		<property name="portTypeName" value="ProfileDevice" />
		<property name="locationUri" value="/services/" />
		<property name="targetNamespace" value="http://www.company.com/information/services" />
	</bean>
	
	<bean id="schema" class="org.springframework.xml.xsd.commons.CommonsXsdSchemaCollection">
		<property name="xsds">
			<list>
				<value>/WEB-INF/xsd/schema.xsd</value>
				<value>/WEB-INF/xsd/schema1.xsd</value>
				<value>/WEB-INF/xsd/schema2.xsd</value>
				<value>/WEB-INF/xsd/schema3.xsd</value>
				<value>/WEB-INF/xsd/schema4.xsd</value>
				<value>/WEB-INF/xsd/schema5.xsd</value>
			</list>
		</property>
		<property name="inline" value="true" />
	</bean>
Thanks.

Keith