How to use Handler in c++ for attachment

2009-01-22 Thread jegan

Dear All,
 I am using c++ client for j2ee web service. Service method is
having one DataHandler object as parameter. So i have to pass one
DataHandler object to service method. I have searched the documents to use
Handler object in c++, but i couldn't find . Anybody is having ideas to use
Handler in c++ , please share with me..
-- 
View this message in context: 
http://www.nabble.com/How-to-use-Handler-in-c%2B%2B-for-attachment-tp21602702p21602702.html
Sent from the Axis - C++ - User mailing list archive at Nabble.com.



Re: Web service not returning value

2009-01-20 Thread jegan

Hi,

I have referred few posts. I came to know that Axis C++ is not
supporting sendMultiRefs, where as java service will support. So I set false
to sendMultiRefs property in server-config.wsdd file.

Now it is returning result and issue is fixed.


-- 
View this message in context: 
http://www.nabble.com/Web-service-not-returning-value-tp21560031p21578135.html
Sent from the Axis - C++ - User mailing list archive at Nabble.com.



Re: Web service not returning value

2009-01-20 Thread jegan

Hi Nadir Amra,
 Thank you so much for your information. I have seen SVN
in apache site(http://svn.apache.org/viewvc/webservices/axis/trunk/java/), i
couldn't decide what should i download . I completely new to this c++ web
service. Can you please give me more details.

===

Nadir Amra wrote:
> 
> Are you using the latest code from SVN?  If not, please do so.  If the 
> latest code also does not work, I would suggest turning on trace as 
> described in last post in JIRA 
> http://issues.apache.org/jira/browse/AXISCPP-100
> 
> Nadir Amra
> 
> 
> jegan  wrote on 01/20/2009 03:54:27 AM:
> 
>> [image removed] 
>> 
>> Web service not returning value
>> 
>> jegan 
>> 
>> to:
>> 
>> axis-c-user
>> 
>> 01/20/2009 03:55 AM
>> 
>> Please respond to "Apache AXIS C User List"
>> 
>> 
>> Dear All,
>> 
>>   I have created  CalculatorService(J2EE Service in windows) 
> to
>> perform add functionality.  It had been registered in Tomcat5.5. Our
>> requirement is we should access j2ee web service from axis c++ client. 
> So, I
>> have created stubs and developed Client file.I am using CL compiler for
>> windows. When i execute the client it is invoking the service method, 
> but
>> the returned result is always zero (instead of addition result).
>> 
>> Thus 
>> 
>> xsd__int * pReturn = m_pCall->getElementAsInt( "addReturn", 0);// 
> Stub
>> file code
>> 
>> Here pReturn is always 0. It should show the service method's return 
> value.
>> 
>> 
>> Anybody can suggest me, what i missed
>> Thanks in advance...
>> 
>> -- 
>> View this message in context: http://www.nabble.com/Web-service-not-
>> returning-value-tp21560031p21560031.html
>> Sent from the Axis - C++ - User mailing list archive at Nabble.com.
>> 
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Web-service-not-returning-value-tp21560031p21577040.html
Sent from the Axis - C++ - User mailing list archive at Nabble.com.



Web service not returning value

2009-01-20 Thread jegan

Dear All,

  I have created  CalculatorService(J2EE Service in windows) to
perform add functionality.  It had been registered in Tomcat5.5. Our
requirement is we should access j2ee web service from axis c++ client. So, I
have created stubs and developed Client file.I am using CL compiler for
windows. When i execute the client it is invoking the service method, but
the returned result is always zero (instead of addition result).

Thus 

xsd__int * pReturn = m_pCall->getElementAsInt( "addReturn", 0);  // Stub
file code

Here pReturn is always 0. It should show the service method's return value.


Anybody can suggest me, what i missed
Thanks in advance...

-- 
View this message in context: 
http://www.nabble.com/Web-service-not-returning-value-tp21560031p21560031.html
Sent from the Axis - C++ - User mailing list archive at Nabble.com.