title: Call Web Service using wget
body: <p>I'm able to call a web service from Linux command line using CURL.
  Now I'm tryng to use wget to call a Web Service but I always receive the following error:
  <strong>500 Internal Server Error</strong>.</p>
  
  <p>I'm using the following syntax:</p>
  
  <pre><code>wget http://&lt;endPoint&gt; --post-file=soapRequest.xml --header="Content-Type: application/soap+xml" --output-document=soapResponse.xml
  </code></pre>
  
  <p>Where soapRequest.xml contains the XML request (validated by SoapUI).</p>
  
  <p>The error returned from wget is: </p>
  
  <pre><code>Connecting to &lt;host:port&gt;... connected.
  HTTP request sent, awaiting response... 500 Internal Server Error
  2011-12-12 23:18:33 ERROR 500: Internal Server Error.
  </code></pre>