Php calls c # to write webservice solution-php Tutorial

Source: Internet
Author: User
Php calls the webservice written in c #. how can I call it? Can I only use SoapClient? Is there any relationship between the call method and the server? Share with: php calls the webservice written in c #
How can I call it? Can I only use SoapClient? Is there any relationship between the call method and the server?

Share:


------ Solution --------------------
Webservice is a public service (or a limited number of users). it complies with the SOAP protocol, and some support the GET and POST methods.
Therefore, what is written on the client is irrelevant to the server.
Except for private services, WSDL documents are provided to describe how to call the service.

Clients written in php can use the built-in SoapClien class or the nusoap class.
Obviously, built-in classes are more efficient than code-level classes.
------ Solution --------------------
Make sure that the Ext Extension Library contains the php_soap.dll Extension Library, and develop php. ini to remove it in extension_dir; The Semicolon before php_soap.dll; if not, go to the php official website to find the dll file.

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.