REST typically uses lightweight HTTP resources with JSON, while SOAP is a stricter XML messaging protocol with a formal WSDL contract.
Detailed explanation
REST APIs expose resources over standard HTTP methods and usually exchange JSON, so testers focus on status codes, headers, payloads, and resource behaviour. SOAP uses XML envelopes, often with WSDL-defined operations, and may rely on WS-Security. Tooling and assertion strategies differ because SOAP faults and schema rules are more formal than typical REST error bodies.
Practical example
A REST order service returns JSON from GET /orders/12, while a SOAP payment service expects an XML envelope matching the WSDL operation PlacePayment.