{ "title": "SOAP 1.2 Envelope Example", "description": "Example SOAP 1.2 messages demonstrating request/response and fault patterns", "namespace": "http://www.w3.org/2003/05/soap-envelope", "examples": [ { "name": "SOAP Request", "description": "A SOAP 1.2 request message for a GetStockPrice operation", "xml": "\n\n \n TX-20260502-001\n \n \n \n IBM\n \n \n", "json_representation": { "Envelope": { "namespace": "http://www.w3.org/2003/05/soap-envelope", "Header": { "TransactionId": { "mustUnderstand": true, "value": "TX-20260502-001" } }, "Body": { "GetStockPrice": { "StockName": "IBM" } } } } }, { "name": "SOAP Response", "description": "A SOAP 1.2 response message returning stock price data", "xml": "\n\n \n \n 185.42\n USD\n 2026-05-02T14:30:00Z\n \n \n", "json_representation": { "Envelope": { "namespace": "http://www.w3.org/2003/05/soap-envelope", "Body": { "GetStockPriceResponse": { "Price": 185.42, "Currency": "USD", "Timestamp": "2026-05-02T14:30:00Z" } } } } }, { "name": "SOAP Fault", "description": "A SOAP 1.2 Fault message indicating the sender made an invalid request", "xml": "\n\n \n \n \n soap:Sender\n \n stock:InvalidStockSymbol\n \n \n \n The stock symbol 'INVALID' is not recognized.\n \n \n INVALID\n \n \n \n", "json_representation": { "Envelope": { "namespace": "http://www.w3.org/2003/05/soap-envelope", "Body": { "Fault": { "Code": { "Value": "Sender", "Subcode": { "Value": "InvalidStockSymbol" } }, "Reason": { "Text": { "lang": "en", "value": "The stock symbol 'INVALID' is not recognized." } }, "Detail": { "StockSymbol": "INVALID" } } } } } } ] }