Hi,
need help with this. Basically, our web server A (apache/perl) has to send an XML to some external server B (IIS/.NET) using POST with xml as its body. The company which owns server B provided us with their own .NET tool that takes XML file and POSTs it to B and then displays B's response.
The problem is that their tool works. But if i try to post the same XML using LWP::UserAgent CPAN module or just using curl from command line B returns an error message saying "Server error in / application". If i try to send empty XML i get valid response complaining that XML isn't present. The moment i include ANY xml tags B dies.
It seems like POST request from their .NET tool is somehow different from curl's/LWP::UserAgent POST request so i want to capture the output of their tool and the output of curl. Is it possible? :)
Summary: need to caputure POST request from curl on Linux and from .NET program on Windows :)