You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "William Tam (JIRA)" <ji...@apache.org> on 2010/04/16 21:24:26 UTC

[jira] Created: (CXF-2767) WSDLDefinitionBuilder unable to handle schema location with spaces

WSDLDefinitionBuilder unable to handle schema location with spaces
------------------------------------------------------------------

                 Key: CXF-2767
                 URL: https://issues.apache.org/jira/browse/CXF-2767
             Project: CXF
          Issue Type: Bug
          Components: OSGi
            Reporter: William Tam
             Fix For: 2.3, 2.2.8


WSDL schemaLocation with spaces in the relative path is valid but WSDLDefintionBuilder can't handle it because it does not encode the spaces before using it in URI methods.

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

        

[jira] Updated: (CXF-2767) Unable to handle schema location with spaces and serve up WSDL URL with unencoded spaces

Posted by "William Tam (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Tam updated CXF-2767:
-----------------------------

    Attachment:     (was: CXF-2767.patch)

> Unable to handle schema location with spaces and serve up WSDL URL with unencoded spaces
> ----------------------------------------------------------------------------------------
>
>                 Key: CXF-2767
>                 URL: https://issues.apache.org/jira/browse/CXF-2767
>             Project: CXF
>          Issue Type: Bug
>          Components: OSGi
>            Reporter: William Tam
>             Fix For: 2.3, 2.2.8
>
>
> WSDL schemaLocation with spaces in the relative path is valid but WSDLDefintionBuilder can't handle it because it does not encode the spaces before using it in URI methods.
> Another problem is that ?wsdl can serve up a WSDL that includes unencoded space (e.g. http://localhost:3580/services/AddCustomer?xsd=../schema/folder with spaces/customer.xsd).  It causes problem for client.

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


[jira] Commented: (CXF-2767) WSDLDefinitionBuilder unable to handle schema location with spaces

Posted by "William Tam (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CXF-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12857949#action_12857949 ] 

William Tam commented on CXF-2767:
----------------------------------

Please review the attached patch.  (I forgot to add banner comments to the test schemas, but I am going to leave them to you. thx)

> WSDLDefinitionBuilder unable to handle schema location with spaces
> ------------------------------------------------------------------
>
>                 Key: CXF-2767
>                 URL: https://issues.apache.org/jira/browse/CXF-2767
>             Project: CXF
>          Issue Type: Bug
>          Components: OSGi
>            Reporter: William Tam
>             Fix For: 2.3, 2.2.8
>
>         Attachments: CXF-2767.patch
>
>
> WSDL schemaLocation with spaces in the relative path is valid but WSDLDefintionBuilder can't handle it because it does not encode the spaces before using it in URI methods.

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

        

[jira] Updated: (CXF-2767) Unable to handle schema location with spaces and serve up WSDL URL with unencoded spaces

Posted by "William Tam (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Tam updated CXF-2767:
-----------------------------

    Attachment: CXF-2767.patch

> Unable to handle schema location with spaces and serve up WSDL URL with unencoded spaces
> ----------------------------------------------------------------------------------------
>
>                 Key: CXF-2767
>                 URL: https://issues.apache.org/jira/browse/CXF-2767
>             Project: CXF
>          Issue Type: Bug
>          Components: OSGi
>            Reporter: William Tam
>             Fix For: 2.3, 2.2.8
>
>         Attachments: CXF-2767.patch
>
>
> WSDL schemaLocation with spaces in the relative path is valid but WSDLDefintionBuilder can't handle it because it does not encode the spaces before using it in URI methods.
> Another problem is that ?wsdl can serve up a WSDL that includes unencoded space (e.g. http://localhost:3580/services/AddCustomer?xsd=../schema/folder with spaces/customer.xsd).  It causes problem for client.

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


[jira] Updated: (CXF-2767) Unable to handle schema location with spaces and serve up WSDL URL with unencoded spaces

Posted by "William Tam (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Tam updated CXF-2767:
-----------------------------

        Summary: Unable to handle schema location with spaces and serve up WSDL URL with unencoded spaces  (was: WSDLDefinitionBuilder unable to handle schema location with spaces)
    Description: 
WSDL schemaLocation with spaces in the relative path is valid but WSDLDefintionBuilder can't handle it because it does not encode the spaces before using it in URI methods.

Another problem is that ?wsdl can serve up a WSDL that includes unencoded space (e.g. http://localhost:3580/services/AddCustomer?xsd=../schema/folder with spaces/customer.xsd).  It causes problem for client.

  was:WSDL schemaLocation with spaces in the relative path is valid but WSDLDefintionBuilder can't handle it because it does not encode the spaces before using it in URI methods.


> Unable to handle schema location with spaces and serve up WSDL URL with unencoded spaces
> ----------------------------------------------------------------------------------------
>
>                 Key: CXF-2767
>                 URL: https://issues.apache.org/jira/browse/CXF-2767
>             Project: CXF
>          Issue Type: Bug
>          Components: OSGi
>            Reporter: William Tam
>             Fix For: 2.3, 2.2.8
>
>         Attachments: CXF-2767.patch
>
>
> WSDL schemaLocation with spaces in the relative path is valid but WSDLDefintionBuilder can't handle it because it does not encode the spaces before using it in URI methods.
> Another problem is that ?wsdl can serve up a WSDL that includes unencoded space (e.g. http://localhost:3580/services/AddCustomer?xsd=../schema/folder with spaces/customer.xsd).  It causes problem for client.

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


[jira] Resolved: (CXF-2767) Unable to handle schema location with spaces and serve up WSDL URL with unencoded spaces

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2767.
------------------------------

    Fix Version/s:     (was: 2.3)
       Resolution: Fixed

> Unable to handle schema location with spaces and serve up WSDL URL with unencoded spaces
> ----------------------------------------------------------------------------------------
>
>                 Key: CXF-2767
>                 URL: https://issues.apache.org/jira/browse/CXF-2767
>             Project: CXF
>          Issue Type: Bug
>          Components: OSGi
>            Reporter: William Tam
>            Assignee: Daniel Kulp
>             Fix For: 2.2.8
>
>         Attachments: CXF-2767.patch
>
>
> WSDL schemaLocation with spaces in the relative path is valid but WSDLDefintionBuilder can't handle it because it does not encode the spaces before using it in URI methods.
> Another problem is that ?wsdl can serve up a WSDL that includes unencoded space (e.g. http://localhost:3580/services/AddCustomer?xsd=../schema/folder with spaces/customer.xsd).  It causes problem for client.

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


[jira] Updated: (CXF-2767) WSDLDefinitionBuilder unable to handle schema location with spaces

Posted by "William Tam (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Tam updated CXF-2767:
-----------------------------

    Attachment: CXF-2767.patch

> WSDLDefinitionBuilder unable to handle schema location with spaces
> ------------------------------------------------------------------
>
>                 Key: CXF-2767
>                 URL: https://issues.apache.org/jira/browse/CXF-2767
>             Project: CXF
>          Issue Type: Bug
>          Components: OSGi
>            Reporter: William Tam
>             Fix For: 2.3, 2.2.8
>
>         Attachments: CXF-2767.patch
>
>
> WSDL schemaLocation with spaces in the relative path is valid but WSDLDefintionBuilder can't handle it because it does not encode the spaces before using it in URI methods.

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

        

[jira] Updated: (CXF-2767) WSDLDefinitionBuilder unable to handle schema location with spaces

Posted by "William Tam (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Tam updated CXF-2767:
-----------------------------

    Attachment:     (was: CXF-2767.patch)

> WSDLDefinitionBuilder unable to handle schema location with spaces
> ------------------------------------------------------------------
>
>                 Key: CXF-2767
>                 URL: https://issues.apache.org/jira/browse/CXF-2767
>             Project: CXF
>          Issue Type: Bug
>          Components: OSGi
>            Reporter: William Tam
>             Fix For: 2.3, 2.2.8
>
>
> WSDL schemaLocation with spaces in the relative path is valid but WSDLDefintionBuilder can't handle it because it does not encode the spaces before using it in URI methods.

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


[jira] Updated: (CXF-2767) Unable to handle schema location with spaces and serve up WSDL URL with unencoded spaces

Posted by "William Tam (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Tam updated CXF-2767:
-----------------------------

    Comment: was deleted

(was: Please review the attached patch.  (I forgot to add banner comments to the test schemas, but I am going to leave them to you. thx))

> Unable to handle schema location with spaces and serve up WSDL URL with unencoded spaces
> ----------------------------------------------------------------------------------------
>
>                 Key: CXF-2767
>                 URL: https://issues.apache.org/jira/browse/CXF-2767
>             Project: CXF
>          Issue Type: Bug
>          Components: OSGi
>            Reporter: William Tam
>             Fix For: 2.3, 2.2.8
>
>         Attachments: CXF-2767.patch
>
>
> WSDL schemaLocation with spaces in the relative path is valid but WSDLDefintionBuilder can't handle it because it does not encode the spaces before using it in URI methods.
> Another problem is that ?wsdl can serve up a WSDL that includes unencoded space (e.g. http://localhost:3580/services/AddCustomer?xsd=../schema/folder with spaces/customer.xsd).  It causes problem for client.

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


[jira] Updated: (CXF-2767) Unable to handle schema location with spaces and serve up WSDL URL with unencoded spaces

Posted by "William Tam (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

William Tam updated CXF-2767:
-----------------------------

    Attachment: CXF-2767.patch

Attached patch for your review.

> Unable to handle schema location with spaces and serve up WSDL URL with unencoded spaces
> ----------------------------------------------------------------------------------------
>
>                 Key: CXF-2767
>                 URL: https://issues.apache.org/jira/browse/CXF-2767
>             Project: CXF
>          Issue Type: Bug
>          Components: OSGi
>            Reporter: William Tam
>             Fix For: 2.3, 2.2.8
>
>         Attachments: CXF-2767.patch
>
>
> WSDL schemaLocation with spaces in the relative path is valid but WSDLDefintionBuilder can't handle it because it does not encode the spaces before using it in URI methods.
> Another problem is that ?wsdl can serve up a WSDL that includes unencoded space (e.g. http://localhost:3580/services/AddCustomer?xsd=../schema/folder with spaces/customer.xsd).  It causes problem for client.

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


[jira] Assigned: (CXF-2767) Unable to handle schema location with spaces and serve up WSDL URL with unencoded spaces

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-2767?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp reassigned CXF-2767:
--------------------------------

    Assignee: Daniel Kulp

> Unable to handle schema location with spaces and serve up WSDL URL with unencoded spaces
> ----------------------------------------------------------------------------------------
>
>                 Key: CXF-2767
>                 URL: https://issues.apache.org/jira/browse/CXF-2767
>             Project: CXF
>          Issue Type: Bug
>          Components: OSGi
>            Reporter: William Tam
>            Assignee: Daniel Kulp
>             Fix For: 2.3, 2.2.8
>
>         Attachments: CXF-2767.patch
>
>
> WSDL schemaLocation with spaces in the relative path is valid but WSDLDefintionBuilder can't handle it because it does not encode the spaces before using it in URI methods.
> Another problem is that ?wsdl can serve up a WSDL that includes unencoded space (e.g. http://localhost:3580/services/AddCustomer?xsd=../schema/folder with spaces/customer.xsd).  It causes problem for client.

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