---
title: SOAP client proxy documentation
summary: Entry point for the Document consumed SOAP service proxy documentation.
status: draft
owner: SAIF.Core documentation
last_reviewed: 2026-09-24
---

# SOAP client proxy documentation

This proxy calls the external `clsGenerate`† ASMX service, which fronts the xPression document platform, to preview, distribute, and enumerate document packages; it is consumed by `SAIF.Services.Web.Proxies`, specifically its authored wrapper `SAIF.Services.Web.Proxies.DocumentServiceProxy`, which is in turn used by `SAIF.Services.Utilities.Documents.DocumentService`.

| Field | Value |
| --- | --- |
| **Proxy name** | `Document` |
| **Mechanism** | Service Reference (svcutil) |
| **Generated namespace** | `SAIF.Services.Web.Proxies.Document` |
| **Generated artifacts** | `Services/SAIF.Services.Web.Proxies/Service References/Document/Reference.cs` |
| **WSDL document** | `Services/SAIF.Services.Web.Proxies/Service References/Document/clsGenerate.wsdl` |
| **Proxy base type** | `System.ServiceModel.ClientBase<T>` |
| **Hand-written wrapper** | `DocumentServiceProxy` (`Services/SAIF.Services.Web.Proxies/DocumentServiceProxy.cs`) |
| **Consuming project** | `SAIF.Services.Web.Proxies` |
| **Target service** | `clsGenerate` (xPression document platform) |
| **Endpoint source** | Constructor argument — `EndpointAddress` built by the wrapper from an environment setting; the `app.config` `<client><endpoint>` is present but bypassed |
| **Binding** | `BasicHttpBinding` constructed in code, with raised message-size and array-length quotas |
| **Operations present** | 10 |
| **Operations called** | 4 |

## Documentation sections

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

## Called service

| Attribute | Value |
| --- | --- |
| Service name | `clsGenerate` |
| Documented by this run | No |
| Service documentation | `clsGenerate`† |
| Endpoint address | `http://xpressionsdev:8000/wsDocuments/clsGenerate.asmx` (non-prod tracks) / `http://xpressionsprod:8000/wsDocuments/clsGenerate.asmx` (prod) |
| Address source | `Services/SAIF.Services/Utilities/Documents/DocumentService.cs:35` (`environmentService.GetConfigSetting("documentGeneratorServiceUrl")`) |
| SOAP namespace | `http://localhost:8000/wsDocuments/clsGenerate.asmx?WSDL/` |

## Related documentation
- [Overview](overview.md)
- [Architecture](architecture.md)
- [Contract](contract.md)
- [Operation map](operation-map.md)
- [Client reference](reference.md)
- [Consumption](consumption.md)
- [Dependencies](dependencies.md)
- [Business rules](business-rules.md)
- [Tech debt](tech-debt.md)

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

## Sources
- `Services/SAIF.Services.Web.Proxies/Service References/Document/clsGenerate.wsdl`
- `Services/SAIF.Services.Web.Proxies/Service References/Document/Reference.cs`
- `Services/SAIF.Services.Web.Proxies/Service References/Document/Reference.svcmap`
- `Services/SAIF.Services.Web.Proxies/DocumentServiceProxy.cs`
- `Services/SAIF.Services/Utilities/Documents/DocumentService.cs`
