SoapBindingsGetBasicHttpBinding Method (RequestOptions, Boolean, WSMessageEncoding) |
Get a custom Binding object for SOAP 1.1 WebServices.
Namespace:
Hummingbird.TestFramework.Services
Assembly:
Hummingbird.TestFramework (in Hummingbird.TestFramework.dll) Version: 1.2.0.0
Syntax public static Binding GetBasicHttpBinding(
RequestOptions options,
bool https,
WSMessageEncoding messageEncoding
)
Public Shared Function GetBasicHttpBinding (
options As RequestOptions,
https As Boolean,
messageEncoding As WSMessageEncoding
) As Binding
public:
static Binding^ GetBasicHttpBinding(
RequestOptions^ options,
bool https,
WSMessageEncoding messageEncoding
)
static member GetBasicHttpBinding :
options : RequestOptions *
https : bool *
messageEncoding : WSMessageEncoding -> Binding
Parameters
- options
- Type: Hummingbird.TestFramework.ServicesRequestOptions
The RequestOptions options. - https
- Type: SystemBoolean
Indicate if the service is secured by HTTPS - messageEncoding
- Type: System.ServiceModelWSMessageEncoding
MessageEncoding of your WebServices: Text or MTOM
Return Value
Type:
Binding
The BasicHttpBinding object for given parameters
Remarks If the service returns file attachments, such as Images, PDF files or Excel documents, properly it uses MTOM. Please in this case specify MTOM in messageEncoding argument
Fore more information, please check the WSDL definition of your service.
See Also