大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。
Jetbrains全家桶1年46,售后保障稳定
一、概述及安装
SOAP扩展可以用于编写SOAP服务器和客户端,支持 SOAP 1.1, SOAP 1.2 和 WSDL 1.1 规格的子集。
此扩展需要 libxml PHP 扩展。这表示需要使用 –enable-libxml ,尽管这将隐式完成因为 libxml 是缺省开启的。
要开启SOAP支持, 配置 PHP 时要加上 –enable-soap .
二、相关函数
is_soap_fault — Checks if a SOAP call has failed
use_soap_error_handler — Set whether to use the SOAP error handler
三、相关类及成员函数
SoapClient
SoapClient::__call — Calls 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 calls
SoapClient::__soapCall — Calls 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
本文原创发布php中文网,转载请注明出处,感谢您的尊重!
发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/234546.html原文链接:https://javaforall.cn
【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛
【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...