You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Krankurs Leonid <lk...@ford.com> on 2006/09/07 21:57:34 UTC
Axis C++ client, handler
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