WSDL location in binding file must be an exact string match to wsdl2java arg 
-----------------------------------------------------------------------------

                 Key: CXF-556
                 URL: https://issues.apache.org/jira/browse/CXF-556
             Project: CXF
          Issue Type: Bug
            Reporter: Jonathan Anstey


The wsdl URI in a binding file and wsdl URI in a wsdl2java call need to be 
exact. String comparison is used instead of URI comparison. For example, as 
shown below, /a/path/to/hello_world.wsdl is not considered the same as 
/a/path/to/../to/hello_world.wsdl.

In build.xml:
...
<wsdl2java file="hello_world.wsdl" dir="/a/path/to" bindingfile="binding.xml"/>
...

In binding.xml:
<bindings wsdlLocation="/a/path/to/../to/hello_world.wsdl"
...

FYI: Part of the problem exists in 
tools/wsdlto/frontend/jaxws/src/main/java/org/apache/cxf/tools/wsdlto/frontend/jaxws/customiztion/CustomizationParser.java
 on the following line:
            if (wsdlURI.toString().equals(this.wsdlURL)) {



-- 
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