Chapter Summary

‚   ‚  


  • SOAP Request

  • SOAP Response

  • Serialization

  • Deserialization

  • SOAP Extension

  • Asynchronous call

  • XML wire format

In this chapter, you learned about some of the more advanced aspects of Web services, including SOAP extensions, asynchronous Web method calls, and control of XML wire formatting.

SOAP extensions allow you to insert your own code into the SOAP request and SOAP response processing loop. SOAP extensions can be executed before or after either serialization or deserialization operations on either the client or the server. To develop a SOAP extension, you derive a class from the SoapExtension class, and then implement custom GetInitializer, Initialize, ChainStream, and ProcessMessage methods .

The .NET Framework automatically enables asynchronous calls to Web methods whenever you create a proxy class on the client. The Web services server neither knows nor cares that a call is asynchronous; the changes are entirely on the client. You can use a callback delegate to run code when an asynchronous call is ready to complete, or you can use a WaitHandle object to wait for such calls either singly or in groups.

Although SOAP is a standard, it is implemented differently in different products. The .NET Framework allows you to tailor the XML wire format of SOAP messages using attributes. This facility enables you to create SOAP messages that will interoperate with other Web services components that were not created with the .NET Framework or languages.

‚   ‚  

MCAD. MCSD Training Guide (Exam 70-310. Developing XML Web Services and Server Components with Visual Basic. NET and the. NET Framework)
MCAD/MCSD Training Guide (70-310): Developing XML Web Services and Server Components with Visual Basic(R) .NET and the .NET Framework
ISBN: 0789728206
EAN: 2147483647
Year: 2002
Pages: 166 © 2008-2017.
If you may any questions please contact us: