Hi Freeman, It would take some time for me to migrate my cases to CXF framework since I was not quite familiar with the test framework.. However, I've tried to migrate your cases in my CXF env(2.6.2), the result is similar to my cases: return null scenario doesn't work while the null parameter scenario works. Have you tried the test cases in a CXF2.6.2 env? Is it possible a specific issue for 2.6.2??
2013/1/21 Freeman Fang (JIRA) <[email protected]> > > [ > https://issues.apache.org/jira/browse/CXF-4761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13558601#comment-13558601] > > Freeman Fang commented on CXF-4761: > ----------------------------------- > > Hi, > > Could you please append a testcase similar as I added for this issue? > > That's the most fast way I can have a look at your test and figure out if > it's a pure cxf side issue, I don't wanna setup any JEE container to run > your testcase. > > Thanks > Freeman > > > > > 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 >
