cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bin Zhu (JIRA)" <>
Subject [jira] [Updated] (CXF-4761) ensure CXF follow jaxws spec
Date Mon, 21 Jan 2013 07:42:21 GMT


Bin Zhu updated CXF-4761:


Hi Freeman,
I've uploaded my test cases for return null and null parameter scenario.
As they are just client/server application, but not part of CXF test code, I just uploaded
them directly. You may follow the below steps to test them:
1. Deploy the 2 ear files on the CXF server.
2. Run the in to launch the test
you may need to add the junit.jar to the test project since there are some Assert code. Otherwise,
you can just comment them.
In my CXF2.6.2 env, the return null case failed while the null parameter can pass.
Thanks a lot for your time.
> ensure CXF follow jaxws spec
> ------------------------------------
>                 Key: CXF-4761
>                 URL:
>             Project: CXF
>          Issue Type: Test
>            Reporter: Freeman Fang
>            Assignee: Freeman Fang
>             Fix For: 2.5.9, 2.6.6, 2.7.3, 2.8.0
>         Attachments:, AnnotationsSoapBindingRpc2.ear, AnnotationsSoapBindingRpc.ear
> especially 
> Due to the limitations described in section 5.3.1 of the WS-I Basic Profile specification
(see [8]), null values cannot be used as method arguments or as the return value from a method
which uses the rpc/literal binding.
> ♦Conformance(NullValuesinrpc/literal): Ifanullvalueispassedasanargumenttoamethod,orreturned
from a method, that uses the rpc/literal style, then an implementation MUST throw a WebServiceException.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message