Warning: Declaration of MySoap::__doRequest($request, $location, $saction, $version) should be compatible with SoapClient::__doRequest($request, $location, $action, $version, $one_way = NULL) in /var/www/html/serversoap/lib/wse/examples/ws-amazon.php on line 0

Warning: file_get_contents(./pk-amazon-private-key.pem): failed to open stream: No such file or directory in /var/www/html/serversoap/lib/wse/xmlseclibs.php on line 342

Warning: openssl_sign(): supplied key param cannot be coerced into a private key in /var/www/html/serversoap/lib/wse/xmlseclibs.php on line 451

Fatal error: Uncaught Exception: Failure Signing Data: - 1 in /var/www/html/serversoap/lib/wse/xmlseclibs.php:452 Stack trace: #0 /var/www/html/serversoap/lib/wse/xmlseclibs.php(491): XMLSecurityKey->signOpenSSL('<ds:SignedInfo ...') #1 /var/www/html/serversoap/lib/wse/xmlseclibs.php(1104): XMLSecurityKey->signData('<ds:SignedInfo ...') #2 /var/www/html/serversoap/lib/wse/xmlseclibs.php(1123): XMLSecurityDSig->signData(Object(XMLSecurityKey), '<ds:SignedInfo ...') #3 /var/www/html/serversoap/lib/wse/src/WSSESoap.php(247): XMLSecurityDSig->sign(Object(XMLSecurityKey)) #4 /var/www/html/serversoap/lib/wse/examples/ws-amazon.php(27): WSSESoap->signSoapDoc(Object(XMLSecurityKey)) #5 [internal function]: MySoap->__doRequest('<?xml version="...', 'https://ec2.ama...', 'DescribeInstanc...', 1, 0) #6 /var/www/html/serversoap/lib/wse/examples/ws-amazon.php(50): SoapClient->__call('DescribeInstanc...', Array) #7 {main} thrown in /var/www/html/serversoap/lib/wse/xmlseclibs.php on line 452