XSD W3C · 1.2

SOAP 1.2 Envelope

The envelope, header, body and fault of SOAP 1.2 messages.

About

SOAP 1.2 is the W3C Recommendation; its faults have a structured Code, Reason and Detail. The schema imports xml.xsd for xml:lang, included here.

Good to know

  • The payload inside Body is accepted as is; validate it against the service's own XSD to check it.

Files

2 files · 14.4 KB

The validator loads all of these with their folder structure, so includes and imports resolve as published.

Example document

soap12.xml · 367 B · valid against this schema

In CI and from code

The same schema by its name, soap-1.2-envelope, through the API.

npx @xmlvalid/cli validate "**/*.xml" --schema soap-1.2-envelope
- uses: xmlvalid/validate-action@v1
  with:
    files: "**/*.xml"
    schema: soap-1.2-envelope
    api-key: ${{ secrets.XMLVALID_API_KEY }}
curl https://xmlvalid.com/api/v1/validations \
  -H "Authorization: Bearer $XMLVALID_API_KEY" \
  -F document={{ $schema->example ?? 'document.xml' }} -F schema=soap-1.2-envelope

Free accounts get 100 API validations a month. On Pro, a URL monitor can check a published document against this schema every hour and email you when it breaks. More CI setups