---
title: "SOAP to MCP: legacy WSDL services become tools | FluxOS MCP"
description: "Import the WSDL of your legacy SOAP service and publish an MCP server with nothing to rewrite: each operation becomes a tool, with the response converted to JSON."
url: "https://www.fluxosmcp.com/en/servidor-mcp/soap"
lang: "en-US"
---

SOAP and WSDL

# Legacy SOAP services as an MCP server, with nothing to rewrite

Give the WSDL URL, paste the content or upload the file. Each operation with a SOAP binding becomes an MCP tool: FluxOS MCP builds the envelope from the arguments, calls the service and returns the response as JSON.

[Talk to us](mailto:contato@fluxosmcp.com) [Documentation for this source](https://www.fluxosmcp.com/en/docs/origens/soap)

## How the source becomes MCP tools

| In the WSDL                       | In the MCP tool                                                                                |
| --------------------------------- | ---------------------------------------------------------------------------------------------- |
| Operation name                    | Name in snake\_case: GetOrder becomes get\_order.                                              |
| documentation                     | The tool description.                                                                          |
| Input elements of the message     | Properties of the input schema, required according to minOccurs. Complex types up to 3 levels. |
| XML response                      | Converted to JSON.                                                                             |
| soapAction, version and namespace | Stored in the tool's SOAP block.                                                               |

Step by step

## From the source to an MCP server in four steps

1. ### Register the system
Type SOAP, the service's base URL and the credential: Bearer, or username and password.
2. ### Read the WSDL
By URL, pasted content or file. Operations are grouped by service.
3. ### Choose the operations
Check whether each one is a read or a write and pick the input element that identifies the client.
4. ### Publish the MCP server
Pick or create the target server, publish it and generate a key for each client, with limits and the tools each key may call.

In every server

## What the MCP server already includes

### Per-client isolation

Every call carries who the client is. Each tool filters by the identifier of the key's owner, which the assistant cannot choose or change.

### Keys with limits

Per-minute and per-day limits, tools allowed per key, rotation with a grace period and instant revocation.

### Metered usage

Calls, errors and rejections by day, key and tool. That same metering checks the plan's included calls and, when it applies, the overage.

## Limits and things to watch

- WSDL 1.1, with SOAP 1.1 or 1.2 bindings. WSDL 2.0 is not supported.
- External imports (`xsd:import`, `wsdl:import`) are not followed: the WSDL must carry its schemas inline.
- Read or write is an estimate from the operation name; when in doubt, the tool comes as a write. Review before publishing.
- Each call has a 60-second time limit and a response of up to 16 MiB.

## Going deeper

- [Documentation for this source](https://www.fluxosmcp.com/en/docs/origens/soap)
- [Tutorial: SOAP isn't dead. Connect Brazil's central bank to your AI assistant](https://www.fluxosmcp.com/en/blog/tutorial-soap-isnt-dead-connect-brazils-central-bank-to-your-ai-assistant)

## Other sources

- [OpenAPI and REST APIs](https://www.fluxosmcp.com/en/servidor-mcp/openapi): Each operation in the spec becomes an MCP tool.
- [SQL database](https://www.fluxosmcp.com/en/servidor-mcp/banco-de-dados-sql): PostgreSQL, MySQL and SQL Server: tools per table, with no SQL to write.
- [GraphQL](https://www.fluxosmcp.com/en/servidor-mcp/graphql): Each query and each mutation in the schema becomes an MCP tool.
- [Postman and cURL](https://www.fluxosmcp.com/en/servidor-mcp/postman-e-curl): No OpenAPI? Each request in the collection or each command becomes a tool.
- [Undocumented API (HAR)](https://www.fluxosmcp.com/en/servidor-mcp/api-sem-documentacao): Record a HAR file in the browser and get one tool per API call.

Frequently asked questions

## Questions about this source

Do I need to change or rewrite the SOAP service?

No. The service stays as it is. FluxOS MCP reads the WSDL, builds the SOAP envelope for each call and converts the response to JSON for the assistant.

Does it work with WS-Security?

With UsernameToken, yes. Open the tool on the canvas, select the SOAP block and turn on WS-Security, with a plain-text or digest password. The credential must have a username and a password.

How does FluxOS MCP know whether an operation changes data?

The WSDL does not say. The type is estimated from the name: an operation only comes as a read when its name starts with a query word such as get, list, find or search. The rest come as writes, unchecked.

## Publish your first MCP server

Connect the system, choose the tools and hand each client a key with limits.

[ Talk to us ](mailto:contato@fluxosmcp.com) [Log in](https://app.fluxosmcp.com/entrar)
