A consumer must construct the authored WorkCalendarServiceProxy wrapper directly, supplying its own service URL; no repository code in this repository currently does so. SAIF.Services.Web.Proxies, the library that carries this proxy, is itself consumed as a library within this run — see saif-services-web-proxies.
Supplied by the caller of WorkCalendarServiceProxy's constructor (serviceUrl argument, validated with Enforce.ArgumentNotNullOrWhiteSpace); no repository source supplies one
Binding
Constructed in code (new BasicHttpBinding(), all defaults)
There is no client-side retry, so a transient failure fails the single attempt outright — significant because the date lookups are idempotent and could safely be retried or cached, but neither is done*. There is no explicit timeout, so the call relies on the BasicHttpBinding framework defaults.
No repository source constructs or calls WorkCalendarServiceProxy, so no in-repository usage example can be drawn from a call site. The following example is illustrative — assembled from the wrapper's actual constructor, method, and Dispose() implementations shown in Construction and Disposal above — and shows how a consumer would construct, call, and dispose the wrapper if one existed.
// Illustrative example — assembled from WorkCalendarServiceProxy.cs; no repository source performs this sequence today.using(varcalendar=newWorkCalendarServiceProxy(serviceUrl)){boolisWorkDay=calendar.IsWorkingDay(DateTime.Today,"SAIF");DateTimenext=calendar.NextWorkDay(DateTime.Today,"SAIF");}// Dispose() calls _webService.Close()
Scenario
Operations used
Notes
Illustrative working-day check and next-work-day lookup
IsWorkingDay, NextWorkDay
Assembled from WorkCalendarServiceProxy.cs:12-19,28-31,40-43,49-65; not exercised by any caller in this repository
Note: Statements marked with * were inferred from code structure, naming
conventions, or contextual evidence where direct confirmation was not available
in source artifacts. Statements marked with ** could not be confirmed; treat
as unknown until verified.