ws-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Ws Wiki] Update of "SummerOfCode/2005/guththila/24" by DineshPremalal
Date Wed, 20 Jul 2005 06:11:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.

The following page has been changed by DineshPremalal:
http://wiki.apache.org/ws/SummerOfCode/2005/guththila/24

------------------------------------------------------------------------------
  
   Integrating XMLParser interface with current CVS build 
  === Current Status ===
+ 
+ ----------------------
  
  ==== 19th July ====
      
@@ -39, +41 @@

          Calculator.cpp
                          m_pCall->invoke ();
  
+ -------------------
+ 
+ ==== 20th July ====
+  
+     Tried to look on request and response messages. (Using TCPMonitor)
+ 
+ Request
+ ----
+ POST /axis/Calculator HTTP/1.1
+ 
+ Host: 127.0.0.1:8080
+ 
+ Content-Type: text/xml; charset=UTF-8
+ 
+ SOAPAction: "Calculator#add"
+ 
+ Content-Length: 404
+ 
+ 
+ 
+ <?xml version='1.0' encoding='utf-8' ?>
+ 
+ <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ 
+ <SOAP-ENV:Body>
+ 
+ <ns1:add xmlns:ns1="http://localhost/axis/Calculator">
+ 
+ <in0 xsi:type="xsd:int">10</in0>
+ 
+ <in1 xsi:type="xsd:int">5</in1>
+ 
+ </ns1:add>
+ 
+ </SOAP-ENV:Body>
+ 
+ </SOAP-ENV:Envelope>
+ 
+ Response
+ ----
+ HTTP/1.1 200 OK
+ 
+ Date: Wed, 20 Jul 2005 03:53:53 GMT
+ 
+ Server: Apache/2.0.51 (Unix)
+ 
+ Content-Length: 400
+ 
+ Content-Type: text/xml
+ 
+ 
+ 
+ <?xml version='1.0' encoding='utf-8' ?>
+ 
+ <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+ 
+ <SOAP-ENV:Body>
+ 
+ <ns1:addResponse xmlns:ns1="http://localhost/axis/Calculator">
+ 
+ <addReturn xsi:type="xsd:int">15</addReturn>
+ 
+ </ns1:addResponse>
+ 
+ </SOAP-ENV:Body>
+ 
+ </SOAP-ENV:Envelope>
+ 
+ it seems that parser functionning properly. But I'm unable to figure out where is the problem.
Then calculator was debugged using gdb
+ 
+ (gdb) bt #0  0x402441b0 in strcmp () from /lib/tls/libc.so.6
+ #1  0x400aaf43 in axiscpp::SoapDeSerializer::getEnvelope () from /usr/local/axiscpp_deploy/lib/libaxis_client.so
+ 
+ #2  0x400ac0af in axiscpp::SoapDeSerializer::getVersion () from /usr/local/axiscpp_deploy/lib/libaxis_client.so
+ 
+ #3  0x40059374 in axiscpp::ClientAxisEngine::invoke () from /usr/local/axiscpp_deploy/lib/libaxis_client.so
+ 
+ #4  0x40058fe4 in axiscpp::ClientAxisEngine::process () from /usr/local/axiscpp_deploy/lib/libaxis_client.so
+ 
+ #5  0x400817b1 in axiscpp::Call::invoke () from /usr/local/axiscpp_deploy/lib/libaxis_client.so
+ 
+ #6  0x08049257 in Calculator::add (this=0xbffff4a0, Value0=10, Value1=5) at Calculator.cpp:51
+ 
+ #7  0x0804a1b9 in main (argc=5, argv=0xbffff794) at Client.cpp:103
+ (gdb)
+ 
+ Hope some problem in SoapDeserilizer::getEnvelope () method . Hope to getting a clue from
axis-c-dev
+ 
+ 
+ 
  
  === Special Notes ===
  

Mime
View raw message