cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jimma (JIRA)" <j...@apache.org>
Subject [jira] Created: (CXF-2918) URIParserUtil.getAbsoluteURL() does not return a nomalized url string
Date Fri, 30 Jul 2010 10:39:16 GMT
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.


Mime
View raw message