axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ellis Pritchard (JIRA)" <>
Subject [jira] Commented: (AXIS-1984) WSDL2Java should use xml commons resolver to resolve xs:import/include URIs
Date Wed, 11 May 2005 15:40:16 GMT
     [ ]
Ellis Pritchard commented on AXIS-1984:

A patch will be submitted soon; I'm presuming that it is ok to create a dependency on xml-commons-resolver.jar...

The patch allows catalog files to be specified on the WSDL2Java command line, and within the
axis-wsdl2java Ant task, although in the case of the latter, support of embedded Ant <xmlcatalog>
elements is limited to <catalogpath> elements, there is no way in the current Ant XMLCatalog
API to get access to e.g. files on the classpath as a URL.

<wsdl:import> and <xsd:import>/<xsd:include> URIs are resolved as a SYSTEM
ID as far as the catalog is concerned; this is compatible with XMLSchema validation tools
which use catalogs.

> WSDL2Java should use xml commons resolver to resolve xs:import/include URIs
> ---------------------------------------------------------------------------
>          Key: AXIS-1984
>          URL:
>      Project: Axis
>         Type: Improvement
>   Components: WSDL processing
>     Versions: 1.2
>  Environment: General (tested on Windows, Solaris)
>     Reporter: Ellis Pritchard

> Currently WSDL2Java assumes that the schemaLocation URI specified in an XML Schema <xs:import>
or <xs:include> element is either a URL or a file path; it would be a vast improvement
if it could use the Apache XML Commons project's Catalog based Resolver instead (
> It is not always possible to specify a file or URL location which is constant and useable
across development, test and live systems, so the ability that XML Catalogs give to map arbitrary
URIs or URI prefixes to alternative paths is invaluable when creating portable and authoritative
XML Schema/WSDL service definitions.
> The functionality could also be usefully (but in practice less importantly) employed
in <wsdl:import> elements.
> Implementation should allow a root catalog to be specified on the command line (WSDL2Java),
and should pick up the configured catalog(s) (<xmlcatalog> elements) from the Ant environment
(axis-wsdl2java Ant task).

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message