Misfiring Neurons Just another geek with a blog

23Jul/100

Quick and dirty web service testing

For command line geeks (on Windows the easiest way to get these utilities is to install Cygwin):

curl -s -d @request.xml -H "Content-type: text/xml" \
    http://example.com/endpoint | xmllint --format -

Create a file request.xml with your XML input, pretty XML output will appear on the standard output. Curl is an HTTP swiss army knife, xmllint is a XML verification and manipulation tool.

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


No trackbacks yet.