PHP客户端中的回调 [英] Callback in PHP client
本文介绍了PHP客户端中的回调的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我创建了一个带回调并使用wsDualHttp绑定的WCF服务。我想使用PHP客户端连接到此服务。在PHP中,SoapClient用于调用WCF服务,如下所示:
I have created a WCF Service with callback and using wsDualHttp Binding. I want to connect to this service using PHP client. In PHP , SoapClient is used to call the WCF service like below:
$wsdl = "http://pathto/file.svc?wsdl"
$client = new SoapClient($wsdl, array('trace' => $trace, 'exceptions' => $exceptions));
$response = $client->somefunction();
请指导获取PHP中的回调。
Please guide in getting for callback in PHP.
推荐答案
wsdl = http://pathto/file.svc?wsdl
wsdl = "http://pathto/file.svc?wsdl"
client = < span class =code-keyword> new SoapClient(
client = new SoapClient(
wsdl,array(' trace' =>
wsdl, array('trace' =>
这篇关于PHP客户端中的回调的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文