Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 88825 invoked from network); 3 Oct 2006 18:07:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 3 Oct 2006 18:07:40 -0000 Received: (qmail 20968 invoked by uid 500); 3 Oct 2006 18:07:34 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 20921 invoked by uid 500); 3 Oct 2006 18:07:34 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 20907 invoked by uid 99); 3 Oct 2006 18:07:34 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Oct 2006 11:07:34 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:48698] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 7D/57-08153-5E6A2254 for ; Tue, 03 Oct 2006 11:07:33 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 95B8E7142E0 for ; Tue, 3 Oct 2006 11:07:24 -0700 (PDT) Message-ID: <2302110.1159898844611.JavaMail.root@brutus> Date: Tue, 3 Oct 2006 11:07:24 -0700 (PDT) From: "Asankha C. Perera (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Commented: (AXIS2-1286) RawXMLINOutMessageReceiver throws up a NPE if the business logic returns null In-Reply-To: <27120644.1159855879689.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ 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: 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: axis-dev-unsubscribe@ws.apache.org For additional commands, e-mail: axis-dev-help@ws.apache.org