You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org> on 2006/04/20 12:14:06 UTC

[jira] Resolved: (AXIS2-561) codegen schema lookup bug

     [ http://issues.apache.org/jira/browse/AXIS2-561?page=all ]
     
Ajith Harshana Ranabahu resolved AXIS2-561:
-------------------------------------------

    Resolution: Fixed

This issue is solved by taking the base uri of the WSDLDefinition object and treating it as the base uri for the schemas if the references are relative. It works anyway for absolute references.


> codegen schema lookup bug
> -------------------------
>
>          Key: AXIS2-561
>          URL: http://issues.apache.org/jira/browse/AXIS2-561
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: wsdl
>     Versions: 0.96
>     Reporter: Frank Cornelis
>     Assignee: Ajith Harshana Ranabahu

>
> When you import a schema in your WSDL, codegen cannot locate it since it's only looking in the present work directory. codegen should look in the directory where the WSDL is located, since that's where one also puts the schema XSDs. This bug entered somehow in the SVN version of Axis2. Maybe the codegen Ant task should have a basedir attribute to be able to pass on the directory where to look for additional XSDs when importing.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira