Samisa,
The linker flags "-lpthread -ldl" are being used in our server. Please
find the axis log generated below. Please let us know if you find
anything fishy with the log,
Does line #375 below, imply Server to be fine?
-----------------------------------------------
[Sun Jul 29 08:10:11 2007] [info] Starting HTTP server thread
334 [Sun Jul 29 08:10:44 2007] [debug] http_worker.c(155) Client
HTTP version HTTP/1.1
335 [Sun Jul 29 08:10:44 2007] [debug] soap_builder.c(744)
Identified soap version is soap11
336 [Sun Jul 29 08:10:44 2007] [debug] soap_envelope.c(270)
[MRR-DEBUG] there is soap body
337
338 [Sun Jul 29 08:10:44 2007] [debug] engine.c(571) Invoking phase
Transport
339 [Sun Jul 29 08:10:44 2007] [debug] phase.c(195) Invoke the
handler request_uri_based_dispatcher within the phase Transport
340 [Sun Jul 29 08:10:44 2007] [debug] req_uri_disp.c(103) Checking
for service using target endpoint address :
http://127.0.0.1:9090/axis2/services/My
341 [Sun Jul 29 08:10:44 2007] [debug] req_uri_disp.c(124) Service
found using target endpoint address
342 [Sun Jul 29 08:10:44 2007] [debug] engine.c(571) Invoking phase
PreDispatch
343 [Sun Jul 29 08:10:44 2007] [debug] phase.c(195) Invoke the
handler AddressingInHandler within the phase PreDispatch
344 [Sun Jul 29 08:10:44 2007] [info] Starting addressing in
handler .........
345 [Sun Jul 29 08:10:44 2007] [debug] engine.c(571) Invoking phase
Dispatch
346 [Sun Jul 29 08:10:44 2007] [debug] phase.c(195) Invoke the
handler soap_message_body_based_dispatcher within the phase Dispatch
347 [Sun Jul 29 08:10:44 2007] [debug] soap_envelope.c(270)
[MRR-DEBUG] there is soap body
348
349 [Sun Jul 29 08:10:44 2007] [debug] soap_body_disp.c(217)
Checking for operation using SOAP message body's first child's local
name : readList
350 [Sun Jul 29 08:10:44 2007] [debug] soap_body_disp.c(226)
Operation found using SOAP message body's first child's local name
351 [Sun Jul 29 08:10:44 2007] [debug] phase.c(195) Invoke the
handler addressing_based_dispatcher within the phase Dispatch
352 [Sun Jul 29 08:10:44 2007] [debug] phase.c(195) Invoke the
handler soap_action_based_dispatcher within the phase Dispatch
353 [Sun Jul 29 08:10:44 2007] [debug] engine.c(571) Invoking phase
PostDispatch
354 [Sun Jul 29 08:10:44 2007] [debug] phase.c(195) Invoke the
handler dispatch_post_conditions_evaluator within the phase PostDispatch
355 [Sun Jul 29 08:10:44 2007] [debug] phase.c(195) Invoke the
handler context_handler within the phase PostDispatch
356 [Sun Jul 29 08:10:44 2007] [debug] msg_recv.c(267)
[MRR-DEBUG]axis2_msg_recv_receive_impl
357
358 [Sun Jul 29 08:10:44 2007] [debug] core_utils.c(34)
[MRR-DEBUG]axis2_core_utils_create_out_msg_ctx
359
360 [Sun Jul 29 08:10:44 2007] [debug] msg_recv.c(376) [MRR-DEBUG]
invoke axis2_msg_recv_set_invoke_business_logic()
361
362 [Sun Jul 29 08:10:44 2007] [debug] class_loader.c(135) Object
loaded successfully
363 [Sun Jul 29 08:10:44 2007] [debug] soap_envelope.c(270)
[MRR-DEBUG] there is soap body
364
365 [Sun Jul 29 08:10:44 2007] [debug] msg_recv.c(328) [MRR-DEBUG]
366
367 [Sun Jul 29 08:10:44 2007] [debug] soap_envelope.c(270)
[MRR-DEBUG] there is soap body
368
369 [Sun Jul 29 08:10:44 2007] [debug] engine.c(571) Invoking phase
MessageOut
370 [Sun Jul 29 08:10:44 2007] [debug] phase.c(195) Invoke the
handler AddressingOutHandler within the phase MessageOut
371 [Sun Jul 29 08:10:44 2007] [debug] soap_envelope.c(270)
[MRR-DEBUG] there is soap body
372
373 [Sun Jul 29 08:10:44 2007] [debug] engine.c(179) Axis2 engine
send successful
374 [Sun Jul 29 08:10:44 2007] [debug] engine.c(292) Axis2 engine
receive completed!
375 [Sun Jul 29 08:10:44 2007] [info] Request served in 0.031
seconds
Regards,
~raghav
-----Original Message-----
From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED]
Sent: Saturday, July 28, 2007 11:34 AM
To: Apache AXIS C User List
Subject: Re: Services.xml
Raghavendra SM wrote:
> Oh Sorry, "acc_invoke" was a typo error, and it actually is
"my_invoke".
> Even then I face the same problem. Please take another look & let us
> know if you need more information of any sort.
>
Well, I fixed this typo, removed the func_array add statements form init
method and also fixed a typo on line 105 where the trailing double quote
of the string was missing and replaced echo with this service and
everything worked fine. Of course, I also commented out your custom
logging statements.
How did you compile the service lib? What is the exact compiler options
used? I used the makefile form echo service. If you used command line to
compile, make sure you used "-lpthread -ldl" options when linking.
Thanks,
Samisa...
> Regards,
> ~raghav
>
>
> -----Original Message-----
> From: Samisa Abeysinghe [mailto:[EMAIL PROTECTED]
> Sent: Friday, July 27, 2007 6:53 AM
> To: Apache AXIS C User List
> Subject: Re: Services.xml
>
> Raghavendra SM wrote:
>
>> Hi Samisa,
>>
>> Please find the server code below, which is causing the problems as
>> described by Manoj Rao. Please let me know if need more information
>>
> than
>
>> this.
>>
>> These are the skeleton functions of the server.
>>
>>
> I think I found the problem. In your my_svc_skeleton_ops_var variable,
> you have provided my_invoke as the invoke function. However, in your
> source, there is no such function, rather a function named acc_invoke.
I
>
> think you have to rename acc_invoke to my_invoke and try.
>
> Also in the my_init function, you do not need to initialize
> svc_skeleton->func_array. You can safely comment whole of my_init
> function, leaving only the return AXIS2_SUCCESS; line in there.
>
> HTH.
>
> Thanks,
> 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]