[ale] 64 Bit Sniffit?
Mike Harrison
meuon at geeklabs.com
Mon May 4 22:55:48 EDT 2009
On Mon, 4 May 2009, Brian Pitts wrote:
> Some people, when confronted with a problem, think "I know, I'll use
> Java." Now they have two problems.
Laughing my ass off.
> More seriously, could you spare a minute to explain the advantages of
> sniffit? I've never used it before.
best to try it, but my favorite use is to debug server to server level
communications from a cli on a server.
In window1 on 192.168.1.11:
# sniffit -b -l0 -s 192.168.1.22 &
In window2 on 192.168.1.11 run:
#php ./exchangetest.php
in window1 again:
cat * | less
and see the back and forth:
--------------------------------------------
POST /axis2/services/Version HTTP/1.1
Host: mashost5
Connection: Keep-Alive
User-Agent: PHP-SOAP/5.2.6-3ubuntu4.1
Content-Type: text/xml; charset=utf-8
SOAPAction: "urn:getVersion"
Content-Length: 154
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body/></SOAP-ENV:Envelope>
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Content-Type: text/xml;charset=utf-8
Transfer-Encoding: chunked
Date: Thu, 30 Apr 2009 20:00:31 GMT
145
<?xml version='1.0' encoding='utf-8'?>
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body><ns:getVersionResponse
xmlns:ns="http://axisversion.sample/xsd">
<ns:return>Hello I am Axis2 version service , My version is
1.2</ns:return>
</ns:getVersionResponse>
</soapenv:Body>
</soapenv:Envelope>
0
More information about the Ale
mailing list