Hi,

I guess you're talking about something like XML catalog, which can map a remote url to a local relative path file, this can avoid internet download during runtime, you just need a META-INF/jax-ws-catalog.xml on your classpath, just an example

<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system"> <rewriteURI uriStartString="http://apache.org/hello_world_soap_http/types " rewritePrefix="../org/apache/servicemix/cxfbc/ws/security/"/>
</catalog>

This will map remote http://apache.org/hello_world_soap_http/types/ *.xsd to local relative path ../org/apache/servicemix/cxfbc/ws/ security/*.xsd


you may need google lit bit to get more details how "XML catalog" works.

Freeman


On 2011-1-13, at 下午7:46, meteora28 wrote:


Hello there,

is it possible to set the references of related
files/schmeas/namespaces/etc. automatically to realtive local paths with CXF? The fact is: my application won't always have an internet connection.

If not, are there other frameworks which can do that?

I have only used CXF for web services, because it is the only framework
which can handle wsdl files without service element.

Kind regards,

meteora28

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Set-references-to-relative-local-paths-tp3339639p3339639.html
Sent from the cxf-user mailing list archive at Nabble.com.


--
Freeman Fang

------------------------

FuseSource: http://fusesource.com
blog: http://freemanfang.blogspot.com
twitter: http://twitter.com/freemanfang
Apache Servicemix:http://servicemix.apache.org
Apache Cxf: http://cxf.apache.org
Apache Karaf: http://karaf.apache.org
Apache Felix: http://felix.apache.org

Reply via email to