WS-Amp

WS-Amp is a SOAP 1.1 server plug-in for Winamp 3, which allows you to interact with Winamp via SOAP over HTTP messages. You can query the server for information about the currently playing track, and also do basic control ( play, pause, stop, prev, next ).

WS-Amp was built using gSOAP and the Wasabi SDK.

WS-Amp is open source, under the MIT license.

Download the binary installer (76k) and/or the the source code (21k)

A WSDL description of the exposed service is also available.
Here's some example client code, using PocketSOAP
set f = CreateObject("PocketSOAP.Factory")
set w = f.CreateProxy("http://localhost:6067/", "http://www.pocketsoap.com/winamp3/") 
r = w.play()
This sends the following SOAP request
POST http://localhost:5055/ HTTP/1.1
User-Agent: PocketSOAP/1.4.0
Content-Type: text/xml; charset=UTF-8
Accept-Encoding: deflate
Accept-Charset: UTF-8, UTF-16;q=0.8, iso-8859-1;q=0.8
Host: localhost:5055
Content-Length: 226
SOAPAction: "http://www.pocketsoap.com/winamp3/#play"

<S:Envelope
	S:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
	xmlns:S="http://schemas.xmlsoap.org/soap/envelope/"
	xmlns:a="http://www.pocketsoap.com/winamp3/">
<S:Body><a:play></a:play>
</S:Body></S:Envelope>