0

我正在使用 php soapclent,其他调用在这个 URL 上运行良好。这里是要传递的请求的快照。

在此处输入图像描述

没有得到什么问题?

( ! ) 致命错误:未捕获的 SoapFault 异常:[SOAP-ENV:Client] 在 C:\wamp\www\ginger\createEditProfile.php:8 中为真 堆栈跟踪:#0 C:\wamp\www\ginger\createEditProfile.php (8): SoapClient->__soapCall('createEditProfi...', Array) #1 {main} 在第 8 行的 C:\wamp\www\ginger\createEditProfile.php 中抛出

error_reporting(E_ALL);
$sc = new SoapClient("http://###.###.##.##/GingerIBE/services/consolidatedServicesBean.wsdl?wsdl", array('trace' => 1));

$params =array('targetProfile'=>array('loginId'=>'bhav1234','password'=>'test123','preferredHotel'=>'', 'customerId'=>'','firstName'=>'Bhavina','lastName'=>'Prajapati','customerType'=>'1','customerAccountGroup'=>'SH01','gender'=>'Female','dateOfBirth'=>'1987-11-01','emailId'=>'testing.abc@gmail.com','mobileNumber'=>'8866853905','phoneNumber'=>'8866853906','faxNumber'=>'8866853901','preferredModeOfContact'=>'','addressLine1'=>'some address line 1','addressLine2'=>'some address line 2','pinNumber'=>'','city'=>'Bangalore','state'=>'Karnataka','country'=>'India'));

$result = $sc->__soapCall('createEditProfile', array('parameters' => $params));

echo "<pre>";
print_r($result);
echo($sc->__getLastRequest());
4

0 回答 0