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

Daniel Kulp resolved CXF-4611.
------------------------------

    Resolution: Fixed
      Assignee: Daniel Kulp
    
> 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
>            Assignee: Daniel Kulp
>            Priority: Minor
>             Fix For: 2.7.1
>
>         Attachments: CXF4611.patch
>
>
> Discussion about this jira in cxf user list: 
> http://cxf.547215.n5.nabble.com/Re-Get-a-null-pointer-if-provider-returns-null-response-in-payload-message-mode-td5717406.html#a5717410
> 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

Reply via email to