<body><div id="page-content">

    <h1>ArraysService Examples</h1>

<?php 
$url = "http://" . $_SERVER["SERVER_NAME"] . dirname($_SERVER["SCRIPT_NAME"]) . "/arrays-ws.php?wsdl";
$client = new SoapClient($url, array("trace" => 1, "exceptions" => 0));
?>
    <h2>xsd:int[] GiveMeIntArray()</h2>
    <pre class="console">
<?php 
try {
    print "GiveMeIntArray() returns:\r\n";
    ?>
<span class="return"><?php 
    echo htmlspecialchars(var_export($client->GiveMeIntArray(), true));
    ?>
</span><?php 
    print "\r\n\r\nRequest was:\r\n" . preXml($client->__getLastRequest()) . "\r\n";
    print "\r\nResponse was:\r\n" . preXml($client->__getLastResponse()) . "\r\n";
} catch (SoapFault $x) {
    print "Exception:\r\n" . $x . "\r\n";
}
?>
 
    </pre>

    <h2>xsd:string JoinArrayOfStrings(xsd:string[])</h2>
    <pre class="console">
<?php 
try {