This seems to be the quick way for testing soap api's.
#!/usr/bin/perl
#use SOAP::Lite +trace => debug;
use TeamForge;
use Data::Dumper;
my($tf,$sk);
$tf = new TeamForge;
$tf->proxy('http://cu021.cubit.maa.collab.net');
$sk = $tf->loginAnonymous("guestuser");
die "Login failed" unless ($sk);
print Dumper($tf->getProjectData($sk,'proj1007'));
About Me
Showing posts with label soap. Show all posts
Showing posts with label soap. Show all posts
Wednesday, 14 July 2010
Friday, 18 September 2009
Intresting tip abt tcpdump
Searched for a tool like wireshock in windows and came to know this!. This help me to dump the soap requests.
Here is the simple command.
sudo tcpdump -XX -s0 -i lo -w k "tcp port 80"
-XX: Print packets in hex and ASCII
-s0: Print whole packets, not only first 68 chars.
-i is the interface to monitor.
"tcp port 80" Filter expression.
-w output file.
This dumps all the requests and responses which are passing through tcp port 80!.
Here is the simple command.
sudo tcpdump -XX -s0 -i lo -w k "tcp port 80"
-XX: Print packets in hex and ASCII
-s0: Print whole packets, not only first 68 chars.
-i is the interface to monitor.
"tcp port 80" Filter expression.
-w output file.
This dumps all the requests and responses which are passing through tcp port 80!.
Subscribe to:
Posts (Atom)
