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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, August 05, 2005 7:36 PM
To: [email protected]
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"))
   {
     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 [EMAIL PROTECTED] immediately
and destroy all copies of this message and any attachments.

Reply via email to