[ http://issues.apache.org/jira/browse/AXIS2-1286?page=comments#action_12439601 ] Asankha C. Perera commented on AXIS2-1286: ------------------------------------------
The behavior has been updated as per Sanjiva's email below to return an empty message when the ServiceClass returns null. ==== email message ==== Is your solution the right one? If the biz logic returns null then its saying it has no XML to return. IMO that should result in the following message: <s:Envelope> <s:Body/> </s:Envelope> Boring, but valid SOAP message. Its not a fault to have no output. If this was a POX request this'll map to HTTP 200 OK with a content length of zero .. which is correct I'd argue. Sanjiva. ==== end email message ==== > 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]
