This is the simplest answer I could find for a client needing to POST an XML SOAP message to a server in another domain. Not sure on the security because the POST isn't validated so it just passes on whatever the client sends. libcurl has a lot of options