cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Anstey (JIRA)" <j...@apache.org>
Subject [jira] Updated: (CXF-556) WSDL location in binding file must be an exact string match to wsdl2java arg
Date Thu, 19 Apr 2007 18:32:15 GMT

     [ https://issues.apache.org/jira/browse/CXF-556?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Anstey updated CXF-556:
--------------------------------

    Attachment: cxf-556.patch

Patch to fix the issue.

> 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
>         Attachments: cxf-556.patch
>
>
> 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.


Mime
View raw message