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 jegan <je...@indiatimes.com> on 2009/01/20 10:54:27 UTC
Web service not returning value
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.
Re: Web service not returning value
Posted by jegan <je...@indiatimes.com>.
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
Posted by jegan <je...@indiatimes.com>.
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 <je...@indiatimes.com> 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.
Re: Web service not returning value
Posted by Nadir Amra <am...@us.ibm.com>.
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 <je...@indiatimes.com> 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.
>