> ## Documentation Index
> Fetch the complete documentation index at: https://developer.hct.com.tw/llms.txt
> Use this file to discover all available pages before exploring further.

# 1. SOAP Specification

> **Version**: v1.0.0 \
>
> **Status**: Final \
>
> **Last Updated**: 2026-11-24

### Purpose

This document defines the specifications shared by all SOAP APIs, including the SOAP Envelope, SOAP Header, XML namespaces, common message formats, and related definitions. It serves as the common basis for each API specification and ensures consistency between API implementations and their documentation.

### Scope

* Applies to all APIs that use the SOAP protocol.
* If an individual API has specific requirements, they are described in that API's specification, which takes precedence.

### Protocol

| Item | Value |
| - | - |
| Protocol | SOAP 1.2 |
| Transport | HTTPS |
| Method | POST |
| Encoding | UTF-8 |

### SOAP Envelope Namespaces

* The following namespaces apply to the Envelope element of all SOAP requests.

| Prefix | Required | Value | Declared On | Description |
| - | - | - | - | - |
| xsi | Y | [http://www.w3.org/2001/XMLSchema-instance](http://www.w3.org/2001/XMLSchema-instance) | `<soap12:Envelope>` | XML Schema Instance namespace |
| xsd | Y | [http://www.w3.org/2001/XMLSchema](http://www.w3.org/2001/XMLSchema) | `<soap12:Envelope>` | XML Schema Definition namespace |
| soap12 | Y | [http://www.w3.org/2003/05/soap-envelope](http://www.w3.org/2003/05/soap-envelope) | `<soap12:Envelope>` | SOAP 1.2 Envelope namespace |

### HTTP Request Headers

* The following HTTP headers apply to all SOAP API requests.

| No. | Key | Value | Required | Description |
| - | - | - | - | - |
| 1 | Content-Type | application/soap+xml; charset=utf-8 | Y | Specifies the SOAP 1.2 message format and character encoding. |

### SOAP Message Structure

| Placeholder | Description |
| - | - |
| `{OperationName}` | The SOAP operation name, defined by each API. |
| `{Request Content}` | The request parameters, defined by each API specification. |
| `{Response Content}` | The response data, defined by each API specification. |

***

#### Request Example

```xml theme={null}
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <{OperationName} xmlns="http://tempuri.org/">
		{Request Content}
    </{OperationName}>
  </soap12:Body>
</soap12:Envelope>
```

#### Response Example

```xml theme={null}
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <soap:Body>
        <{OperationName} xmlns="http://tempuri.org/">
            {Response Content}
        </{OperationName}>
    </soap:Body>
</soap:Envelope>
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.