axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xavier Toth <>
Subject java client c++ server doesn't work
Date Wed, 14 Sep 2005 22:49:36 GMT
I built a java client for the c++ Calculator sample service with the axis 
tools but it cause the server to generate a segmentation violation. 
I used tcpmon to capture the soap from a java client generated with 
axis-wsdl2java which fails and a c++ client that works:
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="" 
xmlns:xsd="" xmlns:xsi="">
<ns1:add soapenv:encodingStyle="" 
<in0 href="#id0"/>
<in1 href="#id1"/>
<multiRef id="id0" soapenc:root="0" soapenv:encodingStyle="" xsi:type="xsd:int" 
<multiRef id="id1" soapenc:root="0" soapenv:encodingStyle="" xsi:type="xsd:int" 

c++ client soap request:
<?xml version='1.0' encoding='utf-8' ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="" 
xmlns:xsd="" xmlns:xsi="">
<ns1:add xmlns:ns1="http://localhost/axis/Calculator">
<in0 xsi:type="xsd:int">1</in0>
<in1 xsi:type="xsd:int">2</in1>

I'm a bit surprised that java clients and c++ servers won't work together 
since these are both axis based. Is there something I could do when 
generating the java client to get it to generate compatible soap? I'm 
guessing that this is a c++ issue with href in the argument elements in0 and 

View raw message