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>