You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "jimma (JIRA)" <ji...@apache.org> on 2010/07/30 12:39:16 UTC

[jira] Created: (CXF-2918) URIParserUtil.getAbsoluteURL() does not return a nomalized url string

URIParserUtil.getAbsoluteURL() does not return a nomalized url string
---------------------------------------------------------------------

                 Key: CXF-2918
                 URL: https://issues.apache.org/jira/browse/CXF-2918
             Project: CXF
          Issue Type: Bug
          Components: Tooling
            Reporter: jimma
            Assignee: jimma
             Fix For: 2.3


URIParserUtil.getAbsoluteURL() does not return a normalized url string, this causes some binding file customization failed :

 	@Test
	public void testBinding() throws Exception {
        env.put(ToolConstants.CFG_WSDLURL, "file:/home/jimma/code/tmp/all/../../tests/jaxws/ee/w2j/document/literal/headertest/HeaderTestService.wsdl");
        env.put(ToolConstants.CFG_BINDING, "/home/jimma/code/tests/jaxws/ee/w2j/document/literal/headertest/customfile.xml");
        env.put(ToolConstants.CFG_OUTPUTDIR, "/home/jimma/tmp/codeGen");
        processor.setContext(env);
        processor.execute();
	}

<!--customfile.xml"------>

<?xml version="1.0" encoding="UTF-8"?>
<bindings wsdlLocation="HeaderTestService.wsdl" xmlns="http://java.sun.com/xml/ns/jaxws">    
    <bindings node="wsdl:definitions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
        <package name="org.apache.cxf.package"/>
    </bindings>
</bindings>

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


[jira] Updated: (CXF-2918) URIParserUtil.getAbsoluteURL() does not return a nomalized url string

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

Daniel Kulp updated CXF-2918:
-----------------------------

    Fix Version/s: 2.2.10

> URIParserUtil.getAbsoluteURL() does not return a nomalized url string
> ---------------------------------------------------------------------
>
>                 Key: CXF-2918
>                 URL: https://issues.apache.org/jira/browse/CXF-2918
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: jimma
>            Assignee: jimma
>             Fix For: 2.3, 2.2.10
>
>
> URIParserUtil.getAbsoluteURL() does not return a normalized url string, this causes some binding file customization failed :
>  	@Test
> 	public void testBinding() throws Exception {
>         env.put(ToolConstants.CFG_WSDLURL, "file:/home/jimma/code/tmp/all/../../tests/jaxws/ee/w2j/document/literal/headertest/HeaderTestService.wsdl");
>         env.put(ToolConstants.CFG_BINDING, "/home/jimma/code/tests/jaxws/ee/w2j/document/literal/headertest/customfile.xml");
>         env.put(ToolConstants.CFG_OUTPUTDIR, "/home/jimma/tmp/codeGen");
>         processor.setContext(env);
>         processor.execute();
> 	}
> <!--customfile.xml"------>
> <?xml version="1.0" encoding="UTF-8"?>
> <bindings wsdlLocation="HeaderTestService.wsdl" xmlns="http://java.sun.com/xml/ns/jaxws">    
>     <bindings node="wsdl:definitions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
>         <package name="org.apache.cxf.package"/>
>     </bindings>
> </bindings>

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


[jira] Resolved: (CXF-2918) URIParserUtil.getAbsoluteURL() does not return a nomalized url string

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

jimma resolved CXF-2918.
------------------------

    Resolution: Fixed

> URIParserUtil.getAbsoluteURL() does not return a nomalized url string
> ---------------------------------------------------------------------
>
>                 Key: CXF-2918
>                 URL: https://issues.apache.org/jira/browse/CXF-2918
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: jimma
>            Assignee: jimma
>             Fix For: 2.3
>
>
> URIParserUtil.getAbsoluteURL() does not return a normalized url string, this causes some binding file customization failed :
>  	@Test
> 	public void testBinding() throws Exception {
>         env.put(ToolConstants.CFG_WSDLURL, "file:/home/jimma/code/tmp/all/../../tests/jaxws/ee/w2j/document/literal/headertest/HeaderTestService.wsdl");
>         env.put(ToolConstants.CFG_BINDING, "/home/jimma/code/tests/jaxws/ee/w2j/document/literal/headertest/customfile.xml");
>         env.put(ToolConstants.CFG_OUTPUTDIR, "/home/jimma/tmp/codeGen");
>         processor.setContext(env);
>         processor.execute();
> 	}
> <!--customfile.xml"------>
> <?xml version="1.0" encoding="UTF-8"?>
> <bindings wsdlLocation="HeaderTestService.wsdl" xmlns="http://java.sun.com/xml/ns/jaxws">    
>     <bindings node="wsdl:definitions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
>         <package name="org.apache.cxf.package"/>
>     </bindings>
> </bindings>

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