Quellcode
-
- root@bananapi:~# php test.php
- PHP Fatal error: Uncaught SoapFault exception: [] in /root/test.php:88
- Stack trace:
- #0 /root/test.php(88): SoapClient->__call('GetInfo', Array)
- #1 /root/test.php(88): SoapClient->GetInfo()
- #2 {main}
- thrown in /root/test.php on line 88
- root@bananapi:~# php test.php
- SoapClient Object
- (
- [uri] => urn:dslforum-org:service:WANPPPConnection:1
- [location] => https://speedport.ip:37443/ctrlt/WANPPPConnection_1
- [_login] => dslf-config
- [_password] => xxx
- [_digest] =>
- [trace] => 1
- [_stream_context] => Resource id #4
- [_soap_version] => 1
- [__last_request] => <?xml version="1.0" encoding="UTF-8"?>
- <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xm lns:ns1="urn:dslforum-org:service:WANPPPConnection:1" xmlns:xsd="http://www.w3.o rg/2001/XMLSchema" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" SO AP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body> <ns1:GetInfo/></SOAP-ENV:Body></SOAP-ENV:Envelope>
- [httpsocket] => Resource id #5
- [_use_proxy] => 0
- [httpurl] => Resource id #6
- [__last_request_headers] => POST /ctrlt/WANPPPConnection_1 HTTP/1.1
- Host: speedport.ip:37443
- Connection: Keep-Alive
- User-Agent: PHP-SOAP/5.6.13-0+deb8u1
- Content-Type: text/xml; charset=utf-8
- SOAPAction: "urn:dslforum-org:service:WANPPPConnection:1#GetInfo"
- Content-Length: 410
- [__last_response_headers] => HTTP/1.1 200 OK
- SoapAction: "urn:dslforum-org:service:WANPPPConnection:1#GetInfo"
- Content-Type: text/xml; charset=UTF-8
- Content-Length: 546
- [__last_response] => <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlso ap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/ " xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001 /XMLSchema-instance" xmlns:u="urn:telekom-de.totr64-2-n">
- <SOAP-ENV:Body>
- <SOAP-ENV:Fault>
- <FaultCode>Client</FaultCode>
- <FaultString>UPNP fault</FaultString>
- <detail>
- <u:Fault>
- <FaultCode>9000</FaultCode>
- <FaultString>Method not supported</FaultString>
- </u:Fault>
- </detail>
- </SOAP-ENV:Fault>
- </SOAP-ENV:Body>
- </SOAP-ENV:Envelope>
- [__soap_fault] => SoapFault Object
- (
- [message:protected] =>
- [string:Exception:private] =>
- [code:protected] => 0
- [file:protected] => /root/test.php
- [line:protected] => 83
- [trace:Exception:private] => Array
- (
- [0] => Array
- (
- [file] => /root/test.php
- [line] => 83
- [function] => __call
- [class] => SoapClient
- [type] => ->
- [args] => Array
- (
- [0] => GetInfo
- [1] => Array
- (
- )
- )
- )
- [1] => Array
- (
- [file] => /root/test.php
- [line] => 83
- [function] => GetInfo
- [class] => SoapClient
- [type] => ->
- [args] => Array
- (
- )
- )
- )
- [previous:Exception:private] =>
- [faultstring] =>
- [detail] => stdClass Object
- (
- [Fault] => stdClass Object
- (
- [FaultCode] => 9000
- [FaultString] => Method not supported
- )
- )
- )
- )
- PHP Fatal error: Uncaught SoapFault exception: [] in /root/test.php:88
- Stack trace:
- #0 /root/test.php(88): SoapClient->__call('GetInfo', Array)
- #1 /root/test.php(88): SoapClient->GetInfo()
- #2 {main}
- thrown in /root/test.php on line 88
- root@bananapi:~#