Skip to content

SOAP client proxy documentation

This proxy calls the external WSLogging† ASMX service to record error entries; it is consumed by SAIF.Services.Web.Proxies, and its one in-repository caller is EnvironmentApi.SAIFExceptionLogger, the global IExceptionLogger for the EnvironmentApi Web API project, which references the proxy library through a binary HintPath rather than a project reference.

Field Value
Proxy name Logging
Mechanism Service Reference (svcutil)
Generated namespace SAIF.Services.Web.Proxies.Logging
Generated artifacts Services/SAIF.Services.Web.Proxies/Service References/Logging/Reference.cs
WSDL document Services/SAIF.Services.Web.Proxies/Service References/Logging/clsWSLogging.wsdl
Proxy base type System.ServiceModel.ClientBase<T>
Hand-written wrapper LoggingServiceProxy (Services/SAIF.Services.Web.Proxies/LoggingServiceProxy.cs)
Consuming project SAIF.Services.Web.Proxies
Target service WSLogging (clsWSLogging ASMX class)
Endpoint source Constructor argument — EndpointAddress built by the wrapper from an appSettings value; the app.config <client><endpoint> is present but bypassed
Binding BasicHttpBinding constructed in code, all defaults
Operations present 3
Operations called 1

Documentation sections

Section Description
Overview Which service is called, who consumes the proxy, and capability summary
Architecture How the proxy is constructed, configured, and invoked
Contract The WSDL-declared operations, messages, faults, and binding
Operation map Operations present in the proxy versus operations actually called
Client reference One section per operation called from repository source
Consumption Construction, disposal, resilience, and endpoint configuration
Dependencies Packages, framework components, and the called service
Business rules Rules enforced around the call
Tech debt CRITICAL and HIGH severity findings

Called service

Attribute Value
Service name WSLogging
Documented by this run No
Service documentation WSLogging†
Endpoint address http://saifonline/WebServices/WSLogging/clsWSLogging.asmx
Address source Services/SAIF.Services.WebApi/EnvironmentApi/Web.config:8 (appSettings["loggingServiceUrl"])
SOAP namespace http://tempuri.org/SAIF/Logging/clsWSLogging

Note: Statements marked with † are derived from dependency library documentation via the Legends CLI.

Sources

  • Services/SAIF.Services.Web.Proxies/SAIF.Services.Web.Proxies.csproj
  • Services/SAIF.Services.Web.Proxies/Service References/Logging/Reference.cs
  • Services/SAIF.Services.Web.Proxies/Service References/Logging/clsWSLogging.wsdl
  • Services/SAIF.Services.Web.Proxies/LoggingServiceProxy.cs
  • Services/SAIF.Services.WebApi/EnvironmentApi/App_Start/SAIFExceptionLogger.cs
  • Services/SAIF.Services.WebApi/EnvironmentApi/Web.config