cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Manson <>
Subject Re: Running CXF on a server that don't have an internet connection
Date Thu, 03 Sep 2009 16:10:14 GMT
We find a solution :

Add a META-INF directory in the classpath :

  within spring.schemas
  and http\://*2003-02-11.xsd* is the XSD that was
needed when parsing the CXF xml.

Restart the application and it works.

After that we zipped the META-INF dir to offlineXSD.jar and delete the
directory. (jar is better, it has a CRC32 that tells the file is not


On Wed, Sep 2, 2009 at 16:58, Thomas Manson <>wrote:

> Hi,
>  I need to run some webservices over JMS in a company. Those webservices
> are private to the company and for security reasons, the server that run the
> webservices doesn't have an internet connection, which lead to an error like
> this :
> Line 230 in XML document from class path resource [applicationContext.xml]
> is invalid; nested exception is org.xml.sax.SAXParseException: src-resolve:
> Cannot resolve the name 'wsdl:tExtensibilityElement' to a(n) 'type
> definition' component.
> (I'm in a spring application, spring 2.5.6, jdk 1.5)
>  I've read here
> that the internet connection was the cause and that you can deal with this
> issue with a catalog file.
> Is there an existing catalog file (with xsd) for CXF so that it can run
> without an internet connection ?
> the catalog file should be placed in the meta-inf dir of any jar in the
> classpath ?
> I don't know this catalog thing, so if somebody could give me some light on
> this, I would appreciate ;)
> Regards,
> Thomas.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message