is there any particular reason you are forced to use SOAP? It is more or less an obsolete and generally frowned upon approach. if you were willing to adopt REST, vibe.d seems to have some nice functionality for creating REST APIs. Look at the 'Routing' section here: http://vibed.org/docs#http-server-config