axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dushshantha Chandradasa" <dchandrad...@virtusa.com>
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
http://ws.apache.org/axis/cpp/arch/WSDL2Ws.html#codegen . You can find
implemented client code in \tests\auto_build\testcases\client\cpp folder
which is CalculatorDocClient.cpp.

 

Try with these.

 

Thanks, 

Dushshantha

 

________________________________

From: linesh.mahadik@wipro.com [mailto:linesh.mahadik@wipro.com] 
Sent: Friday, August 05, 2005 7:36 PM
To: axis-c-user@ws.apache.org
Subject: How to read CPP_DOC_PROVIDER response

 

Hi, 

 

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
webservice?

 

 

Thanks & regards,

 

Linesh



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
Mailadmin@wipro.com immediately
and destroy all copies of this message and any attachments.
	

Mime
View raw message