title: Perl: Getting complete request from SOAP::WSDL object
body: <p>I'm working with <code>SOAP::WSDL</code> and another company's custom WSDL file. Every time they make a change for me and I recreate my modules, something breaks. Finding the problem is rather tedious because I don't find a proper way to access the actual request that is sent to the SOAP server.</p>
  
  <p>The only way to get to the request so far has been to use tcpdump in conjunction with wireshark to extract the request and result. That works, but since I don't have root privileges on the dev machine I have to get an admin over every time I want to do that. I feel there must be another way to get to the <code>HTTP::Request</code> object inside the <code>SOAP::WSDL</code> thing. But if the server returns a fault, I don't even have a response object, but rather a <code>SOAP::WSDL::SOAP::Typelib::Fault11</code> object that has no visible relation to the request.</p>
  
  <p>I've also tried using the debugger but I'm having trouble finding the actual request part. I've not yet understood how to tell the debuger to skip to a specific part deep inside a complex number of packages.</p>