php 调用 .net 的 web 服务
2011-09-28  作者:amao  同分类文章
description:

 sethm at uoregon dot edu 25-Mar-2008 11:05

Trying to connect to a .NET webservice using the PHP SOAP client, we ran into much strangeness. 

When using __soapCall do:
$params = array('a'=>$a, 'b'=>$b);
$result = $client->__soapCall('someFunction', array($params));

When using calling the function directly use:
$params = array('a'=>$a, 'b'=>$b);
$result = $client->someFunction($params);

If $params isn't associative, the client doesn't form the call correctly. Calling it other ways lead to having the first parameter dropped or the parameters not being displayed in the request.



相关
email地址php检测
留言板的spam好厉害啊。
用php模拟post来提交数据
用PHP和MySQL保存和输出图片
windows ssh客户端putty 简介
让phpmailer支持中文名称的附件
File_Bittorrent
老PHP程序的Register Globals 问题
给apache安装ssl
MolyX BOARD 2.5.0 多语言标准版 发布