Skip to content

Instantly share code, notes, and snippets.

@jonathanmaron
Created June 8, 2010 11:44
Show Gist options
  • Save jonathanmaron/429896 to your computer and use it in GitHub Desktop.
Save jonathanmaron/429896 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);
$client->LogIn(array('username' => 'invalid', 'password' => 'invalid'));
} catch (\SoapFault $e) {
echo $e->getMessage();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment