C# Class org.GraphDefined.Vanaheimr.Hermod.SOAP.ASOAPClient

An abstract base class for all HTTP/SOAP clients.
Inheritance: AHTTPClient
Show file Open project: Vanaheimr/Hermod

Public Methods

Method Description
ASOAPClient ( String ClientId, String Hostname, IPPort RemotePort, RemoteCertificateValidationCallback RemoteCertificateValidator = null, X509Certificate ClientCert = null, String HTTPVirtualHost = null, String URIPrefix = null, String UserAgent = DefaultHTTPUserAgent, System.TimeSpan QueryTimeout = null, DNSClient DNSClient = null ) : System

Create an abstract SOAP client.

Protected Methods

Method Description
SendSOAPError ( System.DateTime Timestamp, Object Sender, System.Xml.Linq.XElement SOAPXML ) : void

Notify that an HTTP error occured.

Method Details

ASOAPClient() public method

Create an abstract SOAP client.
public ASOAPClient ( String ClientId, String Hostname, IPPort RemotePort, RemoteCertificateValidationCallback RemoteCertificateValidator = null, X509Certificate ClientCert = null, String HTTPVirtualHost = null, String URIPrefix = null, String UserAgent = DefaultHTTPUserAgent, System.TimeSpan QueryTimeout = null, DNSClient DNSClient = null ) : System
ClientId String A unqiue identification of this client.
Hostname String The hostname to connect to.
RemotePort IPPort The remote TCP port to connect to.
RemoteCertificateValidator RemoteCertificateValidationCallback A delegate to verify the remote TLS certificate.
ClientCert System.Security.Cryptography.X509Certificates.X509Certificate The TLS client certificate to use.
HTTPVirtualHost String An optional HTTP virtual host name to use.
URIPrefix String An default URI prefix.
UserAgent String An optional HTTP user agent to use.
QueryTimeout System.TimeSpan An optional timeout for upstream queries.
DNSClient DNSClient An optional DNS client.
return System

SendSOAPError() protected method

Notify that an HTTP error occured.
protected SendSOAPError ( System.DateTime Timestamp, Object Sender, System.Xml.Linq.XElement SOAPXML ) : void
Timestamp System.DateTime The timestamp of the error received.
Sender Object The sender of this error message.
SOAPXML System.Xml.Linq.XElement The SOAP fault/error.
return void