viola.lu created CXF-4611:
-----------------------------

             Summary: 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.7.0, 2.6.2
            Reporter: viola.lu
            Priority: Minor
             Fix For: 2.7.1


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