Why does a SOAP message have to be sent over HTTP?

Overview SOAP is a messaging protocol and in a nutshell is just another XML language. Its purpose is the data exchange over networks. Its concern is the encapsulation of these data and the rules for transmitting and receiving them. HTTP is an application protocol and SOAP messages are placed as the HTTP payload. Although there … Read more

WSDL on SQL Server gives HTTP status 505 Version Not Supported

Today, years after I posted this question, we finally found the answer to this question. It was not a Squid proxy server as we had come to believe. We continued experiencing issues like this with various web services/sites. The last straw was when we finally needed to deploy an SVN server that was used by … Read more

Can I disable SOP (Same Origin Policy) on any browser for development?

UPDATE 6/2012: This used to work at the time of the writing, but obviously no more. Sorry. In Firefox (might apply to other Gecko-based browsers as well) you can use the following JavaScript snippet to allow cross-domain calls: if (navigator.userAgent.indexOf(“Firefox”) != -1) { try { netscape.security.PrivilegeManager.enablePrivilege(“UniversalBrowserRead”); } catch (e) { alert(“Permission UniversalBrowserRead denied — not … Read more

PayPal SOAP and NVP

I would recommend using the NVP (Name-value pair, basically POST with data) API over the SOAP API. NVP should be significantly lighter weight than SOAP. There are a few questions already on SO that complain about SOAP. I just was trying to figure out which to use and came upon those. Hope that helps. Also, … Read more

HttpClient & SOAP (C#)

I needed to do this myself and since I couldn’t find any answers online, here’s what I worked out. This uses a simple SOAP calculator service with an ‘Add’ method that takes two numbers and returns the sum. public async Task<int> AddNumbersAsync(Uri uri, int a, int b) { var soapString = this.ConstructSoapRequest(a, b); using (var … Read more

SOAP headers versus HTTP headers

The SOAP headers contain application specific information related to the SOAP message. They typically contain routing information, authentication information, transaction semantics etc. These are specific to the SOAP message and are independent of the transport that SOAP uses (in the scope of this post: HTTP). HTTP headers define the operating parameters of the HTTP transaction, … Read more