How It Works
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.
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
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
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
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.
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.