axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bregitte Pracht <w_...@yahoo.com>
Subject Re: need help with invoking/tracing sample echo service for axis2c
Date Wed, 23 May 2007 14:05:14 GMT
Dinesh and Samisa, Thank you both very much for your
responses. I've included some more information below.

Actually, I am running the server with these options
"axis2_http_server -l 5 -p 180". I meant to say that I
added debug logs (not traces) to the echo service.
Sorry about the confusion. My mistake.

Best regards,
-b.

======================================================
Here's the gdb traceback. The line numbers for frames
2+ may be a little off since I added debug logs to
those files. The line numbers in frames 0 and 1 are
correct.
======================================================


(gdb) bt
#0  axiom_node_add_child (om_node=0x100b1bf0,
env=0x100a84a8, child=0x1) at om_node.c:155
#1  0x0feb5010 in
axis2_raw_xml_in_out_msg_recv_invoke_business_logic_sync
(msg_recv=0x100b1bd8, env=0x100a84a8, 
    msg_ctx=0x100b1bf0, new_msg_ctx=0x100b0b90) at
raw_xml_in_out_msg_recv.c:323
#2  0x0feb4ba8 in axis2_msg_recv_invoke_business_logic
(msg_recv=0x100b1bd8, env=0x1, in_msg_ctx=0x1,
out_msg_ctx=0x0)
    at msg_recv.c:392
#3  0x0feb4998 in axis2_msg_recv_receive_impl
(msg_recv=0x100a5d18, env=0x100a84a8,
msg_ctx=0x100a8fc0, callback_recv_param=0x0)
    at msg_recv.c:318
#4  0x0feb4c08 in axis2_msg_recv_receive
(msg_recv=0x100b1bd8, env=0x1, msg_ctx=0x1,
callback_recv_param=0x0) at msg_recv.c:427
#5  0x0feab9ec in axis2_engine_receive
(engine=0x100b0898, env=0x100a84a8,
msg_ctx=0x100a8fc0) at engine.c:288
#6  0x0ffd1ae0 in
axis2_http_transport_utils_process_http_post_request
(env=0x100a84a8, msg_ctx=0x100a8fc0, 
    in_stream=0x100a94b8, out_stream=0x100b0898,
content_type=0x100a8618 "text/xml; charset=utf-8",
content_length=269153936, 
    soap_action_header=0x100a9420,
request_uri=0x100a9270
"http://10.1.0.0:180/axis2c/services/echo")
    at http_transport_utils.c:485
#7  0x0ffd0f9c in axis2_http_worker_process_request
(http_worker=0x100a6460, env=0x100a84a8,
svr_conn=0x100a84c0, 
    simple_request=0x100a8500) at http_worker.c:303
#8  0x0fe2c380 in axis2_svr_thread_worker_func
(thd=0x100a6488, data=0x100a6470) at
http_svr_thread.c:256
#9  0x0ff49d1c in dummy_worker (opaque=0x100b1bd8) at
thread_unix.c:85
#10 0x0fbadb90 in pthread_start_thread (arg=0x1) at
manager.c:291
#11 0x0fada450 in clone () from //lib/libc.so.6
(gdb) 


======================================================
This is the services.xml file for echo:
======================================================

<service name="echo">
    <parameter name="ServiceClass"
locked="xsd:false">echo</parameter>

   <description>
        This is a testing service , to test the system
is working or not
   </description>

    <operation name="echoString">
            <!--messageReceiver
class="axis2_receivers" /-->
            <parameter name="wsamapping"
>http://ws.apache.org/axis2/c/samples/echoString</parameter>
    </operation>

</service>


======================================================
This is the xml file (soap envelope) that is sent by
the Java client:
======================================================

<SOAP-ENV:Envelope 
 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"

 
xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" 
  xmlns:xsd="http://www.w3.org/1999/XMLSchema"
>


  <SOAP-ENV:Body>

    <ns1:echoString
xmlns:ns1="http://ws.apache.org/axis2/c/samples"><text>Hello
World!</text></ns1:echoString>


  </SOAP-ENV:Body>

</SOAP-ENV:Envelope>


--- Dinesh Premalal <xydinesh@gmail.com> wrote:

> Samisa Abeysinghe <samisa@wso2.com> writes:
> 
> >>>     
> >> Those traces might in echo.log.(Unless you
> explicitly set axis2c.log
> >> for echo service)
> >>   
> > The trace messages has to be there in axis2.log
> file and not echo.log
> > file. (echo.log is the client log file)
> Yes, It was my mistake :(.  echo.log carry echo
> clients log events not
> echo service.
> 
> thanks,
> Dinesh
> -- 
> Dinesh Premalal
> http://xydinesh.wordpress.com
> GPG ID : A255955C
> GPG Key Finger Print : C481 E5D4 C27E DC34 9257 
> 0229 4F44 266E A255 955C
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> axis-c-user-unsubscribe@ws.apache.org
> For additional commands, e-mail:
> axis-c-user-help@ws.apache.org
> 
> 



 
____________________________________________________________________________________
Get your own web address.  
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-c-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-c-user-help@ws.apache.org


Mime
View raw message