SOAP Message Formatter & Builder

Format SOAP envelopes, read the body and faults at a glance, and build new SOAP 1.1 or 1.2 requests.

Runs in your browser. Nothing is uploaded.

Format and read a SOAP message

Build a SOAP request

HTTP headers to send with it

How to use the SOAP Message Formatter & Builder

  1. Paste a SOAP request or response, for example from a log or a testing tool, or press Load example.
  2. Read the summary of SOAP version, operation, headers and, for errors, the fault code and reason. The formatted message appears below it.
  3. To create a new request, fill in Build a SOAP request with the version, operation, namespace and parameters.
  4. Copy the request and send it with the HTTP headers shown, which differ between SOAP 1.1 and 1.2.

Make SOAP messages readable

SOAP web services are still everywhere in banking, telecoms, logistics, government and older enterprise systems. Their messages are XML envelopes that often arrive on one line in logs, wrapped in namespaces and headers. This tool formats them and pulls out what matters: which operation was called, which headers were sent, and, when something went wrong, the fault code and reason.

What the summary shows

  • SOAP version, detected from the envelope’s namespace.
  • Operation: the first element in the body, such as GetExchangeRateResponse, and its namespace.
  • Headers present in the message, such as security tokens or tracing IDs.
  • Faults: the code, the reason and any detail values, for both SOAP 1.1 (faultcode, faultstring) and SOAP 1.2 (Code, Reason) layouts.

Formatting keeps every namespace declaration, attribute and value exactly as received, so the result is safe to copy into a ticket or a test.

Build a request

The builder writes a correct envelope for SOAP 1.1 or 1.2. Name the operation and its namespace, list the parameters as name=value lines and, if the service needs it, add a WS-Security username and password header. Values are escaped so ampersands and angle brackets can’t break the XML.

Below the request you get the HTTP headers to send with it, which differ by version: SOAP 1.1 needs text/xml and a SOAPAction header; SOAP 1.2 uses application/soap+xml with the action in the content type. Getting these wrong is one of the most common reasons a SOAP call fails.

Check against the WSDL

The suggested SOAPAction joins the namespace and operation name, which many services use. The WSDL file is the authority: copy its exact soapAction value if it differs.

Private

Messages often contain account numbers and credentials. Everything happens in your browser; passwords typed into the builder are never stored. To convert a response into JSON, use XML Converter.

Frequently asked questions

What is the difference between SOAP 1.1 and 1.2?

They use different envelope namespaces and HTTP headers. SOAP 1.1 is sent as text/xml with a separate SOAPAction header; SOAP 1.2 is sent as application/soap+xml with the action inside the Content-Type. Faults are structured differently too. The tool detects the version from the namespace.

How do I read a SOAP fault?

The fault code says whose problem it is (Client or Sender means your request was wrong; Server or Receiver means the service failed), and the fault string or reason explains why. The detail element often has a service-specific error code.

Can I send the request from this page?

No. Browsers block requests to other sites unless they allow it, and this site never sends your data anywhere. Copy the request into a tool like curl, Postman or your code. The cURL converters can turn a curl command into code.

Is the password in the WS-Security header safe?

It stays in your browser and is never saved. The header sends it as plain text, as the UsernameToken profile does, so only send such requests over HTTPS.

Is my message uploaded?

No. Formatting and building happen in your browser.

Tutorials