文章詳情頁
PHP擴(kuò)展之Web服務(wù)(二)——SOAP
瀏覽:11日期: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?,盡管這將隱式完成因為 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 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. python GUI庫圖形界面開發(fā)之PyQt5動態(tài)(可拖動控件大小)布局控件QSplitter詳細(xì)使用方法與實例2. ASP將數(shù)字轉(zhuǎn)中文數(shù)字(大寫金額)的函數(shù)3. XML 非法字符(轉(zhuǎn)義字符)4. ASP 處理JSON數(shù)據(jù)的實現(xiàn)代碼5. js開發(fā)中的頁面、屏幕、瀏覽器的位置原理(高度寬度)說明講解(附圖)6. CSS清除浮動方法匯總7. 不要在HTML中濫用div8. vue跳轉(zhuǎn)頁面常用的幾種方法匯總9. CSS3實例分享之多重背景的實現(xiàn)(Multiple backgrounds)10. XML入門的常見問題(三)
排行榜
