ServiceAgent Members

For the latest version of Commerce Server 2007 Help, see the Microsoft Web site.

Provides authentication and SOAP proxy services to the MarketingContext and CatalogContext objects when initialized to communicate with and authenticate against a Web service.

The ServiceAgent type exposes the following members.

Constructors

  Name Description
Aa139100.protmethod(en-US,CS.70).gif ServiceAgent Overloaded. Initializes a new instance of the ServiceAgent class.

Top

Methods

  Name Description
Aa139100.protmethod(en-US,CS.70).gif CreateProxy Creates a Web service proxy object that derives from SoapHttpClientProtocol.
Aa139100.pubmethod(en-US,CS.70).gif Equals (Inherited from Object.)
Aa139100.protmethod(en-US,CS.70).gif Finalize (Inherited from Object.)
Aa139100.pubmethod(en-US,CS.70).gif GetHashCode (Inherited from Object.)
Aa139100.pubmethod(en-US,CS.70).gif GetType (Inherited from Object.)
Aa139100.protmethod(en-US,CS.70).gif MemberwiseClone (Inherited from Object.)
Aa139100.pubmethod(en-US,CS.70).gif ToString (Inherited from Object.)
Aa139100.pubmethod(en-US,CS.70).gif TryHandleWebMethodException Overloaded. Handles SoapExceptions and WebExceptions raised from a Web service method call.

Top

Fields

  Name Description
Aa139100.pubfield(en-US,CS.70).gifAa139100.static(en-US,CS.70).gif BasicAuthMethod String constant representing Basic authentication.
Aa139100.pubfield(en-US,CS.70).gifAa139100.static(en-US,CS.70).gif DigestAuthMethod String constant representing Digest authentication.
Aa139100.pubfield(en-US,CS.70).gifAa139100.static(en-US,CS.70).gif KerberosAuthMethod String constant representing Kerberos authentication.
Aa139100.pubfield(en-US,CS.70).gifAa139100.static(en-US,CS.70).gif NegotiateAuthMethod String constant representing Windows authentication (negotiate best method).
Aa139100.pubfield(en-US,CS.70).gifAa139100.static(en-US,CS.70).gif NtlmAuthMethod String constant representing NTLM authentication.

Top

Properties

  Name Description
Aa139100.pubproperty(en-US,CS.70).gif AllowBasicOverNonSecure Gets or Sets a value that indicates whether to allow Basic authentication over unprotected HTTP connections.
Aa139100.pubproperty(en-US,CS.70).gif Credentials Gets or sets the Credentials currently being used by the Agent to access the Web service.
Aa139100.pubproperty(en-US,CS.70).gifAa139100.static(en-US,CS.70).gif DefaultAuthMethods The list of default authorization methods. The default list is NTLM, negotiate, Kerberos, and Basic, in that order.
Aa139100.pubproperty(en-US,CS.70).gif KeepAlive
Aa139100.pubproperty(en-US,CS.70).gif ServiceUri Gets the URL of the Web service the agent is communicating with.
Aa139100.pubproperty(en-US,CS.70).gif SoapProxy Gets the SOAP proxy object that the Agent is using to access the Web service.
Aa139100.pubproperty(en-US,CS.70).gif UnsafeAuthenticatedConnectionSharing Gets or sets a value indicating whether the ServiceAgent should allow pooling of connection objects with user credentials set.

Top

See Also

Reference

ServiceAgent Class

Microsoft.CommerceServer Namespace