Invalid Enum passed in WebMethod results to a null object
---------------------------------------------------------

                 Key: CXF-3278
                 URL: https://issues.apache.org/jira/browse/CXF-3278
             Project: CXF
          Issue Type: Bug
    Affects Versions: 2.3.2
            Reporter: Ioannis Mavroukakis


Given the following method

{code}
 @WebMethod
    public BaseResponse removeDepositLimits(
            @WebParam( name = SERVICE_AUTH ) @XmlElement( required = true ) 
final Authorisation auth ,
            @WebParam( name = TOKEN ) @XmlElement( required = true ) final 
String token ,
            @WebParam( name = "timeFrame" ) @XmlElement( required = true ) 
final DepositLimit.TimeFrame timeFrame )
{code}
when timeFrame is a value that's not in the TimeFrame enum, timeFrame is set to 
null, this should return an error to the invoker instead.


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