Use tcpdump to capture packets for analysis

1. Packet capture command: tcpdump -i NIC name port 9090 -s0 -w e.pcap

2. Use wireshark to analyze the captured data
http://www.cnblogs.com/ggjucheng/archive/2012/01/14/2322659. html

3. curl sends HTTP request
   curl -H "Content-Type: application/soap+xml;charset=UTF-8" -X POST --data "<?xml version=\"1.0\" encoding=\"UTF- 8\"?><soapenv:Envelope xmlns:soapenv=\"http://www.w3.org/2003/05/soap-envelope\"><soapenv:Body><ns2:VMC_QueryBaseProperties xmlns:ns2=\" http://vp.zte.com\"><ns2:vmc_QueryBasePropertiesIn></ns2:vmc_QueryBasePropertiesIn></ns2:VMC_QueryBaseProperties></soapenv:Body></soapenv:Envelope>" "http://127.0.0.1 :9090/axis2c/services/vpservice"

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326189047&siteId=291194637