The first time I made a soap interface, something went wrong.
Warning: SoapClient (http: // 192.168.1.198: 8008/) [function. SoapClient-SoapClient]: failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error
In
C: \ wamp \ www \ ITServer_v1.21n \ include \ ETSoap. phpOn line
17
Warning: SoapClient () [function. SoapClient-SoapClient]: I/O warning: failed to load external entity "http: // 192.168.1.198: 8008/" in
C: \ wamp \ www \ ITServer_v1.21n \ include \ ETSoap. phpOn line
17
Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing WSDL: Couldn't load from 'http: // 192.168.1.198: 8008/'in C: \ wamp \ www \ ITServer_v1.21n \ include \ ETSoap. php: 17
Stack trace:
#0 C: \ wamp \ www \ ITServer_v1.21n \ include \ ETSoap. php (17): SoapClient-> SoapClient ('http: // 192. 168 ....')
#1 C: \ wamp \ www \ ITServer_v1.21n \ test. php (3): ETSoap->__ construct ()
#2 C: \ Users \ duzhengwei \ AppData \ Local \ Temp \ dummy. php (1): include ('C: \ wamp \ www \ ITS ...')
#3 {main}
Thrown in
C: \ wamp \ www \ ITServer_v1.21n \ include \ ETSoap. phpOn line
17
Indicates the error is not understood!
Reply to discussion (solution)
Output phpinfo () to check whether the soap module is faulty.
Output phpinfo () to check whether the soap module is faulty.
Well, what then? Why is there a problem with soap?
Failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error
Opening failed: HTTP request failed! HTTP/1.1 500 Internal Server Error
Apparently, there is a problem with your server.
Check C: \ wamp \ www \ ITServer_v1.21n \ include \ ETSoap. php's 17-line soap has not been called successfully. add an output to check whether the data format submitted to soap is inconsistent with the format required by soap.
The problem is solved and the interface file is not found.
Check C: \ wamp \ www \ ITServer_v1.21n \ include \ ETSoap. php's 17-line soap has not been called successfully. add an output to check whether the data format submitted to soap is inconsistent with the format required by soap.
Pair
Failed to open stream: HTTP request failed! HTTP/1.1 500 Internal Server Error
Opening failed: HTTP request failed! HTTP/1.1 500 Internal Server Error
Apparently, there is a problem with your server.
Well, yes