axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <>
Subject [jira] Commented: (AXIS2-484) Relative SchemaLocations for Xml Schema Imports in WSDL
Date Thu, 30 Mar 2006 18:55:27 GMT
    [ ] 

Davanum Srinivas commented on AXIS2-484:

Please try the experimental feature in 0.95:

> Relative SchemaLocations for Xml Schema Imports in WSDL
> -------------------------------------------------------
>          Key: AXIS2-484
>          URL:
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: wsdl
>     Versions: 0.94
>  Environment: WinXP, Tomcat 4, 5, Websphere 6
>     Reporter: Johan Andersson

> If an xml schema import (xsd:import) is added in the WSDL, Axis2 will go looking for
that import in locations the developer has no control over.
> It seems that Axis2 parses the WSDL into an object structure server side when the service
is first loaded. 
> If a relative schema import is in the WSDL the parser (WSDL4J) will try to load the import
off the filesystem relative to where the jvm (application server) started. 
> Then this fails the WSDL will not be available for download/consumption from the Axis2
> It seems (not sure) a possible solution could be to set a context root for WSDL4J to
work with.
> Preferably this would be the logical "services" context in the webapp so that the relative
path would work for both WSDL4J parsing the WSDL serverside and for a webservice consumer
downloading the WSDL and imports.

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