[
http://issues.apache.org/jira/browse/AXIS2-1286?page=comments#action_12439394 ]
Asankha C. Perera commented on AXIS2-1286:
------------------------------------------
<service >
<parameter name="ServiceClass" locked="false">test.mr.MRTest1</parameter>
<operation name="returnNull">
<messageReceiver
class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver"/>
<actionMapping>urn:returnNull</actionMapping>
</operation>
</service>
public class MRTest1 {
public OMElement returnNull(OMElement element){
....
return null;
}
}
The above throws a NPE which is returned as the SOAP fault
> RawXMLINOutMessageReceiver throws up a NPE if the business logic returns null
> -----------------------------------------------------------------------------
>
> Key: AXIS2-1286
> URL: http://issues.apache.org/jira/browse/AXIS2-1286
> Project: Apache Axis 2.0 (Axis2)
> Issue Type: Bug
> Components: rpc
> Reporter: Asankha C. Perera
> Assigned To: Asankha C. Perera
> Priority: Minor
>
> The RawXMLINOutMessageReceiver currently throws a NPE if the method invoked
> on the service implementation class returns null. A meaningful SOAP fault
> should be returned to the client.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]