草庐IT

soap-extension

全部标签

php - 'php_sqlsrv_56_ts.dll'扩展文件存在但是php.ini中没有 'extension=php_sqlsrv_56_ts.dll'行

我正在尝试将sql-server与php一起使用。我从thisunofficialsite下载了64位php_pdo_sqlsrv_56_ts.dll和php_sqlsrv_56_ts.dll.我把dll文件解压到D:\wamp64\bin\php\php5.6.31\ext。在php.ini中,我添加了以下行并重新启动了WAMP:[PHP_SQLSRV]extension=php_sqlsrv_56_ts.dll[PHP_PDO_SQLSRV]extension=php_pdo_sqlsrv_56_ts.dll在WAMP>php>extensions中,它向我展示了这个:单击这些扩展

php - 无法理解 PHP 中的 SOAP

这是我正在尝试使用的API:http://www.hotelscombined.com/api/LiveRates.asmx?op=HotelSearch这是我试过的代码:$client=newSoapClient('http://www.hotelscombined.com/api/LiveRates.asmx?WSDL');echo'';var_dump($client->__getFunctions());echo'';//sincetheabovelinereturnsthefunctionsIamassumingeverythingisfinebutuntilthispoin

php - PHP 中的段错误,使用 SOAP 连接到 SalesForce

我正在使用SalesForcePHP工具包将我的软件(PHP)与SalesForce集成。到目前为止,一切都很好,但是当我开始编写调用convertLead()的代码时,我遇到了“SegmentationFault”错误。这是我正在运行的代码:require_once('../salesforce/SforceEnterpriseClient.php');ini_set('soap.wsdl_cache_enabled',0);$SForce=newSforceEnterpriseClient();$result=$SForce->createConnection('../salesf

php - 我如何通过 PHP 读取 SOAP 回复信封

如何从这个SOAP回复信封中读取error_code?我的PHP版本是:5.2.0。1234567109我只需要读取error_code标签的值,这里的值是:109我正在使用nusoap。我使用了以下代码但无法正常工作:$response=htmlspecialchars($client->response,ENT_QUOTES);$xml=simplexml_load_string($response);$ns=$xml->getNamespaces(true);$soap=$xml->children($ns['soap']);$error_code=$soap->body->ch

php - 无法从 Soap 响应中提取数据

这是我使用的代码:$doc=//SOAPResponse$xpath=newDOMXPath($doc);$xpath->registerNamespace('soap','http://schemas.xmlsoap.org/soap/envelope/');$xpath->registerNamespace('api','http://127.0.0.1/Integrics/Enswitch/API');//Response:if($xpath->query('/soap:Envelope/soap:Body/api:get_cdrsResponse')->length它一直抛出这

c# - 从 C# 调用 soap 服务

我有调用SOAP服务的有效PHP代码并且它有效。其内容如下:"http://108-168-196-91.mycitrixdemo.net/zdm/services/EveryWanDevice?wsdl",'uri'=>"http://zdemo2.zenprise.com",'login'=>"Admin",'password'=>"XXXXX"));$properties=$client->getDeviceProperties("XXXXXXXX",null);for($i=0;$iname,$properties[$i]->value);}}catch(Exception$e

php - Composer 安装 : the json extension is missing

我在Linux终端中写道:curl-shttps://getcomposer.org/installer|php它说:#!/usr/bin/envphpSomesettingsonyourmachinemakeComposerunabletoworkproperly.Makesurethatyoufixtheissueslistedbelowandrunthisscriptagain:Thejsonextensionismissing.Installitorrecompilephpwithout--disable-json我这样做了:apt-getinstallphp5-json所以,

phpMyAdmin - 错误 : (The mysqli extension is missing) after upgrading php 5. 6 到 php 7

通过这种方式将php5.6升级到php7后,ubuntu16.04上的phpmyadmin出现问题:sudoadd-apt-repositoryppa:ondrej/phpsudoapt-getupdatesudoapt-getinstallphp7.0php5.6php5.6-mysqlphp-gettextphp5.6-mbstringphp-mbstringphp7.0-mbstringphp-xdebuglibapache2-mod-php5.6libapache2-mod-php7.0在这个命令之后:sudoa2dismodphp5.6;sudoa2enmodphp7.0;s

php - 如何在 PHP 4 中使用 SOAP/WSDL?

更具体地说,我正在尝试使用PHP4使googleadwordsAPI工作。我有哪些选择?非常感谢任何指向我可以使用的类、示例代码等的链接。谢谢。 最佳答案 我对NuSOAP没有任何问题这里是一个使用NuSOAPwiththeGoogleAPI的例子 关于php-如何在PHP4中使用SOAP/WSDL?,我们在StackOverflow上找到一个类似的问题: https://stackoverflow.com/questions/528925/

PHP 在 soap 调用中重复元素

我在尝试从PHP执行soap调用时遇到问题。首先是一些背景信息:调用将转到一个在大型CRM系统上进行人员搜索的系统。它需要姓名、城市、出生日期等信息。)成功后,它应该返回一个或多个ID。soap接口(interface)是系统的标准部分,因此我无法影响调用的布局。我首先在SoapUI中构建soap请求,看看我是否能让它正常工作。我最终得到了这个soap请求,它正在运行:MAGMA::PERSONMatchmaster_id0Namejansenbirthdateadd_idstreetoudegrachtdumstreethousenumberpostcodecityUtrechtci