axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dushshantha Chandradasa" <>
Subject RE: How to read CPP_DOC_PROVIDER response
Date Tue, 09 Aug 2005 06:22:30 GMT
HI Linesh,


Use a wsdl file of a Doc/Lit style to auto generate code for a doc/lit
client and a server. 


Go to \tests\auto_build\testcases\wsdls folder in your axis home folder.
Get CalculatorDoc.wsdl file and auto generate client and server codes
using wsdl2ws tool as described in . You can find
implemented client code in \tests\auto_build\testcases\client\cpp folder
which is CalculatorDocClient.cpp.


Try with these.






From: [] 
Sent: Friday, August 05, 2005 7:36 PM
Subject: How to read CPP_DOC_PROVIDER response




Calculator sample made available on Axis website demonstrates reading
response from RPC_PROVIDER Calculator webservice in following way.


  if (AXIS_SUCCESS == m_pCall->invoke())
   if(AXIS_SUCCESS == m_pCall->checkMessage("addResponse",
"http://localhost/axis/Calculator <http://localhost/axis/Calculator> "))
     Ret = m_pCall->getElementAsInt("addReturn", 0);




What is the correct way of reading response from a DOC_PROVIDER



Thanks & regards,



Confidentiality Notice 

The information contained in this electronic message and any attachments
to this message are intended
for the exclusive use of the addressee(s) and may contain confidential
or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or immediately
and destroy all copies of this message and any attachments.

View raw message