The first time I made a soap interface, something went wrong.

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.