Click or drag to resize

ServiceConfiguration Class

This class defines the definition of an Endpoint of a WSDL Service. The properties of the ServiceEndpoint is initialized from WSDL, but users can define the content of the ServiceEndpoint which will be take account in the code generation. For example: User can raise protection level of the service or changes the Uri Template.
Inheritance Hierarchy
SystemObject
  Hummingbird.TestFramework.ExtensionProjectServiceConfiguration

Namespace:  Hummingbird.TestFramework.ExtensionProject
Assembly:  Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax
[SerializableAttribute]
[DataContractAttribute(Namespace = "http://www.hummingbird-alm.com/testframework/201610")]
public class ServiceConfiguration : INotifyPropertyChanged

The ServiceConfiguration type exposes the following members.

Constructors
  NameDescription
Public methodServiceConfiguration
Initializes a new instance of the ServiceConfiguration class
Top
Properties
  NameDescription
Public propertyBindingType
Gets the type of the WCF Binding. This field is read only.
Public propertyClientServiceId
Gets or sets the client service identifier. it is generated once when the instance is initialized. If the service has multiple Endpoints or Service Contracts, then the Identifier will be generated according to this ServiceId and the Contract Name
Public propertyClientUriTemplate

Uri Template as client to call target web services. it can contains variables

Uri must start with http:// or https://

Public propertyContractInterfaceType
Gets or sets the type of the Generated WCF Client
Public propertyFriendlyName
Gets the name of the contract.
Public propertyIsClient
Gets or sets a value indicating whether this service is used as client (Driver).
Public propertyIsServer
If the service is used as Stub, to simulate web service and to be called.
Public propertyMessageEncoding
Gets a value indicating whether to send messages in MtoM].
Public propertyName
Gets or sets the name of the service Endpoint
Public propertyProtectionLevel
Gets or sets the protection level if the service is protected by WS-Security If the server side must verify the signature of the caller, assign with ProtectionLevel.Sign If the transmission should be encrypted, assign with ProtectionLevel.EncryptAndSign The default value is None. When using protection for web service, you must configure a Certificate.
Public propertySerializedBinding
Gets or sets the XML representation of the BindingObject. if the BindingType is BasicHttpBinding, this property is ignored.
Public propertyServerServiceId
Gets or sets the server service identifier, it is generated when the instance is initialized.
Public propertyServerStubType
Gets the type of the Server Stub code generated by the WsdlServiceAnalyser.
Public propertyServerUriTemplate
Uri Template as Server (Service simulator), The Uri contains only absolute path, and must starts with /. Variables are allowed.
Public propertySessionMode
Specifies the values available to indicate the support for reliable sessions that a contract requires or supports.
Public propertySoapVersion
Gets the SOAP version of the current service.
Top
Methods
  NameDescription
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.)
Protected methodNotifyPropertyChanged
Notifies the property value has been changed.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventPropertyChanged
Occurs when [property changed].
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