Differences between revisions 3 and 4
Revision 3 as of 2005-07-20 06:11:46
Size: 3565
Comment:
Revision 4 as of 2009-09-20 22:47:25
Size: 3565
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

Describe SummerOfCode/2005/guththila/24 here.

Week ending 24th of July 2005

  • Integrating XMLParser interface with current CVS build

Current Status


19th July

  • Need to write a ant build script in order to connect to main build of axis c++
  • Tried to use libaxis_guththila.so as XMLParser
    • coppied libaxis_guththila.so to axiscpp_deploy/lib and edited axiscpp.conf
    • XMLParser:/usr/local/axiscpp_deploy/lib/libaxis_guththila.so

but after changing back it to

  • XMLParser:/usr/local/axiscpp_deploy/lib/libaxis_xmlparser.so ( or libaxis_xercesc.so)


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

SummerOfCode/2005/guththila/24 (last edited 2009-09-20 22:47:25 by localhost)