cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (CXF-6716) java2ws should log a warning message for a Holder parameter annoated with WebParam.Mode.IN property
Date Fri, 14 Oct 2016 14:16:22 GMT

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

Colm O hEigeartaigh closed CXF-6716.
------------------------------------

> java2ws should log a warning message for a Holder parameter annoated with WebParam.Mode.IN
property
> ---------------------------------------------------------------------------------------------------
>
>                 Key: CXF-6716
>                 URL: https://issues.apache.org/jira/browse/CXF-6716
>             Project: CXF
>          Issue Type: Improvement
>          Components: Simple Frontend
>    Affects Versions: 3.0.7, 3.1.4
>            Reporter: Jim Ma
>            Assignee: Jim Ma
>             Fix For: 3.1.5, 3.0.8, 3.2.0
>
>
> java2ws should print warning message for the follow method  and let user know the annotation
for holder parameter is invalid and treat this as inout parameter by default :
> @WebService(name = "MyEchoService", targetNamespace = "urn:echo")
> public class MyEchoService {
>     @WebResult(name = "result")
>     public String echo(
>     @WebParam(name = "message") String message,
>     @WebParam(name = "paramIn", mode = WebParam.Mode.IN, header = true) Holder<String>
paramIn,
>     @WebParam(name = "paramOut",mode = WebParam.Mode.OUT, header = true) Holder<String>
paramOut) {
>         paramOut.value = "got paramIn " + paramIn.value;
>         return "echo " + message;
>     }
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message