메소드 | 설명 | |
---|---|---|
CleanupAfterCall ( ) : void |
Cleans up any resources after an API call.
|
|
HandleMessage ( |
Handles the SOAP message.
|
|
InitForCall ( ) : void |
Initializes the listener for handling an API call.
|
메소드 | 설명 | |
---|---|---|
AppendHeadersToSoapXml ( string soapRequest, string headers ) : string |
Appends the HTTP headers to SOAP xml.
|
|
FormatHttpRequest ( string soapRequest ) : string |
Creates a formatted http request text, to be written into HTTP logs.
|
|
FormatHttpResponse ( string soapResponse ) : string |
Creates a formatted http response text, to be written into HTTP logs.
|
|
FormatSoapRequest ( |
Creates a formatted soap request text, to be written into SOAP logs.
|
|
FormatSoapResponse ( |
Creates a formatted soap response text, to be written into SOAP logs.
|
|
GetFieldsToMask ( ) : string[] |
Gets a list of fields to be masked in xml logs.
|
|
GetTimeStamp ( ) : string |
Gets the current timestamp as a formatted string.
|
|
MaskCredentialsInLogs ( |
Masks a list of fields in the SOAP message before logging it.
|
|
TraceListener ( AppConfig config ) : System |
Protected constructor.
|
메소드 | 설명 | |
---|---|---|
PerformLogging ( AdsClient service, string soapRequest, string soapResponse ) : void |
Performs the SOAP and HTTP logging.
|
protected AppendHeadersToSoapXml ( string soapRequest, string headers ) : string | ||
soapRequest | string | The SOAP request. |
headers | string | The HTTP headers. |
리턴 | string |
protected FormatHttpRequest ( string soapRequest ) : string | ||
soapRequest | string | The request xml for this SOAP call. |
리턴 | string |
protected FormatHttpResponse ( string soapResponse ) : string | ||
soapResponse | string | The response xml for this SOAP call. |
리턴 | string |
protected FormatSoapRequest ( |
||
webRequest | The web request for this SOAP call. | |
soapRequest | string | The request xml for this SOAP call. |
리턴 | string |
protected FormatSoapResponse ( |
||
webResponse | The web response for this SOAP call. | |
soapResponse | string | The response xml for this SOAP call. |
리턴 | string |
public HandleMessage ( |
||
soapMessage | The SOAP message. | |
service | AdsClient | The SOAP service. |
direction | SoapMessageDirection | The direction of message. |
리턴 | void |
protected MaskCredentialsInLogs ( |
||
soapMessageXml | The SOAP message, loaded as an XmlDocument. /// | |
fieldNames | string | The list of field names to be masked. |
리턴 | void |
protected TraceListener ( AppConfig config ) : System | ||
config | AppConfig | The config class. |
리턴 | System |