---
title: ISimpleCertifiedMailServiceProxy
summary: API reference for ISimpleCertifiedMailServiceProxy.
status: draft
owner: SAIF.Core Documentation Team
last_reviewed: 2026-09-24
library: SAIF.Services.Web.Proxies
reference_type: package
---

# ISimpleCertifiedMailServiceProxy

`ISimpleCertifiedMailServiceProxy` is the constructor-injection seam that lets `SubpoenaLabelService` and `DocumentDeferredService` in SAIF.Services request certified-mail labels without depending on `SimpleCertifiedMailServiceProxy`'s concrete SOAP client construction. It declares `Dispose()` directly rather than extending `IDisposable`.

## Purpose
- Define the label-production contract consumed via dependency injection: default label sizing, label-only requests, and save-to-file requests ([OP-WP-08](../../operations/produce-a-certified-mail-label.md)).

## Context
- Namespace: `SAIF.Services.Web.Proxies`
- Assembly/package: `SAIF.Services.Web.Proxies` (packaged in `SAIF.SAIFCode.Core`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `Dispose` | `void Dispose()` | Releases the underlying SOAP client; declared directly on the interface rather than via `IDisposable` |
| `GetDefaultLabelData` | `CertifiedLabelData GetDefaultLabelData(int numberOfPages)` | Produces default label data sized by page count, with `"ADMINISTRATION"` as the default group ([WP-BR-015](../../business-rules.md#wp-br-015-default-label-size-is-set-by-page-count)) |
| `SaveLabelAsGif` | `void SaveLabelAsGif(CertifiedLabelData data, string fileName)` | Requests a label and saves it as a `.gif` file; performs no action if the remote service returns no label |
| `GetLabelOnly` | `CertifiedLabelData GetLabelOnly(CertifiedLabelData data)` | Requests a label but discards the returned image; used when only the side effect of the request matters ([WP-BR-016](../../business-rules.md#wp-br-016-getlabelonly-discards-the-label-image)) |

## Behavioral notes
- The sole implementation in this library, `SimpleCertifiedMailServiceProxy`, resolves credentials from configuration when the caller's `CertifiedLabelData` leaves them null ([WP-BR-014](../../business-rules.md#wp-br-014-simplecertifiedmail-credentials-default-from-configuration)).

## Constraints and usage notes
- No Autofac registration for this interface exists anywhere in this repository; the composition root that wires it for SAIF.Services consumers is external**.

> **Note:** Statements marked with ** could not be confirmed; treat as unknown until verified.

## Sources
- `Services/SAIF.Services.Web.Proxies/ISimpleCertifiedMailServiceProxy.cs`
