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 (Created) (JIRA)" <ji...@apache.org> on 2011/10/19 06:34:11 UTC

[jira] [Created] (CXF-3862) BindingCustomization does not work for the wsdl url like file://home/usr/../../wsdl/helloworld.wsdl

BindingCustomization does not work for the wsdl url like file://home/usr/../../wsdl/helloworld.wsdl
---------------------------------------------------------------------------------------------------

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


When the the binding file like the below is gave to customize the package name and there is some ".." or "." in the given wsdl url, wsdl2java fails to generate the class in the expected package :

----binding file ----------

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

----command to generate code ---
wsdl2java -b bindingfile.xml file://home/usr/hello/world/../../hello-world.wsdl 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CXF-3862) BindingCustomization does not work for the wsdl url like file://home/usr/../../wsdl/helloworld.wsdl

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

Daniel Kulp updated CXF-3862:
-----------------------------

    Fix Version/s: 2.4.4
                   2.3.8
    
> BindingCustomization does not work for the wsdl url like file://home/usr/../../wsdl/helloworld.wsdl
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3862
>                 URL: https://issues.apache.org/jira/browse/CXF-3862
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: jimma
>            Assignee: jimma
>             Fix For: 2.3.8, 2.4.4
>
>
> When the the binding file like the below is gave to customize the package name and there is some ".." or "." in the given wsdl url, wsdl2java fails to generate the class in the expected package :
> ----binding file ----------
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <bindings wsdlLocation="hello-world.wsdl" xmlns="http://java.sun.com/xml/ns/jaxws">    
>     <bindings node="ns1:definitions" xmlns:ns1="http://schemas.xmlsoap.org/wsdl/">
>         <package name="org.apache.cxf"/>
>     </bindings>
> </bindings>
> ----command to generate code ---
> wsdl2java -b bindingfile.xml file://home/usr/hello/world/../../hello-world.wsdl 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CXF-3862) BindingCustomization does not work for the wsdl url like file://home/usr/../../wsdl/helloworld.wsdl

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

Daniel Kulp updated CXF-3862:
-----------------------------

    Fix Version/s:     (was: 2.3.8)
    
> BindingCustomization does not work for the wsdl url like file://home/usr/../../wsdl/helloworld.wsdl
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3862
>                 URL: https://issues.apache.org/jira/browse/CXF-3862
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: jimma
>            Assignee: jimma
>             Fix For: 2.4.4
>
>
> When the the binding file like the below is gave to customize the package name and there is some ".." or "." in the given wsdl url, wsdl2java fails to generate the class in the expected package :
> ----binding file ----------
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <bindings wsdlLocation="hello-world.wsdl" xmlns="http://java.sun.com/xml/ns/jaxws">    
>     <bindings node="ns1:definitions" xmlns:ns1="http://schemas.xmlsoap.org/wsdl/">
>         <package name="org.apache.cxf"/>
>     </bindings>
> </bindings>
> ----command to generate code ---
> wsdl2java -b bindingfile.xml file://home/usr/hello/world/../../hello-world.wsdl 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (CXF-3862) BindingCustomization does not work for the wsdl url like file://home/usr/../../wsdl/helloworld.wsdl

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

jimma updated CXF-3862:
-----------------------

    Fix Version/s: 2.5
    
> BindingCustomization does not work for the wsdl url like file://home/usr/../../wsdl/helloworld.wsdl
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3862
>                 URL: https://issues.apache.org/jira/browse/CXF-3862
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: jimma
>            Assignee: jimma
>             Fix For: 2.4.4, 2.5
>
>
> When the the binding file like the below is gave to customize the package name and there is some ".." or "." in the given wsdl url, wsdl2java fails to generate the class in the expected package :
> ----binding file ----------
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <bindings wsdlLocation="hello-world.wsdl" xmlns="http://java.sun.com/xml/ns/jaxws">    
>     <bindings node="ns1:definitions" xmlns:ns1="http://schemas.xmlsoap.org/wsdl/">
>         <package name="org.apache.cxf"/>
>     </bindings>
> </bindings>
> ----command to generate code ---
> wsdl2java -b bindingfile.xml file://home/usr/hello/world/../../hello-world.wsdl 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CXF-3862) BindingCustomization does not work for the wsdl url like file://home/usr/../../wsdl/helloworld.wsdl

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

jimma resolved CXF-3862.
------------------------

    Resolution: Fixed
    
> BindingCustomization does not work for the wsdl url like file://home/usr/../../wsdl/helloworld.wsdl
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CXF-3862
>                 URL: https://issues.apache.org/jira/browse/CXF-3862
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>            Reporter: jimma
>            Assignee: jimma
>             Fix For: 2.4.4, 2.5
>
>
> When the the binding file like the below is gave to customize the package name and there is some ".." or "." in the given wsdl url, wsdl2java fails to generate the class in the expected package :
> ----binding file ----------
> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
> <bindings wsdlLocation="hello-world.wsdl" xmlns="http://java.sun.com/xml/ns/jaxws">    
>     <bindings node="ns1:definitions" xmlns:ns1="http://schemas.xmlsoap.org/wsdl/">
>         <package name="org.apache.cxf"/>
>     </bindings>
> </bindings>
> ----command to generate code ---
> wsdl2java -b bindingfile.xml file://home/usr/hello/world/../../hello-world.wsdl 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira