Processing the Request/Response Payload
With both REST and SOAP you need prior agreement on the semantics of the data.
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<p:getPartsListResponse xmlns:p="http://www.parts-depot.com">
<p:Parts xmlns:p="http://www.parts-depot.com"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
"http://www.parts-depot.com
http://www.parts-depot.com/parts.xsd">
<Part id="00345" xlink:href="http://www.parts-depot.com/parts/00345"/>
<Part id="00346" xlink:href="http://www.parts-depot.com/parts/00346"/>
<Part id="00347" xlink:href="http://www.parts-depot.com/parts/00347"/>
<Part id="00348" xlink:href="http://www.parts-depot.com/parts/00348"/>
With both REST and SOAP client applications
will need to understand these responses.