Hi,

The jax-ws-catalog.xml should work in this case, most likely the relative path 
you specified isn't correct.
We have a testcase[1] to demonstrate how it works, you may need take a look, 
especially the rewrite URI prefix and the local xsd relative path

[1]http://svn.apache.org/viewvc?view=revision&revision=1006112

-------------
Freeman(Yue) Fang

Red Hat, Inc. 
FuseSource is now part of Red Hat
Web: http://fusesource.com | http://www.redhat.com/
Twitter: freemanfang
Blog: http://freemanfang.blogspot.com
http://blog.sina.com.cn/u/1473905042
weibo: @Freeman小屋

On 2013-3-25, at 下午6:30, kishore.unnam wrote:

> Hi All,
> 
> Recently I have upgraded Servicemix CXF-SE component to 2013-01 version ,
> 
> there on I started to get the following exception while the SA is getting
> deployed.
> 
> 
> ------------------------sa deployment errors----------------
> 
> <component-task-result
> xmlns="http://java.sun.com/xml/ns/jbi/management-message";>
>        <component-name>servicemix-cxf-se</component-name>
>        <component-task-result-details>
>                <task-result-details>
>                        <task-id>deploy</task-id>
>                        <task-result>FAILED</task-result>
>                        <message-type>ERROR</message-type>
>                        <task-status-msg>
> <msg-loc-info>
> <loc-token/>
> <loc-message>Could not deploy xbean service unit</loc-message>
> </msg-loc-info>
> </task-status-msg>
>                        <exception-info>
>                                <nesting-level>1</nesting-level>
>                                <msg-loc-info>
>                                        <loc-token/>
> 
> <loc-message>org.apache.ws.commons.schema.XmlSchemaException: Unable to
> locate imported document at 'http://ws-i.org/profiles/basic/1.1/swaref.xsd',
> relative to 'schema1.xsd'.</loc-message>
> 
> <stack-trace><![CDATA[javax.xml.ws.WebServiceException:
> org.apache.ws.commons.schema.XmlSchemaException: Unable to locate imported
> document at 'http://ws-i.org/profiles/basic/1.1/swaref.xsd', relative to
> 'schema1.xsd'.
>        at
> org.apache.cxf.jaxws.EndpointImpl.doPublish(EndpointImpl.java:369)
>        at org.apache.cxf.jaxws.EndpointImpl.publish(EndpointImpl.java:251)
> 
> I have read some solution from the link :
> 
> 
> http://svn.apache.org/viewvc/cxf/branches/2.5.x-fixes/tools/javato/ws/src/test/resources/META-INF/jax-ws-catalog.xml?view=markup&pathrev=1245364
> 
> 
> 
> 
> I have added the jax-ws-catalog.xml file under META-INF folder of the SE's 
> su still no improvement.
> 
> 
> regards,
> Kishore
> 
> 
> 
> --
> View this message in context: 
> http://servicemix.396122.n5.nabble.com/Unable-to-locate-imported-document-at-http-ws-i-org-profiles-basic-1-1-swaref-xsd-relative-to-schema-tp5716201.html
> Sent from the ServiceMix - Dev mailing list archive at Nabble.com.

Reply via email to