axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Shiell (JIRA)" <j...@apache.org>
Subject [jira] Commented: (AXIS2-1889) WSDL with relative imports fails with FileNotFoundException.
Date Thu, 14 Jun 2007 12:35:26 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-1889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12504693
] 

James Shiell commented on AXIS2-1889:
-------------------------------------

A further note: This is on WLS 9.2, so the AAR file remain zipped. I know this causes problems
for Muse, which expects to be unzipped - perhaps this could be a similar thing?



> WSDL with relative imports fails with FileNotFoundException.
> ------------------------------------------------------------
>
>                 Key: AXIS2-1889
>                 URL: https://issues.apache.org/jira/browse/AXIS2-1889
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: wsdl
>    Affects Versions: 1.1
>         Environment: WLS 9.2, J2SE 1.5.0.4, Windows XP SP2
>            Reporter: James Shiell
>            Assignee: Eran Chinthaka
>            Priority: Critical
>             Fix For: 1.3
>
>         Attachments: sample-j2se14.java, sample.java, wsdl.zip
>
>
> 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(..)
method.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message