You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-user@axis.apache.org by Mansart Jean-sebastien <je...@etu.univ-savoie.fr> on 2004/09/20 16:03:29 UTC

Re: Axis: cpp client and java server

Yes it's a problem with the transport encoding
edit transport.cpp and force it to http/1.0
you will have to rebuilt axis after this.
but you can look if this bug is not solved in the 1.3 version...

Santo Amendola wrote:

>Hi,
>we try to develop a cpp client with visual studio 6 that contact a j=
>ava web service. using axis 1.2 final.
>But we have an error.
>In the soa=
>p response we have sone extra char and the client crash.
>
>someone has s=
>olved this problem? who?
>
>thank in advance
>--Santo
>
>p.s. The soap re=
>sponse is this:
>
>HTTP/1.1 200 OK
>Server: Sun-ONE-Web-Server/6.1
>Date:=
>Mon, 20 Sep 2004 14:47:25 GMT
>Content-type: text/xml; charset=3Dutf-8=0D
>=
>Set-cookie: JSESSIONID=3DACC4F7B42B1C04A34EB84533E294AF50;Path=3D/axis=0D
>=
>Transfer-encoding: chunked
>
>01e5
><?xml version=3D"1.0" encoding=3D"UTF=
>-8"?>
><soapenv:Envelope xmlns:soapenv=3D"http://schemas.xmlsoap.org/soap=
>/envelope/" xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" xmlns:xsi=3D"h=
>ttp://www.w3.org/2001/XMLSchema-instance">
><soapenv:Body>
><ns1:quote=
>Response soapenv:encodingStyle=3D"http://schemas.xmlsoap.org/soap/encodin=
>g/" xmlns:ns1=3D"http://DefaultNamespace">
><ns1:quoteReturn xsi:type=3D=
>"xsd:string">No quotes.</ns1:quoteReturn>
></ns1:quoteResponse>
></soa=
>penv:Body>
></soapenv:Envelope>
>0
>
>
>
>  
>