Return-Path: Delivered-To: apmail-ws-axis-c-dev-archive@www.apache.org Received: (qmail 15098 invoked from network); 5 Apr 2006 12:28:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 5 Apr 2006 12:28:32 -0000 Received: (qmail 6621 invoked by uid 500); 5 Apr 2006 12:28:31 -0000 Delivered-To: apmail-ws-axis-c-dev-archive@ws.apache.org Received: (qmail 6585 invoked by uid 500); 5 Apr 2006 12:28:31 -0000 Mailing-List: contact axis-c-dev-help@ws.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: "Apache AXIS C Developers List" Reply-To: "Apache AXIS C Developers List" Delivered-To: mailing list axis-c-dev@ws.apache.org Received: (qmail 6528 invoked by uid 99); 5 Apr 2006 12:28:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 05:28:31 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Apr 2006 05:28:29 -0700 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 5AF6CD4A08 for ; Wed, 5 Apr 2006 13:28:07 +0100 (BST) Message-ID: <988255003.1144240087369.JavaMail.jira@ajax> Date: Wed, 5 Apr 2006 13:28:07 +0100 (BST) From: "Fred Preston (JIRA)" To: axis-c-dev@ws.apache.org Subject: [jira] Updated: (AXISCPP-547) Problem in getAnyObject() API in Call class In-Reply-To: <1043475020.1110806888131.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/AXISCPP-547?page=all ] Fred Preston updated AXISCPP-547: --------------------------------- Assign To: (was: Mark Whitlock) > Problem in getAnyObject() API in Call class > ------------------------------------------- > > Key: AXISCPP-547 > URL: http://issues.apache.org/jira/browse/AXISCPP-547 > Project: Axis-C++ > Type: Bug > Components: Client - Stub > Reporter: James Jose > Priority: Minor > > 1. Calling getAnyObject() results in an unhandled exception if there is no data to return. API should return NULL,if there is no data to return. > 2. if getAnyObject() is called before checkMessage() API, then AxisException. > try{ > if (AXIS_SUCCESS == m_pCall->invoke()) > { > any = (AnyType*)m_pCall->getAnyObject(); > if(AXIS_SUCCESS == m_pCall->checkMessage("divResponse", "http://localhost/axis/Calculator")) > { > Ret = *(m_pCall->getElementAsInt("divReturn", 0)); > } > } > }Catch(Exception &e){ > cout< } > Here e.what() returns an empty string.It should display some error message. -- 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