We are trying to consume a web service from our Linux box using the curl command but are stuck with the syntax.
The web service is expecting the xml to be fed in via a string and we have tried the following:
curl -h "Content-Type: text/xml" http://www.website.net/webservice.asmx/serviceMethod?Username=Mike&Password=PASSW&xmlStream=
The above authenticates with the web service when using curl, but complains with HTTP 400 bad request. The above url works perfectly if I put it directly into a browser.