axis-c-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rodrigo F Baroni" <rodrigobar...@pop.com.br>
Subject Error in receive messages ?
Date Fri, 18 Jun 2004 10:00:28 GMT

    Hello,

       I did a small app using axis 1.2 (binary package), with apache 2.0.49
and GNU/Linux Debian Sarge.

       So, to see the SOAP messagens, I dumped the net packages with the
command "tethereal -i lo -V -w soap-test-passing_content.txt", and I
saw the messages being corretly sending and receiving, but at the
receive, when it got the message (the value returning the funcion
call), it aborts.

       I saw some mail in few days ago talking about something like this, and
the problem was conclused to be the "HTTP/1.1" in request header.. it
isn't  fixed yet ? (if this was really a bug, I dont know..). Or could
be the wsdl syntax (I had to write it by hand 'cause the WSDL2Ws java
tool not yet gives the wsdl from c++ classes..)

       Does anybody knows what is happening ?

    Thanks
Rodrigo F Baroni

Above the dump of the packages :

$tethereal -i lo -V

--------The Request --------------
POST /axis/ExploidsNews HTTP/1.1
Host: localhost:80
Content-Type: text/xml; charset=UTF-8
SOAPAction: "ExploidsNews#getExploidsOfDay"
Content-Length: 359
%<?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:getExploidsOfDay
xmlns:ns1="http://localhost/axis/ExploidsNews"></ns1:getExploidsOfDay></SOAP-ENV:Body></SOAP-ENV:Envelope>

------------ The  Answer---------------
%HTTP/1.1 200 OK
Date: Fri, 18 Jun 2004 08:57:49 GMT
Server: Apache/2.0.49 (Unix) DAV/2
Content-Length: 880
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:getExploidsOfDayResponse
xmlns:ns1="http://localhost/axis/ExploidsNews"><ExploidDescription
xsi:type="ns1:ExploidDescription"
xmlns:ns1="http://localhost/axis/ExploidsNews"><programName
xsi:type="xsd:string">XYZ</programName><version
xsi:type="xsd:string">1_1</version><OSPlataform
xsi:type="xsd:string">Windows</OSPlataform><details
xsi:type="xsd:string">buffer overflow</details><exploidName
xsi:type="xsd:string">int_sctl_brk</exploidName><authorHack
xsi:type="xsd:string">W00l00k</authorHack><patchName
xsi:type="xsd:string">XYZ-p4</patchName></ExploidDescription></ns1:getExploidsOfDayResponse></SOAP-ENV:Body></SOAP-ENV:Envelope

------------------//////////////////------------------------------------




Mime
View raw message