I've got a simple Soap request that collects some information from a remote server:
<?php
$cunum=$_GET[cunum];
$client = new
SoapClient(
"http://xxx/cfa-3.0.6/CFAManager?wsdl"
);
print $client->getCfaInfoByAccount($cunum, APTIS, jsmith);
?>
This works fine, and I get the raw data I want. It is returned in the following format:
<xml><errorCode>0000</errorCode><errorMessage>Transaction Completed Successfully!</errorMessage><responseTime>1</responseTime><rowsReturned>2</rowsReturned><cfaInfo>... </xml>
My question is:
What is the most straightforward way to convert this response into something that is readable for a web user? There are (literally) dozens of tutorials out there, but nothing sufficiently on point.
all help/thoughts appreciated.