axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Shiell (JIRA)" <>
Subject [jira] Commented: (AXIS2-1889) WSDL with relative imports fails with FileNotFoundException.
Date Wed, 13 Jun 2007 10:44:26 GMT


James Shiell commented on AXIS2-1889:

Thanks for having a look, however I'm sorry to say this still fails for me with 1.2.

SEVERE: javax.wsdl.WSDLException: WSDLException (at /wsdl:definitions/wsdl:types/xsd:schema):
faultCode=OTHER_ERROR: An error occurred trying to resolve schema referenced at 'OSSJ-Inventory-v1-1.xsd'.: This file was not found: file:/usr/local/bea/user_projects/domains/mainline/OSSJ-Inventory-v1-1.xsd

(/usr/local/bea/user_projects/domains/mainline is the base directory of my WLS domain.)

Adding in the resolver as above resolves this issue. 

> WSDL with relative imports fails with FileNotFoundException.
> ------------------------------------------------------------
>                 Key: AXIS2-1889
>                 URL:
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.1
>         Environment: WLS 9.2, J2SE, Windows XP SP2
>            Reporter: James Shiell
>            Assignee: Eran Chinthaka
>            Priority: Critical
>             Fix For: 1.3
>         Attachments:,,
> When using a pre-defined WSDL with relative imports the imports are not resolved. This
appears to be because WSDLReader is always passed an empty base URI in WSDL11ToAxisServiceBuilder.readInTheWSDLFile(..).
> e.g.
> META-INF/service.wsdl
> META-INF/service.xsd
> If the import references "service.xsd" then the file is not found. 
> I would expect it to be picked up from the same location. I would presume this could
be accomplished by setting the base URI of the WSDLToAxisServiceBuilder in the DeploymentEngine.popualteService(..)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message