You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Grant McDonald (JIRA)" <ji...@apache.org> on 2006/07/02 09:36:51 UTC

[jira] Created: (SM-479) Add support for relative schema imports in WSDLFlattener

Add support for relative schema imports in WSDLFlattener
--------------------------------------------------------

         Key: SM-479
         URL: https://issues.apache.org/activemq/browse/SM-479
     Project: ServiceMix
        Type: Improvement

  Components: servicemix-common  
    Versions: incubation    
 Environment: Ubuntu Linux 5.10, Windows XP SP2
    Reporter: Grant McDonald
    Priority: Minor
 Attachments: WSDLFlattener.java.patch

When parsing schemas for flattening a WSDL definition, the schemas are loaded with the baseUri set to null.  This has the effect of using the serviceunit root path for the baseUri which in the case of a nested hierarchy of schemas results in import errors.  A trivial patch has been attached for consideration.

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


Re: [jira] Updated: (SM-479) Add support for relative schema imports in WSDLFlattener

Posted by Guillaume Nodet <gn...@gmail.com>.
Sure.
Could you raise a JIRA and attach any test case / patch you have ?

Cheers,
Guillaume Nodet

On 7/24/06, Terry Cox <te...@meta-concepts.com> wrote:
>
> > When parsing schemas for flattening a WSDL definition, the schemas
> > are loaded with the baseUri set to null.
>
> This same problem occurs when using the Validation component to validate
> against a schema with imports. Hopefully this can be fixed in the same
> way?
>
> Terry
>

Re: [jira] Updated: (SM-479) Add support for relative schema imports in WSDLFlattener

Posted by Terry Cox <te...@meta-concepts.com>.
> When parsing schemas for flattening a WSDL definition, the schemas 
> are loaded with the baseUri set to null.

This same problem occurs when using the Validation component to validate 
against a schema with imports. Hopefully this can be fixed in the same way?

Terry

[jira] Updated: (SM-479) Add support for relative schema imports in WSDLFlattener

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-479?page=all ]

Guillaume Nodet updated SM-479:
-------------------------------

        Fix Version/s: 3.0-M3
    Affects Version/s: 3.0-M2
                           (was: incubation)
             Assignee: Guillaume Nodet

> Add support for relative schema imports in WSDLFlattener
> --------------------------------------------------------
>
>                 Key: SM-479
>                 URL: https://issues.apache.org/activemq/browse/SM-479
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-common
>    Affects Versions: 3.0-M2
>         Environment: Ubuntu Linux 5.10, Windows XP SP2
>            Reporter: Grant McDonald
>         Assigned To: Guillaume Nodet
>            Priority: Minor
>             Fix For: 3.0-M3
>
>         Attachments: WSDLFlattener.java.patch
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> When parsing schemas for flattening a WSDL definition, the schemas are loaded with the baseUri set to null.  This has the effect of using the serviceunit root path for the baseUri which in the case of a nested hierarchy of schemas results in import errors.  A trivial patch has been attached for consideration.

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

        

[jira] Resolved: (SM-479) Add support for relative schema imports in WSDLFlattener

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SM-479?page=all ]

Guillaume Nodet resolved SM-479.
--------------------------------

    Resolution: Fixed

Author: gnodet
Date: Mon Jul 24 03:38:12 2006
New Revision: 425001

URL: http://svn.apache.org/viewvc?rev=425001&view=rev
Log:
SM-479: Add support for relative schema imports in WSDLFlattener
Patch provided by Grant McDonald

Modified:
    incubator/servicemix/trunk/servicemix-common/src/main/java/org/apache/servicemix/common/tools/wsdl/WSDLFlattener.java



> Add support for relative schema imports in WSDLFlattener
> --------------------------------------------------------
>
>                 Key: SM-479
>                 URL: https://issues.apache.org/activemq/browse/SM-479
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-common
>    Affects Versions: 3.0-M2
>         Environment: Ubuntu Linux 5.10, Windows XP SP2
>            Reporter: Grant McDonald
>         Assigned To: Guillaume Nodet
>            Priority: Minor
>             Fix For: 3.0-M3
>
>         Attachments: WSDLFlattener.java.patch
>
>   Original Estimate: 15 minutes
>  Remaining Estimate: 15 minutes
>
> When parsing schemas for flattening a WSDL definition, the schemas are loaded with the baseUri set to null.  This has the effect of using the serviceunit root path for the baseUri which in the case of a nested hierarchy of schemas results in import errors.  A trivial patch has been attached for consideration.

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