简体   繁体   中英

Check if data sent from Flex to Java server is zipped or not

I want to analyse if the XML I send from my client Flex to my Java using remoteObject is compressed or not. for this, I'm using Wireshark, but it can't get packets in the localhost (windows vista) how can I do that ?

Here is how to capture in localhost : Caputre using Ethereal/Wireshark sorry it's in french.

for me, I used an other computer as a server, and analyse all the trafic between my computer and the server.

Fiddler will probably work better for you than Wireshark because you can decrypt your https traffic if you install its cert as trusted locally. You didn't mention https as a factor, but if it is Wireshark won't do it as far as I know.

You can also direct your service calls to your computer's ip instead of localhost. Example: localhost goes to 127.0.0.1, instead route your requests to the ip you get when you issue an ipconfig /all. You can hack your hosts file to route something to that ip.

Not sure if this always works in Wireshark, but it does in Fiddler for sure.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM