<p>Do you guys know how I can use the Curl command line to POST SOAP to test a web service?</p>

<p>I have a file (soap.xml) which has all the soap message attached to it I just don't seem to be able to properly post it.</p>

<p>Thanks!</p>

Posting a string:
```
```
curl -d "String to post" "http://www.example.com/target"
```
```
Posting the contents of a file:
```
```
curl -d @soap.xml "http://www.example.com/target"
```
```