Misfiring Neurons Just another geek with a blog

23Jul/10Off

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.

Filed under: Programming Comments Off
Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

Trackbacks are disabled.