久久r热视频,国产午夜精品一区二区三区视频,亚洲精品自拍偷拍,欧美日韩精品二区

您的位置:首頁技術(shù)文章
文章詳情頁

PHP擴展之Web服務(wù)(二)——SOAP

瀏覽:5日期:2022-09-16 09:43:54
一、概述及安裝

SOAP擴展可以用于編寫SOAP服務(wù)器和客戶端,支持?SOAP 1.1,?SOAP 1.2?和?WSDL 1.1?規(guī)格的子集。

此擴展需要?libxml?PHP 擴展。這表示需要使用?--enable-libxml?,盡管這將隱式完成因為 libxml 是缺省開啟的。

要開啟SOAP支持, 配置 PHP 時要加上?--enable-soap?.

二、相關(guān)函數(shù)is_soap_fault?— Checks if a SOAP call has faileduse_soap_error_handler?— Set whether to use the SOAP error handler三、相關(guān)類及成員函數(shù)

SoapClient

SoapClient::__call?— Calls a SOAP function (deprecated)SoapClient::__construct?— SoapClient constructorSoapClient::__doRequest?— Performs a SOAP requestSoapClient::__getFunctions?— Returns list of available SOAP functionsSoapClient::__getLastRequest?— Returns last SOAP requestSoapClient::__getLastRequestHeaders?— Returns the SOAP headers from the last requestSoapClient::__getLastResponse?— Returns last SOAP responseSoapClient::__getLastResponseHeaders?— Returns the SOAP headers from the last responseSoapClient::__getTypes?— Returns a list of SOAP typesSoapClient::__setCookie?— The __setCookie purposeSoapClient::__setLocation?— Sets the location of the Web service to useSoapClient::__setSoapHeaders?— Sets SOAP headers for subsequent callsSoapClient::__soapCall?— Calls a SOAP functionSoapClient::SoapClient?— SoapClient constructor

SoapServer

SoapServer::addFunction?— Adds one or more functions to handle SOAP requestsSoapServer::addSoapHeader?— Add a SOAP header to the responseSoapServer::__construct?— SoapServer constructorSoapServer::fault?— Issue SoapServer fault indicating an errorSoapServer::getFunctions?— Returns list of defined functionsSoapServer::handle?— Handles a SOAP requestSoapServer::setClass?— Sets the class which handles SOAP requestsSoapServer::setObject?— Sets the object which will be used to handle SOAP requestsSoapServer::setPersistence?— Sets SoapServer persistence modeSoapServer::SoapServer?— SoapServer constructor

SoapFault

SoapFault::__construct?— SoapFault constructorSoapFault::SoapFault?— SoapFault constructorSoapFault::__toString?— Obtain a string representation of a SoapFault

SoapHeader

SoapHeader::__construct?— SoapHeader constructorSoapHeader::SoapHeader?— SoapHeader constructor

SoapParam

SoapParam::__construct?— SoapParam constructorSoapParam::SoapParam?— SoapParam constructor

?SoapVar

SoapVar::__construct?— SoapVar constructorSoapVar::SoapVar?— SoapVar constructor
標(biāo)簽: PHP
相關(guān)文章:
主站蜘蛛池模板: 天柱县| 射洪县| 郓城县| 莆田市| 黑水县| 麻江县| 兴义市| 同心县| 广南县| 崇左市| 资中县| 屏东市| 丘北县| 印江| 永福县| 宁晋县| 宝丰县| 麟游县| 辉南县| 来凤县| 广南县| 鹤庆县| 银川市| 满洲里市| 宁南县| 工布江达县| 石狮市| 鄱阳县| 漳州市| 凤城市| 通州区| 夏河县| 吴堡县| 济南市| 乌兰浩特市| 邮箱| 天全县| 新丰县| 通化市| 云阳县| 扎兰屯市|