Quick answer

Inside the Envelope you must have exactly one Body (normal response) or one Fault (error).

SOAP Missing Body or Fault

Inside the Envelope you must have exactly one Body (normal response) or one Fault (error). If both are missing, or the structure is wrong, the response is invalid.

Common causes

How to fix

Examples

Bad

<soap:Envelope xmlns:soap="..."><soap:Header/></soap:Envelope>

Good

<soap:Envelope xmlns:soap="..."><soap:Body><Result>OK</Result></soap:Body></soap:Envelope>

FAQ

Can SOAP Envelope have both Body and Fault?
No. It must have exactly one: either Body (success) or Fault (error).
Where does my response XML go?
Inside the Body element as direct child(ren) of Body.

Fix it now

Try in validator (prefill this example)

Related

All tools · Canonical