You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by "John Hawkins (JIRA)" <ax...@ws.apache.org> on 2005/03/14 15:01:09 UTC
[jira] Updated: (AXISCPP-547) Problem in getAnyObject() API in Call class
[ http://issues.apache.org/jira/browse/AXISCPP-547?page=history ]
John Hawkins updated AXISCPP-547:
---------------------------------
Component: Client - Stub
> 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
>
> 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<<e.what();
> }
> 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
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira