clienttest.php revision 74cbfe8cd9e0617fc789820f0e81e995df2fd7a0
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * Sample client for the VirtualBox webservice, written in PHP.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * Run the VirtualBox web service server first; see the VirtualBOx
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * SDK reference for details.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * Copyright (C) 2009 Sun Microsystems, Inc.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * Contributed by James Lucas (mjlucas at eng.uts.edu.au).
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * The following license applies to this file only:
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * Permission is hereby granted, free of charge, to any person
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * obtaining a copy of this software and associated documentation
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * files (the "Software"), to deal in the Software without
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * restriction, including without limitation the rights to use,
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * copy, modify, merge, publish, distribute, sublicense, and/or
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * sell copies of the Software, and to permit persons to whom the
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * Software is furnished to do so, subject to the following conditions:
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * The above copyright notice and this permission notice shall be
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * included in all copies or substantial portions of the Software.
require_once('./vboxServiceWrappers.php");
$connection = new SoapClient("vboxwebService.wsdl", array('location" => "http://localhost:18083/"));