} catch (SoapFault $x) { print "\r\n\r\nRequest was:\r\n" . preXml($client->__getLastRequest()) . "\r\n"; print "Exception:\r\n" . $x . "\r\n"; } ?> </pre> <h2>soapenc:Array ReverseArray(soapenc:Array)</h2> <pre class="console"> <?php try { print "ReverseArray([true, \"text\", [1, 2, 3]]) returns:\r\n"; ?> <span class="return"><?php echo htmlspecialchars(var_export($client->ReverseArray(array(true, "text", array(1, 2, 3))), 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 "\r\n\r\nRequest was:\r\n" . preXml($client->__getLastRequest()) . "\r\n"; print "Exception:\r\n" . $x . "\r\n"; } ?> </pre> </div></body> </html>
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:dateTime WhatIsNextDay(xsd:dateTime)</h2> <pre class="console"> <?php try { print "WhatIsNextDay(\"2012-11-30T14:56:03Z\") returns:\r\n"; ?> <span class="return"><?php echo htmlspecialchars(var_export($client->WhatIsNextDay("2012-11-30T14:56:03Z"), 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> </div></body> </html>