I'm in the process of making our API support SOAP but a WebServiceException is thrown every time, "An HTTP Content-Type header is required for SOAP messaging and none was found.". Looking at the source code what I'm doing below should work just fine.