PHP extension-SOAP

Source: Internet
Author: User
The SOAP extension can be used to compile SOAP servers and clients. it supports a subset of SOAP1.1, SOAP1.2, and WSDL1.1 specifications.

I. Overview and installation

The SOAP extension can be used to write SOAP servers and clients. it supports a subset of the SOAP 1.1, SOAP 1.2, and WSDL 1.1 specifications.

This extension requires libxml PHP extension. This indicates the use of -- enable-libxml, although this is done implicitly because libxml is enabled by default.

To enable SOAP support, add -- enable-soap when configuring PHP.

II. related functions

Is_soap_fault-Checks if a SOAP call has failed

Use_soap_error_handler-Set whether to use the SOAP error handler

III. related classes and member functions

SoapClient

SoapClient: :__ call-cils a SOAP function (deprecated)

SoapClient ::__ construct-SoapClient constructor

SoapClient ::__ doRequest-Performs a SOAP request

SoapClient ::__ getFunctions-Returns list of available SOAP functions

SoapClient ::__ getLastRequest-Returns last SOAP request

SoapClient ::__ getLastRequestHeaders-Returns the SOAP headers from the last request

SoapClient ::__ getLastResponse-Returns last SOAP response

SoapClient ::__ getLastResponseHeaders-Returns the SOAP headers from the last response

SoapClient ::__ getTypes-Returns a list of SOAP types

SoapClient ::__ setCookie-The _ setCookie purpose

SoapClient ::__ setLocation-Sets the location of the Web service to use

SoapClient ::__ setSoapHeaders-Sets SOAP headers for subsequent cballs

SoapClient ::__ soapCall-cils a SOAP function

SoapClient: SoapClient-SoapClient constructor

SoapServer

SoapServer: addFunction-Adds one or more functions to handle SOAP requests

SoapServer: addSoapHeader-Add a SOAP header to the response

SoapServer ::__ construct-SoapServer constructor

SoapServer: fault-Issue SoapServer fault indicating an error

SoapServer: getFunctions-Returns list of defined functions

SoapServer: handle-Handles a SOAP request

SoapServer: setClass-Sets the class which handles SOAP requests

SoapServer: setObject-Sets the object which will be used to handle SOAP requests

SoapServer: setPersistence-Sets SoapServer persistence mode

SoapServer: SoapServer-SoapServer constructor

SoapFault

SoapFault ::__ construct-SoapFault constructor

SoapFault: SoapFault-SoapFault constructor

SoapFault ::__ toString-Obtain a string representation of a SoapFault

SoapHeader

SoapHeader ::__ construct-SoapHeader constructor

SoapHeader: SoapHeader-SoapHeader constructor

SoapParam

SoapParam ::__ construct-SoapParam constructor

SoapParam: SoapParam-SoapParam constructor

SoapVar

SoapVar ::__ construct-SoapVar constructor

SoapVar: SoapVar-SoapVar constructor

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.