You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "viola.lu (JIRA)" <ji...@apache.org> on 2012/11/07 10:55:13 UTC
[jira] [Updated] (CXF-4611) Set
jaxws.provider.interpretNullAsOneway as true by default
[ https://issues.apache.org/jira/browse/CXF-4611?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
viola.lu updated CXF-4611:
--------------------------
Attachment: CXF4611.patch
Here is the patch, pls review
> Set jaxws.provider.interpretNullAsOneway as true by default
> -----------------------------------------------------------
>
> Key: CXF-4611
> URL: https://issues.apache.org/jira/browse/CXF-4611
> Project: CXF
> Issue Type: Bug
> Components: JAX-WS Runtime
> Affects Versions: 2.6.2, 2.7.0
> Reporter: viola.lu
> Priority: Minor
> Fix For: 2.7.1
>
> Attachments: CXF4611.patch
>
>
> Now jaxws.provider.interpretNullAsOneway is set as false, this will result in null pointer exception if provider return null response.
> According to JAXWS spec :
> 5.1.1 Invocation
> A Provider based service instance’s invoke method is called for each message received for the service.
> When an invoke method returns null, it is considered that no response needs to be sent by service.
> No response should be sent.
> So by default set it as true
--
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