PHP uses nusoap to call the webservice written in c ++ and reports the HTTP405 method. no error is found. this post is Last edited by yc19881009 from 2013-05-1310: 06: 35 $ strdbServerModStatusIp & nbsp; 10. XXX. XX. XX: XXXX; $ serviceURL & nbsp; htt PHP uses nusoap to call the webservice written in c ++. 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.
I 'd like to ask you again
PHP Web service SOAP
Share:
------ Solution --------------------
HTTP Error 404-file or directory not found
Check whether Port 56789 is enabled
Confirm the services of the other party to start