SOAP uses XML to define a protocol for the exchange of information in distributed computing environments.