Skip to content

Instantly share code, notes, and snippets.

@jonathanmaron
Created June 8, 2010 05:32
Show Gist options
  • Save jonathanmaron/429653 to your computer and use it in GitHub Desktop.
Save jonathanmaron/429653 to your computer and use it in GitHub Desktop.
use Zend\Soap\Client\Client;
use Zend\Debug;
$endpoint = 'http://invald.example.com/missing.wsdl';
try {
$client = new Client();
$client->setWsdl($endpoint);
} catch (SoapFault $e) {
Debug::dump($e->getMessage());
}
$client->LogIn(array('username' => 'invalid', 'password' => 'invalid'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment