Click or drag to resize

SoapServer Class

Soap Server is a build in Virtual Service Host. All virtualized SOAP services are hosted by this SoapServer.
Inheritance Hierarchy

Namespace:  Hummingbird.TestFramework.Services
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
[SingletonServiceAttribute]
public class SoapServer : AbstractServer

The SoapServer type exposes the following members.

Constructors
  NameDescription
Public methodSoapServer
Initializes a new instance of the SoapServer class. By default, SOAP Server uses TCP 8080 for HTTP transport and 8443 for HTTPS transport. Make sure the HTTPS transport works, you should configure a valid HTTPS certificate. User may changes this setting.
Top
Properties
  NameDescription
Public propertyCanSendRequest
Indicate whether this service can send request (implements ISendRequest interface)
(Inherited from AbstractService.)
Public propertyDescription
Gets or sets the description of the Abstract Service
(Inherited from AbstractService.)
Public propertyErrorMessages
Gets the error messages during the service startup or shutdown.
(Inherited from AbstractService.)
Public propertyId
This property must be initialized in the constructor of derived class and must be given a fixed GUID. the GUID must be a constant in code, and should not equals to any other classes derived from AbstractService.
(Inherited from Identifier.)
Public propertyImageSource
Gets or sets the image source.
(Inherited from AbstractService.)
Public propertyInformation
Gets or sets the information.
(Inherited from AbstractService.)
Public propertyIsRunning
Gets or sets a value indicating whether this instance is running.
(Inherited from AbstractService.)
Public propertyName
Gets or sets the name of the Service
(Inherited from AbstractService.)
Public propertyParameters
the parameters for this AbstractServer instance, such as IP, Port, some path, etc... the key of this dictionary should equals to its ServiceParameter.Name
(Inherited from AbstractService.)
Public propertyReservedPort
Gets or sets the reserved TCP port used for this server.
(Inherited from AbstractServer.)
Public propertySettingPageType
Type of the settings page if a custom settings page should be displayed. If this value is null, the default Settings page will be used.
(Inherited from AbstractService.)
Public propertySupportedRequests
Gets or sets the supported requests.
(Inherited from AbstractService.)
Public propertySupportedResponses
Gets the supported responses can be handled by this Server.
(Inherited from AbstractServer.)
Top
Methods
  NameDescription
Public methodApplySettings
Applies the settings. used when Test Framework initializes or user changes the settings related to this service. When this class is inherited. make sure to call
1base.ApplySettings(appliedParameters)
in derived class.
(Overrides AbstractServiceApplySettings(IEnumerableParameter).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSendRequest
Send the request described in requestMetadata and transform requestObject to its definitive format. This method is synchronized, and should ONLY be called in functional test and automated test, else the UI thread will be blocked.
(Inherited from AbstractService.)
Public methodSendRequestAsync
Asynchronized version of SendRequest method.
(Inherited from AbstractService.)
Public methodStart
Starts the virtualized service. When used as Virtual Server, the service will registers TCP port and services descriptions.
(Overrides AbstractServiceStart.)
Public methodStop
Stops this virtualized service. When used as Virtual Server, it will release all services descriptions and network resources like TCP Port. When the service is stopped, the virtual server will not reply anymore.
(Overrides AbstractServiceStop.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventServerStatusChanged
The server status changed
(Inherited from AbstractService.)
Top
Extension Methods
  NameDescription
Public Extension MethodToStringOrXml
Converts any Object to string representation in String or XML format.
(Defined by ExtensionMethods.)
Public Extension MethodToXmlString
Converts any Object to string representation in XML format.
(Defined by ExtensionMethods.)
Top
See Also