SODA is a SOAP<->DCOP bridge. Using SODA, you can easily translate SOAP calls to DCOP calls and vice versa.
The following SOAP will set your KDE desktop background. Note that authorization is exactly the same as that of kxmlrpcd, in fact it uses the same key file right now.
soda:Envelope
xmlns:soda="http://schemas.xmlsoap.org/soap/envelope/"
soda:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<soda:Header>
<dcop:Authorization
xmlns:dcop="http://developer.kde.org/dcop/"
soda:mustUnderstand="1">18300,BKuIltrgZ59j;I;9</dcop:Authorization>
</soda:Header>
<soda:Body>
<dcop:Call xmlns:dcop="http://developer.kde.org/dcop/">
<application>kdesktop</application>
<object>KBackgroundIface</object>
<method>
<name>setWallpaper</name>
<param>
<type>string</type>
<value>/home/rik/kde2.2.png</value>
</param>
<param>
<type>int</type>
<value>5</value>
</param>
</method>
</dcop:Call>
</soda:Body>
</soda:Envelope>
<
This was just an experiment. I never got around to integrating it into KDE, mainly because I couldn’t see what it would be useful for.
There’s some sample code here if you want to play:
p.s. I need a better name. This isn’t SOAP over DCOP. It’s more like DCOP over SOAP, but DoS means something else ;)