PHP uses nusoap to call the webservice written in c ++ and reports that the HTTP405 method does not find an exception.

Source: Internet
Author: User
PHP uses nusoap to call the webservice written in c ++ and reports that the HTTP405 method does not find an error. This post was last edited by yc19881009 from 2013-05-1310: 06: 35 $ strdbServerModStatusIp & nbsp; = "10. PHP uses nusoap to call the webservice written in c ++ and reports that the HTTP 405 Method is not found.
This post was last edited by yc19881009 at 10:06:35

$ StrdbServerModStatusIp = "10. XXX. XX. XX: XXXX ";
$ ServiceURL = "http: //". $ strdbServerModStatusIp. ": 56789 ";
$ Soap = new nusoap_client ($ serviceURL ."? WSDL ");
$ Str = $ soap-> call ("DDPServiceProc", $ parameters );

If (! $ Err = $ soap-> getError ()){
Echo "return:", $ str;
} Else {
Echo "false:", $ err;
}


Then, the error message returned when the HTTP 405 Method is not found.
Here, I would like to share with you the following:
------ Solution --------------------
HTTP Error 404-file or directory not found
Check whether Port 56789 is enabled
Confirm the services of the other party to start

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.