PHP uses Nusoap to call C + + Write WebService report http 405 Method not found error

Source: Internet
Author: User
$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 various reports HTTP 405 Method not found method
I'll ask you Again, heroes.


Reply to discussion (solution)

HTTP Error 404-file or directory not found
Check if Port 56789 is open
Confirm the other service to start

There's no prawn in the AH bitter B problem entangled me for a long time

HTTP Error 404-file or directory not found
Check if Port 56789 is open
Confirm the other service to start
It's all open, I checked.
That's the reason I feel nutritious.
This issue occurs only when you use Microsoft Internet Information Services (IIS) 4.0 and Microsoft Internet Information Services 5.0. This problem occurs if a POST request is sent to a server that is running IIS 4.0 or IIS 5.0, and the POST request consists of a URL that ends with a forward slash (/). IIS returns 405 of the error message, not the default document. However, if the verb property method value is GET or header, IIS returns the default document. ”
But I don't know where the problem is.

Just can't use post, but can you tell me how to use Nusoap to call with Get

  • Related Article

    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.