[ 
http://issues.apache.org/jira/browse/AXISCPP-245?page=comments#action_12316199 
] 

Dinesh Premalal commented on AXISCPP-245:
-----------------------------------------

Hi,

I edited ../etc/axiscpp.conf file as following
 
    XMLParser:/usr/local/axiscpp_deploy/lib/libaxis_guththila.so

but it gives ( calculator example works fine with libaxis_xmlparser.so)

$ ./calculator add 10 5 http://localhost:9090/axis/Calculator

 Using service at http://localhost:9090/axis/Calculator

Segmentation fault


Then I looked request and response messages.  

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>



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>

seems it is working correctly.

Then debugged calculator 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

It seems some problem in SoapDeSerializer::getEnvelop() method. I am unable to 
move forward from this point.  Could you please figure out what's the problem 
here ?
anything that I can try out...

thanks,
Dinesh

> Pull Parser
> -----------
>
>          Key: AXISCPP-245
>          URL: http://issues.apache.org/jira/browse/AXISCPP-245
>      Project: Axis-C++
>         Type: New Feature
>   Components: XML parser abstraction layer
>     Versions: 1.4 Alpha
>  Environment: Windows and linux
>     Reporter: Farhaan Mohideen
>     Priority: Minor
>  Attachments: Guththila-1.0.1.tar.gz, guththila.zip
>
> Develop a pull parser that will support atleast UTF-8 and UTF-16 encoding 
> with a clear seperation at the parser abstraction level so as to introduce a 
> third parser available for Axis

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to