文章詳情頁(yè)
PHP擴(kuò)展之Web服務(wù)(二)——SOAP
瀏覽:6日期:2022-09-16 09:43:54
一、概述及安裝
SOAP擴(kuò)展可以用于編寫SOAP服務(wù)器和客戶端,支持?SOAP 1.1,?SOAP 1.2?和?WSDL 1.1?規(guī)格的子集。
此擴(kuò)展需要?libxml?PHP 擴(kuò)展。這表示需要使用?--enable-libxml?,盡管這將隱式完成因?yàn)?libxml 是缺省開啟的。
要開啟SOAP支持, 配置 PHP 時(shí)要加上?--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 constructorSoapServer
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 constructorSoapFault
SoapFault::__construct?— SoapFault constructorSoapFault::SoapFault?— SoapFault constructorSoapFault::__toString?— Obtain a string representation of a SoapFaultSoapHeader
SoapHeader::__construct?— SoapHeader constructorSoapHeader::SoapHeader?— SoapHeader constructorSoapParam
SoapParam::__construct?— SoapParam constructorSoapParam::SoapParam?— SoapParam constructor?SoapVar
SoapVar::__construct?— SoapVar constructorSoapVar::SoapVar?— SoapVar constructor 標(biāo)簽:
PHP
相關(guān)文章:
1. ASP.NET MVC使用JSAjaxFileUploader插件實(shí)現(xiàn)單文件上傳2. 使用ajax跨域調(diào)用springboot框架的api傳輸文件3. ASP.NET MVC把數(shù)據(jù)庫(kù)中枚舉項(xiàng)的數(shù)字轉(zhuǎn)換成文字4. Android實(shí)現(xiàn)下載進(jìn)度條效果5. Python 代碼調(diào)試技巧示例代碼6. python matplotlib 繪圖 和 dpi對(duì)應(yīng)關(guān)系詳解7. 解決Python Matplotlib繪圖數(shù)據(jù)點(diǎn)位置錯(cuò)亂問題8. JAVA發(fā)送HTTP請(qǐng)求的四種方式總結(jié)9. 簡(jiǎn)單了解Java Netty Reactor三種線程模型10. 實(shí)例講解PHP表單
排行榜
