---
title: "SOAP | FluxOS MCP documentation"
description: "Import a WSDL 1.1 and turn each SOAP 1.1 or 1.2 operation of a legacy service into an MCP tool, with a JSON response and a client filter."
url: "https://www.fluxosmcp.com/en/docs/origens/soap"
lang: "en-US"
---

Documentation

# SOAP

The FluxOS MCP dashboard is currently in Portuguese. Screen labels appear here as you will see them, with the English meaning alongside.

Use this source for legacy services described by a **WSDL**. Each operation with a SOAP binding becomes an MCP tool, without rewriting the service.

## What gets imported

- A **WSDL 1.1**, by URL (up to 32 MB) or as pasted content or a file (`.wsdl`, `.xml`).
- The operations of the `portType` elements that have a **SOAP 1.1 or 1.2** binding. If the same operation has both, SOAP 1.1 is used.
- External imports (`xsd:import`, `wsdl:import`) **are not followed**: the WSDL must carry the schemas inside it (or you merge the files beforehand).

## What you need on hand

- The WSDL and the **service address**. The address comes from the WSDL (`soap:address`); if it does not provide one, configure the system’s endpoint.
- A **credential**, if there is authentication: Bearer, or username and password (sent as Basic or, if you turn it on, as WS-Security).
- The **input element that identifies the client** (for example `codigoCliente`).

## Step by step on screen

1. **Sistemas → Novo sistema** (Systems → New system), type **SOAP**. Enter the base URL (the service’s server) and the credential.
2. **Criar e importar** (Create and import). Enter the **URL do WSDL** (WSDL URL), paste the content, or upload the file, and click **Ler origem** (Read source).
![SOAP source](https://www.fluxosmcp.com/_astro/51-soap-origem.De0dYs3P_Z1ogAPp.webp)
3. Choose the operations, the client filter, and the destination server.
![Proposed SOAP operations](https://www.fluxosmcp.com/_astro/50-soap-ferramentas-propostas.BaT11CUx_RBUEu.webp)

## How operations become MCP tools

| In the WSDL                        | In the tool                                                                                                                      |
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------- |
| Operation name                     | Name in snake\_case (ConsultarPedido becomes consultar\_pedido)                                                                  |
| documentation                      | Description; without it, “Operação SOAP .” (SOAP operation, followed by its name)                                                |
| Service (or portType)              | Group on the import screen                                                                                                       |
| Input elements of the message      | Properties of the input schema (required according to minOccurs; lists for maxOccurs above 1; complex types up to 3 levels deep) |
| soapAction, version, and namespace | Stored in the tool’s SOAP block                                                                                                  |

The block builds the SOAP envelope from the arguments, calls the service, and **returns the response converted to JSON**. The call has a 60-second timeout and the response is limited to 16 MiB.

### Read or write

A WSDL does not say whether an operation changes data, so the tool’s type is an **estimate based on the operation name**, designed to err on the safe side. An operation only comes in as a read when the **first word** of its name is a lookup word (for example `get`, `list`, `find`, `search`, `query`, `fetch`, `consultar`, `buscar`, `listar`, `obter`, `pesquisar`, `localizar`, `verificar`, `contar`, `total`, `saldo`, `extrato`, `status`, `situação`) and **no other word in the name** suggests a write (such as `atualizar`, `incluir`, `cancelar`, `delete`, `set`). Names that combine actions, such as `ConsultarEAtualizarSaldo`, stay as writes. **Any other name, including one with no hint at all, is treated as a write** and exposed as destructive. Even so, the rule can be wrong in both directions, so check every operation.

### Client filter

Any simple input element (text or number) can be the client filter. It disappears from the input schema and receives the identifier of the key’s client.

### WS-Security

The importer does not turn on WS-Security. If the service requires `UsernameToken`, open the tool on the canvas, select the SOAP block, and enable **WS-Security UsernameToken**; choose a plain-text password or _digest_. The credential must have `username` and `password`.

## Limits and precautions

- **WSDL 1.1 only.** WSDL 2.0 is not supported.
- **Only reads come selected**, and the read classification depends on the name (see above).
- **The service address must be on the same server as the system’s base URL**, when you provide one. This is a safeguard so the system’s credential is not sent to another host: when creating the tools, an address on a different server is refused with a message explaining why.
- We tested the importer with a sample WSDL (a file). We have not exercised it against a real SOAP service.
