axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krankurs Leonid <lkran...@ford.com>
Subject Axis C++ client, handler
Date Thu, 07 Sep 2006 19:57:34 GMT

I created the client side handler follow Axis C++ doc

i am able in the debugger mode to go through the client code and the handler
code.
.......................
IMessageData* pIMsg = (IMessageData*) pvIMsg;

IHandlerSoapSerializer* pISZ;
pIMsg->getSoapSerializer(&pISZ);

IHandlerSoapDeSerializer* pIDZ;
pIMsg->getSoapDeSerializer(&pIDZ);

AxisChar* pSoapBody = 0;

if( pIMsg->isPastPivot() ) 
{/*this is a response*/
		
   pSoapBody = (char*)pISZ->getBodyAsString();   //return 0 !!!!
.......	
} 
else 
{

..............

pSoapBody = pIDZ->getBodyAsChar();   // throws exception!!!!!!!!


}


pIDZ->getBodyAsChar --- throws exception


pISZ->getBodyAsString() --- return 0


The client code is Axis C++ Calculator,
the server is .Net Web service generated from Calculator WSDL.
(without handler it is work fine)

i need to change soap body in both request/response pivot


PLEASE HELP

THANK YOU IN ADVANCE


-- 
View this message in context: http://www.nabble.com/Axis-C%2B%2B-client%2C-handler-tf2235232.html#a6197265
Sent from the Axis - C++ - User forum at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message