Testing and mock data

Learn web services

by learnwebservices.com

Testing and mock data Added on October 31st, 2026 Checked and working on November 15th, 2026
Visit learnwebservices.com →

What it does

Learn Web Services offers free sample web services for learning and testing, such as a simple hello-world service available both as SOAP (with a WSDL) and as REST. Use it to try out your SOAP or REST client code, tools like SoapUI or Postman, or to follow tutorials without having to build your own service first. Free, no key needed.
  • REST
  • SOAP
  • XML

At a glance

API key
Not needed · More APIs with no key
Pricing
Free, no key needed.
From the browser
No, call it from a server
Formats
XML
Interface
REST, SOAP
Provider
learnwebservices.com
Last checked
Working on November 15th, 2026

More information: https://www.learnwebservices.com/

Is this your service? Show that it is listed

Put this badge on your website or in your README; it links to this page. About the badge

Listed on Free Web Services

learnwebservices.com
Learn web services

Example request

curl

curl -X POST 'https://apps.learnwebservices.com/services/hello' \
  -H 'Content-Type: text/xml; charset=utf-8' \
  -d '<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://learnwebservices.com/services/hello"><soapenv:Header/><soapenv:Body><soap:HelloRequest><soap:Name>John Doe</soap:Name></soap:HelloRequest></soapenv:Body></soapenv:Envelope>'

JavaScript

const response = await fetch("https://apps.learnwebservices.com/services/hello", {
  method: 'POST',
  headers: {
    "Content-Type": "text/xml; charset=utf-8",
  },
  body: "<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:soap=\"http://learnwebservices.com/services/hello\"><soapenv:Header/><soapenv:Body><soap:HelloRequest><soap:Name>John Doe</soap:Name></soap:HelloRequest></soapenv:Body></soapenv:Envelope>",
});
const text = await response.text();
console.log(text);

Python

import requests

response = requests.post(
    "https://apps.learnwebservices.com/services/hello",
    headers={
        "Content-Type": "text/xml; charset=utf-8",
    },
    data="<soapenv:Envelope xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:soap=\"http://learnwebservices.com/services/hello\"><soapenv:Header/><soapenv:Body><soap:HelloRequest><soap:Name>John Doe</soap:Name></soap:HelloRequest></soapenv:Body></soapenv:Envelope>",
    timeout=30,
)
print(response.text)

Run the JavaScript on a server, such as Node.js 18 or newer: this API does not accept calls from web pages on other sites.

Did it work for you?

Tell us what you found when you tried Learn web services.