System.Web.Services 1.0.5000.0 2.0.0.0 Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details. System.Attribute System.AttributeUsage(System.AttributeTargets.Method, Inherited=true)

Web Services Description Language (WSDL) defines two styles for how an XML Web service method, or operation, can be formatted in a SOAP message: RPC and Document. RPC formatting refers to formatting the operation according to the SOAP specification for using SOAP for RPC; otherwise known as Section 7 of the SOAP specification. RPC formatting states that all parameters are encapsulated within a single XML element named after the XML Web service method and that each XML element within that XML element represents a parameter named after the parameter it is representing.

SOAP messages formatted in both the RPC and Document styles can be used to communicate with an XML Web service in a Remote Procedure Call (RPC) manner; however the Document style can also easily be used to communicate in a loosely coupled manner. Therefore, Document style XML Web services is recommended. For more details, see the Customizing SOAP Messages topic.

For more details, see [<topic://cpconCustomizingSOAPInASPNETWebServicesWebServiceClients>].

This attribute can be applied to an XML Web service method on the server and a proxy class on the client. XML Web service methods that have the property set to true do not have access to their . As such, accessing any of the properties of the class return null.

Specifies that SOAP messages sent to and from the method use RPC formatting.

- Constructor
  To be added

  Initializes a new instance of the class, setting all properties to their default values.

  1.0.5000.0
  2.0.0.0
- Constructor
  To be added

  Initializes a new instance of the class, setting the property to the value of the parameter.

  The intent of the SOAP request. Sets the property.
  1.0.5000.0
  2.0.0.0
- Property
  System.String To be added: an object of type 'string'

  Typically, the property is a URI indicating the intent of the SOAP request. However, the SOAP specification places no restrictions on the format and whether the URI refers to an existing document. The presence and content of the property can be used by Web servers such as firewalls to appropriately filter SOAP request messages in HTTP.

  By default, the .NET Framework version 1.1 publishes the property in the soapAction attribute of the soap:operation element for each supported SOAP binding in WSDL documents generated for an XML Web service. The supported SOAP binding is SOAP 1.1.

  For more information about the SOAP specification, see the W3C Web site (http://www.w3.org/TR/SOAP).

  Gets or sets the SOAPAction HTTP header field of the SOAP request.

  1.0.5000.0
  2.0.0.0
- Property
  System.String To be added: an object of type 'string'

  A binding, as defined by Web Services Description Language (WSDL), is similar to an interface in that it defines a concrete set of operations. With respect to ASP.NET, each XML Web service method is an operation within a binding. XML Web service methods are members of the default binding for an XML Web service or a binding specified within a applied to an XML Web service. An XML Web service can implement multiple bindings, if multiple attributes are applied to an XML Web service.

  Once one or more attributes are applied to an XML Web service, a or can be applied to individual XML Web service methods to indicate the binding operation implemented by a particular XML Web service method. Set the property of or to specify the binding an XML Web service method implements an operation for. Only one or can be applied to an XML Web service method. Therefore, an XML Web service method can only implement an operation for one binding.

  Gets or sets the binding that an XML Web service method implements an operation for.

  1.0.5000.0
  2.0.0.0
- Property
  System.Boolean To be added: an object of type 'bool'

  When an XML Web service method has the property set to true, the XML Web service client does not have to wait for the Web server to finish processing the XML Web service method. As soon as the Web server has deserialized the , but before it invokes the XML Web service method, the server returns an HTTP 202 status code. An HTTP 202 status code indicates to the client that the Web server has started processing the message. Therefore, an XML Web service client receives no acknowledgment that the Web server successfully processed the message.

  One-way methods cannot have a return value or any parameters.

  If you are using the .NET Framework version 1.0 XML Web service methods that have either the or attribute applied to them with the property set to true, do not allow access to their using the static property. To access the , derive the class implementing the XML Web service method from and access the property.

  Gets or sets whether an XML Web service client waits for the Web server to finish processing an XML Web service method.

  1.0.5000.0
  2.0.0.0
- Property
  System.String To be added: an object of type 'string'

  This property is obsolete. It does not affect any behavior.

  Gets or sets the XML element associated with the SOAP request for an XML Web service method.

  1.0.5000.0
  2.0.0.0
- Property
  System.String To be added: an object of type 'string' To be added

  Gets or sets the XML namespace associated with the SOAP request for an XML Web service method.

  1.0.5000.0
  2.0.0.0
- Property
  System.String To be added: an object of type 'string'

  The property defines the XML element used to encapsulate the parameters within the Body element of the SOAP response.

  Gets or sets the XML element associated with the SOAP response for an XML Web service method.

  1.0.5000.0
  2.0.0.0
- Property
  System.String To be added: an object of type 'string'

  The property is used in the XSD schema for the XML Web service method in its service description.

  Gets or sets the XML namespace associated with the SOAP response for an XML Web service method.

  1.0.5000.0
  2.0.0.0
- Property
  2.0.0.0
  System.Runtime.InteropServices.ComVisible(false)
  System.Web.Services.Description.SoapBindingUse To be added.

  The default value of this property is .

  Gets or sets the binding used when invoking the method.