Sutter wrote:
Hello Rajiky
I'm not so familiar with c development and for my opinion it is not
possible to debug a remote service.
If it is how can I enable it? I already added some printf in the
service implementation. The first one is in the initialization of the
service.
But these output are not visible - so I think the Segmentation fault
occurs when loading the so file.
Could you please send in your service code and the commands you used to
compile the service?
That would help us to figure out the problem.
Thanks,
Samisa...
Michael
Rajika Kumarasiri wrote:
Hello Michael,
I did the same thing but for the client side(i.e developed a c++
client which uses the axis2/c libs), and it works fine for me, and I
think your case should be possible, may be you can enable debug
options in compilation and try to debug to figure out where it breaks.
Rajika
On 8/29/07, *Michael Sutter* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
wrote:
Hello list,
I want to access cpp classes from a axis2c service. Therefore I
generated a simple service adding two numbers. I compiled the
skeleton file with g++ and all the rest of the files with gcc.
After that everything is linked with g++.
The problem is when I want to access the service a always get a
segmentation fault. For my opinion everything is wright - all .h
have the extern C statement and so I think it is possible to link
c and cpp together in one so file.
Have I made something? Or is it impossible to access cpp classes
from the service? If it is possible, what have I made wrong? I'm
using axis2c version 1.0.
Kind regards
Michael
--
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung:
http://www.gmx.net/de/go/freemail
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
--
Samisa Abeysinghe : WSO2 WSF/C
"http://wso2.org/projects/wsf/c?WSO2 Web Services Framework/C - Open source C library for providing and consuming Web services"
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]