11-26-2004, 11:38 AM
I'm having some issues and need to be able to see what the XML/SOAP message looks like that my VB.NET Windows App is trying to submit to a third party. Is there any methods to issue that would show the results of the SOAP message in a MessageBox or something?
I tried an HTTP/Ethernet sniffer, but the probelm is because I'm using HTTPS (SSL) to communicate, it's all garbaled. Could I just simply post to a fake site not using SSL and then sniff that out?
Any assistance would be appreciated.
11-27-2004, 11:18 AM
Couple things first. Is it your app that you are trying to sniff, or another app? If it is someone else's application, it could be highly illegal to sniff it (due to their EULA and DMCA).
Secondly, if it is your code, what are you using to post the XML/SOAP? Webrequest? Sockets? TCPClient? Serialization? Remoting?
11-27-2004, 11:44 AM
It's my app I'm trying to sniff. I'm not sure what is actually being used to send it because I just import the wsdl as a web refererence, instantiate the object and invoke it. What the .NET framework is doing is beyond me because it's not immediately obvious from the code.
11-27-2004, 11:48 AM
Ok. .Net has a tendancy to hide some important things from you, especially with a lot of the networking classes (from my expierence, that is why I am working solely in sockets, so I can have completel control.)
How are you sending the data? What classes are you using? There may be a way to get the data without having to resort to sending to a fake site and sniffing it (although that may well be the best way).