How to use php for webservice

Source: Internet
Author: User
I have not tried to use php for webservice... Who made it? let's give a simple example, helloworld. soap? My learning steps: 1. check the soap and wsdl2 in w3school, use zendstudio to create wsdl3, and place the wsdl under apache for download. 4. write a so question, how to use php for web service
I have not tried it yet...


Who did it? give me a simple example.

Hello world.

------ Solution --------------------
Soap? My learning steps:

1. check the soap and wsdl in w3school.
2. use zend studio to create the wsdl
3. Place the wsdl in apache for download.
4. compile a soap server, load the local wsdl, define and register the functions in the wsdl, and execute handle.
5. compile a soap client, load the remote wsdl, and directly call the functions in the wsdl. The working principle is __call.

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.