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

Bin Zhu updated CXF-4761:
-------------------------

    Attachment: AnnoRPCBindingTestClient.zip
                AnnotationsSoapBindingRpc2.ear
                AnnotationsSoapBindingRpc.ear

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 SOAPBindingRuntimeTestCase.java in AnnoRPCBindingTestClient.zip to 
launch the test case.
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 3.6.2.3
> ------------------------------------
>
>                 Key: CXF-4761
>                 URL: https://issues.apache.org/jira/browse/CXF-4761
>             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: AnnoRPCBindingTestClient.zip, 
> 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: http://www.atlassian.com/software/jira

Reply via email to