Hi Robin,
OK, I thought what you need is to resolve the schemaLocation in the
classpath.
e.g:
<xs:import namespace="http://schemas.xmlsoap.org/wsdl/"
schemaLocation="/schemas/wsdl/wsdl.xsd"/>
resolve the wsdl.xsd from the classpath
I have already sent a mail to the jaxb, if there's response, i'll send
the response in this mail list.
If that works, you don't need the catalog, right?
According to catalog, I agree though, it's a useful feature.
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