cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robin Luscombe <Robin.Lusco...@iona.com>
Subject Re: Importing schemas from jars
Date Thu, 16 Nov 2006 13:12:47 GMT
Hello James,

On Thu, Nov 16, 2006 at 07:08:39PM +0800, James Mao wrote:
[...]
> 
> BTW, the catalog is also a work-around solution for you, right? you are 
> not going to use catalog in the real system, right?

Using a catalog seems to make sense in a lot of situations.  For
example, schemas can use the following import:

    <xs:import namespace="http://schemas.xmlsoap.org/wsdl/"
	       schemaLocation="http://schemas.xmlsoap.org/wsdl/"/>

A catalog can then be used to point to a local copy of wsdl.xsd.  Or
even better, the wsdl.xsd from the cxf-common-schemas jar.

It also allows the use of 3rd-party schemas with imports without
modification.

Cheers,
Robin

Mime
View raw message