Hi
I've been trying (so far in vain) to get wsimport to resolve imported schema
definitions from the classpath with the use of a catalog entry along the
lines of:

<catalog ...>
<system systemId="http://mydomain.com/model/xsd/RequestHeader.xsd";
                                
uri="classpath:/com.mydomain.model.xsd.requestheader.xsd"/>
</catalog>

Within my service xsd the import looks like this:

<xsd:import namespace="http://mydomain.com/model/xsd/RequestHeader.xsd";  />    


Does anyone know if this can be done? (there's a similar jaxb posting
(http://www.nabble.com/Resolve-the-schema-location-from-the-classpath--td7372851.html)
where the outcome was to create a ClasspathCatalogResolver which is capable
of handling classpath:com/acme/foo/myschema.xsd links.) Would I need a
similar enhancement for the jaxws-maven-plugin? 

Seems surprising that schemas can't be resolved from the classpath in this
way - which makes me wonder if I'm doing something wrong...

Thanks for any help
Matt

-- 
View this message in context: 
http://www.nabble.com/jaxws-maven-plugin---resolve-XSDs-from-classpath-with-catalog-tp21146779p21146779.html
Sent from the mojo - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to