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 James Jose <ja...@in.ibm.com> on 2005/03/11 11:21:07 UTC

Regarding addAnyObject and getAnyObject

Hai,

   I am working on getAnyObject() and addAnyObject() APIs in Call class 
and  getting some
exceptions in following cases.

addAnyObject(AnyType *param)
----------------------------

1.if NULL is passed as argument.

getAnyObject()
--------------
 
 1. If getAnyObject() is called before m_pCall->invoke() method.
 2. If getAnyObject() is called more than  twice.
 3. For the following code getting AxisException...

    if (AXIS_SUCCESS == m_pCall->invoke())
        {
 
                any= (AnyType*)m_pCall->getAnyObject(); 
 
                if(AXIS_SUCCESS == m_pCall->checkMessage("divResponse", 
"http://localhost/axis/Calculator"))
                {
 
                        ------
                }

        }

Pls help me to sort out this issues..

Regards
James
--------------------------------------------------
James Jose
Messaging Clients Team, WMQDDC
IBM Software Labs, India
Direct: 91-80- 25094331  Ext :2331
E-mail: jamejose@in.ibm.com