Hi Guys,

I am using JBoss 6 Final with this example
http://weblogs.java.net/blog/kohsuke/archive/2006/10/stateful_web_se.html

But I have below error message:

Caused by: org.apache.ws.commons.schema.XmlSchemaException: Unable to locate
imported document at 'http://www.w3.org/2006/03/addressing/ws-addr.xsd',
relative to 'schema1.xsd'.
        at
org.apache.cxf.catalog.CatalogXmlSchemaURIResolver.resolveEntity(CatalogXmlSchemaURIResolver.java:83)
[:2.3.1]
        at
org.apache.ws.commons.schema.SchemaBuilder.resolveXmlSchema(SchemaBuilder.java:1872)
[:6.0.0.Final]
        at
org.apache.ws.commons.schema.SchemaBuilder.handleImport(SchemaBuilder.java:1615)
[:6.0.0.Final]
        at
org.apache.ws.commons.schema.SchemaBuilder.handleXmlSchemaElement(SchemaBuilder.java:224)
[:6.0.0.Final]
        at 
org.apache.ws.commons.schema.SchemaBuilder.build(SchemaBuilder.java:121)
[:6.0.0.Final]
        at
org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:509)
[:6.0.0.Final]
        at
org.apache.ws.commons.schema.XmlSchemaCollection.read(XmlSchemaCollection.java:493)
[:6.0.0.Final]
        at
org.apache.cxf.common.xmlschema.SchemaCollection.read(SchemaCollection.java:167)
[:2.3.1]
        at
org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(AbstractDataBinding.java:177)
[:2.3.1]
        at 
org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:398)
[:2.3.1]
        at
org.apache.cxf.service.factory.AbstractServiceFactoryBean.initializeDataBindings(AbstractServiceFactoryBean.java:86)
[:2.3.1]
        at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:442)
[:2.3.1]
        at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:680)
[:2.3.1]
        at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:505)
[:2.3.1]
        at
org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:242)
[:2.3.1]
        at
org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:202)
[:2.3.1]
        at
org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:101)
[:2.3.1]
        at
org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:148)
[:2.3.1]
        at
org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:183)
[:2.3.1]
        at org.apache.cxf.jaxws.EndpointImpl.getServer(EndpointImpl.java:407)
[:2.3.1]
        at org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:314)
[:2.3.1]

I have done as suggested here and still encounter the same error
:http://cxf.547215.n5.nabble.com/CXF-callback-sample-error-always-retrieve-remote-schema-td560815.html.
 
As the catalog configured, system will try to load /schemas/wsdl/ws-addr.xsd
from classpath , but in which jar file?
Also if the configuration of jax-ws-catalog.xml effectived , error message
should tell me can not find from classpath instead of http right ?

Can anyone help me out , thx in advance?

Justin
 

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Help-on-Stateful-Web-Service-tp4302443p4302443.html
Sent from the cxf-issues mailing list archive at Nabble.com.

Reply via email to