Skip to content

Instantly share code, notes, and snippets.

@fangel
Created May 3, 2009 10:47
Show Gist options
  • Save fangel/105940 to your computer and use it in GitHub Desktop.
Save fangel/105940 to your computer and use it in GitHub Desktop.
<?php
$client = new SoapClient('https://kvikbase.kvik.com:44343/webservices/KvikStores.php?wsdl');
$output = $client->get_employees_by_store( array('storeid'=>27, 'languageid'=>1));
var_dump($output);
---
Fatal error: Uncaught SoapFault exception: [HTTP] Unauthorized in /Users/fangel/Sites/soap-test-riversen.php:4
Stack trace:
#0 [internal function]: SoapClient->__doRequest('<?xml version="...', 'https://kvikbas...', 'https://kvikbas...', 1, 0)
#1 [internal function]: SoapClient->__call('get_employees_b...', Array)
#2 /Users/fangel/Sites/soap-test-riversen.php(4): SoapClient->get_employees_by_store(Array)
#3 {main}
thrown in /Users/fangel/Sites/soap-test-riversen.php on line <i>4</i></th></tr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment