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.

Reply via email to