Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/25.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
WSDL-dot.NETAPI总是显示我的PHP代码的验证错误。请建议另一种方法_Php_.net_Web Services_Soap_Wsdl - Fatal编程技术网

WSDL-dot.NETAPI总是显示我的PHP代码的验证错误。请建议另一种方法

WSDL-dot.NETAPI总是显示我的PHP代码的验证错误。请建议另一种方法,php,.net,web-services,soap,wsdl,Php,.net,Web Services,Soap,Wsdl,API文档称以下代码用于注册,但我们的代码始终仅显示验证错误。根据这些数据向我推荐任何其他方法。我希望存在验证错误,但客户端尚未准备好提供dotnet代码或其他API详细信息 这里提供的身份验证密钥类似于tokenKey,domainCode等 class PartnerIdentityfier_DataContracts { public $mDomainCode; public $mTokenKey; public $mUserIPAddress; } 注册数据通过

API文档称以下代码用于注册,但我们的代码始终仅显示验证错误。根据这些数据向我推荐任何其他方法。我希望存在验证错误,但客户端尚未准备好提供dotnet代码或其他API详细信息

这里提供的身份验证密钥类似于
tokenKey
domainCode

class PartnerIdentityfier_DataContracts
{
    public $mDomainCode;
    public $mTokenKey;
    public $mUserIPAddress;
}
注册数据通过此类发送到代码

class clsRegistration_DataContracts
{
    public $mEmailId;
    public $mUPassword;
    public $mLoginDateTime;
    public $mTitle;
    public $mFirstName;
    public $LastName;
    public $Mobile;
    public $LandLine;
    public $Address1;
    public $Address2;
    public $Address3;
    public $Pincode;
    public $CityName;
    public $StateName;
    public $City_Customer;
    public $Landmark;
    public $DOB;
    public $mGender;
    public $mCompanyName;
    public $AlternateEmailid;
    public $mPartnerIdentity;
}
设置类变量的值

$contact = new PartnerIdentityfier_DataContracts();
$contact->mDomainCode="XDUIDVP0006";
$contact->mTokenKey="8IJUOX-P4ZPX-LNDAA-CWXHB-PJMTA-9SUD*-WQJ9";
$contact->mUserIPAddress=$_SERVER['SERVER_ADDR']; 

$xcv=new clsRegistration_DataContracts();       
$xcv->mEmailId="kiran@nex.in";
$xcv->mUPassword="1234567INq";
$xcv->mLoginDateTime=date("Y-m-d H:i:s");
$xcv->mTitle="Mr";
$xcv->mFirstName="kiran";
$xcv->LastName="deepu";
$xcv->Mobile="8807541983";
$xcv->LandLine="8807541983";
$xcv->Address1="Chennai";
$xcv->Address2="Chennai";
$xcv->Address3="Chennai";
$xcv->Pincode="600017";
$xcv->CityName="Chennai";
$xcv->StateName="TamilNadu";
$xcv->City_Customer="Chennai";
$xcv->Landmark="Chennai";
$xcv->DOB="1992-01-04 18:12:00";
$xcv->mGender="M";
$xcv->mCompanyName="nokia";
$xcv->AlternateEmailid="damuslm@gmail.com";
$xcv->mPartnerIdentity=$contact; ``

//here we are using soapclient method to get data from the server

$client = new SoapClient('http://407.129.110.150:8087/DVPService?wsdl');

// Registration function is POSTUserRegistration . we send all the data to  this function. But we hope the sending data is not prpoerly reached here . or some other issue in sending data that my doubt right now . can you suggest any other method to sent these datas to dotnet server.        
$response = $client->POSTUserRegistration($xcv);
print_r($response);