Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/14.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
PHP Soap我该怎么做?_Php_Xml_Web Services_Soap - Fatal编程技术网

PHP Soap我该怎么做?

PHP Soap我该怎么做?,php,xml,web-services,soap,Php,Xml,Web Services,Soap,我有这个网络服务 { "UserName":"testing_user", "Password":"pxt_rws_nsg", "mid":"76074", "cid":"260", "Amount":"10.00", "TransactionType":"1", "Track2":"", "ZipCode":"32606", "CVN":"", "CardNumber":"411

我有这个网络服务

{
    "UserName":"testing_user",  
    "Password":"pxt_rws_nsg",  
    "mid":"76074",  
    "cid":"260",  
    "Amount":"10.00",  
    "TransactionType":"1",  
    "Track2":"",  
    "ZipCode":"32606",  
    "CVN":"",  
    "CardNumber":"4111111111111111",  
    "ExpDate":"0817",  
    "NameOnCard":"Test",  
    "reversalid":"1",  
    "AppKey":"a8dcdf14-11c6-4201-a95e-a0512818c98f",  
    "AppType":"11021",  
    "HostUserName":"",  
    "HostPassword":"",  
    "UserTransactionNumber":"635846721314374531"  
}

有人可以告诉我如何制作PHP/SOAP代码。

如果不知道SOAP端点URL或文档,我们无法帮助您。如果您询问如何制作SAOP服务来处理上述数据,您需要查看PHP SOAP教程。并将此json类型的数据转换为XML。有很多教程,您可以查看并开发web服务。看看