Web Services

WS, SOAP, REST, Web2.0 and other web communication

HTTP request flow diagram

Alan Dean published a flow diagram of the process of an HTTP request inside a webserver, and all the possible status code outcomes. Down here is a sample of the diagram, the part that shows how the If-Match header works.     The diagram is available in different graphic formats (gif, jpg, png, svg) and is available in the original Visio format as well. Technorati Tags: http

Ready to MIX?

Today is MIX07 start day: if you are like me, and you are not lucky enough to live in the US (or to have your company pay for you the trip to Las Vegas) here is the visit MIX from Home blog. It should be a continuously updated report of what is going at the MIX. What are they going to announce at MIX? Here are some speculations: Expression Blend Express, Zune phone, Office and Visual Studio will be in .NET A dynamic language runtime, Silverlight for Linux, Silverlight with a micro-CLR ...

How to enable an ASP.NET WebService to listen to HTTP POST calls

Imagine you developed an ASP.NET WebService, but the client that needs to use it wants to call it using HTTP POST instead of SOAP. As default, when accessed from the localhost, all webservices listen both to SOAP and HTTP POST calls, but if accessed from another host they listen only to SOAP. My friend Google found a page on the MSDN site that explains how to change the protocols accepted by the ASP.NET runtime to listen to web services calls. As all configuration settings it can be changed both at machine level (machine.config) and per single application inside the web.config. The...

ASP.NET AJAX RC is out

Just released ATLAS ASP.NET AJAX RC. This brings all the ASP.NET development community One Step Closer to the official release. Since I just quit my job, and I'll be flying to Wellington on Jan 2nd,  I could have some spare time next week to download it and make some experiments. And, maybe, we can even start thinking about migrating the ajax stuff inside Subtext from Magic Ajax to ASP.NET Ajax.

Want to change the encoding for a webservice? You can't!

Probably you never had that need, but just in case you want to change the text encoding for a web service response, the one that is inside the XML declaration at the top, from UTF-8 to anything else... well... you cannot do it: that string is hard coded inside the web service runtime. This post, "Encoding limitations in ASMX", has a comment written by a member of the MS team that worked on that feature: We decided not to do this feature for 3 reasons: UTF-8 can represent all Unicode characters ...