[ 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<<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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira