SOAP Web Services on Blockchain

Legacy SOAP services can earn revenue through Opsalis. The wrapper auto-converts between JSON and SOAP XML — consumers never see XML.

How It Works

Your Browser JSON Request JSON London Node Consumer P2P NYC Owner New York JSON → XML SOAP Wrapper JSON ↔ XML Auto-Convert SOAP Env SOAP Service bb-soap JSON Response (auto-converted from SOAP XML) + Latency

The consumer sends plain JSON. The Opsalis wrapper converts it to a SOAP XML envelope, calls your legacy service, and converts the SOAP response back to JSON. Consumers never touch XML.

Why SOAP APIs on Opsalis?

Legacy SOAP services can earn revenue through Opsalis. The wrapper auto-converts between JSON and SOAP XML — consumers never see XML. Your decades-old enterprise web service becomes a modern, monetizable API overnight.

Many industries — banking, healthcare, government, insurance — still rely on SOAP web services. These services contain valuable data and business logic but are difficult for modern developers to consume. Opsalis bridges this gap by presenting SOAP services as clean JSON APIs.

Real-world example: A bank has a SOAP-based account balance service built in 2008. By registering it on Opsalis, fintech startups can query account balances via simple JSON calls at $0.005 each. The bank monetizes a legacy asset without rewriting a single line of code.

Try It Live

SOAP Operation

You send JSON — the wrapper converts to SOAP XML automatically. The response shows the converted JSON output.

Select a SOAP operation and click "Run Demo" to see JSON→SOAP→JSON conversion in action.

Code Samples

# Call a SOAP service via JSON — Opsalis handles XML conversion
$ curl -X POST https://opsalis.com/api/demo/api/bb-soap \
  -H "Content-Type: application/json" \
  -H "X-Consumer-Key: demo-public-key-2026" \
  -d '{
    "operation": "getBalance",
    "accountId": "ACC-001234"
  }'
// Call a SOAP service via JSON — Opsalis handles XML conversion
const response = await fetch('https://opsalis.com/api/demo/api/bb-soap', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'X-Consumer-Key': 'demo-public-key-2026'
  },
  body: JSON.stringify({
    operation: 'getBalance',
    accountId: 'ACC-001234'
  })
});

const data = await response.json();
console.log(data);
// Returns clean JSON — no XML parsing needed!
# Call a SOAP service via JSON — Opsalis handles XML conversion
import requests

response = requests.post(
    'https://opsalis.com/api/demo/api/bb-soap',
    headers={
        'Content-Type': 'application/json',
        'X-Consumer-Key': 'demo-public-key-2026'
    },
    json={
        'operation': 'getBalance',
        'accountId': 'ACC-001234'
    }
)

data = response.json()
print(data)
# Returns clean JSON — no XML parsing needed!

Self-Host in Minutes

1

Install the Control Center

Pull and run the free Opsalis Docker container on your own hardware. No cloud account required.

$ docker pull opsalis/control-center:latest
$ docker run -d --name opsalis -p 3000:3000 opsalis/control-center:latest
2

Register Your SOAP Service

Open the web console at localhost:3000 and register your SOAP WSDL endpoint. The wrapper auto-detects available operations and generates JSON mappings.

# Example: Register a SOAP service via the CLI
$ opsalis api register \
  --name "my-soap-service" \
  --protocol SOAP \
  --endpoint http://localhost:8080/ws/AccountService?wsdl \
  --price 0.005 \
  --currency USDC
3

Configure JSON Mappings

The wrapper auto-generates JSON-to-SOAP mappings from your WSDL. You can customize field names and add validation rules via the web console.

4

Start Earning

Your SOAP service is live on the marketplace as a modern JSON API. Consumers call it like any other REST endpoint. You earn 95% of every payment, settled in USDC on Base L2.