@@ -17,6 +17,10 @@ |
||
| 17 | 17 | */ |
| 18 | 18 | class WSSESecurityHeader extends SoapHeader { |
| 19 | 19 | |
| 20 | + /** |
|
| 21 | + * @param string $username |
|
| 22 | + * @param string $password |
|
| 23 | + */ |
|
| 20 | 24 | public function __construct($username, $password) |
| 21 | 25 | { |
| 22 | 26 | $wsseNamespace = 'http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd'; |
@@ -41,8 +41,7 @@ |
||
| 41 | 41 | // echo $entry; |
| 42 | 42 | // } |
| 43 | 43 | |
| 44 | - } |
|
| 45 | - catch (\Exception $e) { |
|
| 44 | + } catch (\Exception $e) { |
|
| 46 | 45 | return $client->__getLastResponse(); |
| 47 | 46 | // echo "<h2>Exception Error!</h2>"; |
| 48 | 47 | // echo $e->getMessage(); |