
566
|
Chapter 32: The System.Web.Services.Description Namespace
This is the Title of the Book, eMatter Edition
Copyright © 2008 O’Reilly & Associates, Inc. All rights reserved.
Hierarchy
System.Object ➝ DocumentableItem ➝ MessageBinding
Subclasses
FaultBinding, InputBinding, OutputBinding
MessageCollection
System.Web.Services.Description (system.web.services.dll)
sealed class
This collection of Message objects is used by the Messages property of the ServiceDescription
class to represent all <message> elements in a WSDL document. You can access an
invidual Message by name or position (index number).
Hierarchy
System.Object ➝ System.Collections.CollectionBase(System.Collections.IList, System.Collec-
tions.ICollection, System.Collections.IEnumerable)
➝ ServiceDescriptionBaseCollection ➝
MessageCollection
Returned By
ProtocolReflector.HeaderMessages, ServiceDescription.Messages
MessagePart
System.Web.Services.Description (system.web.services.dll)
sealed class
This class represents a WSDL <part> element, which is contained in a <message>
element. Each MessagePart object corresponds to a single parameter or a return value for
a function, and specifies the variable’s Name and either an XML Type or an XML Element,
which refers to an element from the Types collection.
For example, a GetStockQuote method would have several messages, including GetStock-
QuoteHttpGetOut, and would have a single MessagePart representing ...