You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2011/09/14 18:33:08 UTC

[jira] [Resolved] (CXF-3792) cxf-codegen-plugin wrong method signature generation

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

Daniel Kulp resolved CXF-3792.
------------------------------

       Resolution: Not A Problem
    Fix Version/s: Invalid
         Assignee: Daniel Kulp


The generated method signature is exactly per-spec and also matches what the JAX-WS RI generates for the same WSDL.   This is working as designed and as per specification.  

If you want/need it in that form, you need to provide a jaxws customization/binding file to force it into "bare" mode.  With CXF 2.4.2, you can add a "-bareMethods" flag to wsdl2java to accomplish it as well.  (with the maven codegen plugin, just add <bareMethods/> to the wsdlOptions.)

> cxf-codegen-plugin wrong method signature generation
> ----------------------------------------------------
>
>                 Key: CXF-3792
>                 URL: https://issues.apache.org/jira/browse/CXF-3792
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.3.5
>            Reporter: Alessandro Riva
>            Assignee: Daniel Kulp
>             Fix For: Invalid
>
>         Attachments: ErrorCXF.zip
>
>
> Starting from 2.3.5 version, there is an error in the generated signature for the attached example
> (Expected result should be:
> {code}
> public interface TestServicePortType {
>     @WebResult(name = "executionDoneResponse", targetNamespace = "http://webservices/testService/", partName = "parameters")
>     @WebMethod(action = "http://webservices/testService/executionDone")
>     public ExecutionDoneResponse executionDone(
>         @WebParam(partName = "parameters", name = "executionDone", targetNamespace = "http://webservices/testService/")
>         ExecutionDone parameters
>     ) throws webservices.user.XmlinvalidUserCredentialFaultMessage;
> }
> )
> {code}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira