
Chapter 10. Supporting technologies 451
service implementation class. If no matching method is found, an exception is
thrown.
Once the method is found, the ASMX Handler uses the .NET XMLSerializer to
deserialize the XML message into .NET objects. Because our method does not
have arguments, we can skip this step.
The ASMX Handler calls our HelloWorld method and can take our response and
once again use the XMLSerializer to package our response into an XML
message contained in a SOAP Response. The response message will look as
shown in Example 10-9.
Example 10-9 SOAP response
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length ...