Thanks Samisa. I tried your solution and it worked for the 'math' sample.
So I tried the same thing with my own web service, but that fails. This is what I see in the axis2c log. The processing just stops after this line ==> "class_loader.c(135) Object loaded successfully " as you can see below. So I modified the make file that came with the samples so that it now builds my own webservice too along with the other sample web services. And that makes my web service work!!! I have no idea whats going on here. Any help is greatly appreciated! [Mon Aug 6 23:13:33 2007] [debug] apache2_worker.c(143) Client HTTP version HTTP/1.1 [Mon Aug 6 23:13:33 2007] [debug] req_uri_disp.c(103) Checking for service using target endpoint address : /axis2/services/object/RemoveFile?filetype=image×tamp=1234&filename= psa.jpg [Mon Aug 6 23:13:33 2007] [debug] req_uri_disp.c(124) Service found using target endpoint address [Mon Aug 6 23:13:33 2007] [debug] req_uri_disp.c(169) Checking for operation using target endpoint uri fragment : RemoveFile [Mon Aug 6 23:13:33 2007] [debug] req_uri_disp.c(178) Operation found using target endpoint uri fragment [Mon Aug 6 23:13:33 2007] [debug] engine.c(571) Invoking phase Transport [Mon Aug 6 23:13:33 2007] [debug] phase.c(195) Invoke the handler request_uri_based_dispatcher within the phase Transport [Mon Aug 6 23:13:33 2007] [debug] engine.c(571) Invoking phase PreDispatch [Mon Aug 6 23:13:33 2007] [debug] phase.c(195) Invoke the handler AddressingInHandler within the phase PreDispatch [Mon Aug 6 23:13:33 2007] [info] Starting addressing in handler ......... [Mon Aug 6 23:13:33 2007] [info] addr_in_handler.c [Mon Aug 6 23:13:33 2007] [debug] phase.c(195) Invoke the handler LoggingInHandler within the phase PreDispatch [Mon Aug 6 23:13:33 2007] [info] Starting logging in handler ......... [Mon Aug 6 23:13:33 2007] [info] Input message: <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/ "><soapenv:Header></soapenv:Header><soapenv:Body><RemoveFile><filetype>image</filetype><timestamp>1234</timestamp><filename> psa.jpg</filename></RemoveFile></soapenv:Body></soapenv:Envelope> [Mon Aug 6 23:13:33 2007] [debug] engine.c(571) Invoking phase Dispatch [Mon Aug 6 23:13:33 2007] [debug] phase.c(195) Invoke the handler soap_message_body_based_dispatcher within the phase Dispatch [Mon Aug 6 23:13:33 2007] [debug] phase.c(195) Invoke the handler addressing_based_dispatcher within the phase Dispatch [Mon Aug 6 23:13:33 2007] [debug] phase.c(195) Invoke the handler soap_action_based_dispatcher within the phase Dispatch [Mon Aug 6 23:13:33 2007] [debug] engine.c(571) Invoking phase PostDispatch [Mon Aug 6 23:13:33 2007] [debug] phase.c(195) Invoke the handler dispatch_post_conditions_evaluator within the phase PostDispatch [Mon Aug 6 23:13:33 2007] [debug] phase.c(195) Invoke the handler context_handler within the phase PostDispatch [Mon Aug 6 23:13:33 2007] [debug] class_loader.c(135) Object loaded successfully On 8/5/07, Samisa Abeysinghe <[EMAIL PROTECTED]> wrote: > > > > it doesn't work if I try to compile using these commands > > > > gcc -c -omath.o -I/usr/local/axis2c/include/axis2-1.0/ > > -L/usr/local/axis2c/lib -fPIC math.c > > gcc -c -omath_skeleton.o -I/usr/local/axis2c/include/axis2-1.0/ > > -L/usr/local/axis2c/lib -fPIC math_skeleton.c > > gcc -shared math.o math_skeleton.o -L/usr/local/axis2c/lib -laxis2 > > -olibmath.so > In place of the last command, try using the following: > gcc -shared math.o math_skeleton.o -ldl -lpthread -olibmath.so > > Then copy the libmath.so to the services folder and try. > > Samisa... > > -- > Samisa Abeysinghe : http://www.wso2.org/ (WSO2 Oxygen Tank - Web Services > Developers' Portal) > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
