我在现场根据对营地的湿式湿度模式样本,形成了这一简单的例子。
<?php
try {
$client = new WSClient(array("wsdl"=>"http://footballpool.dataaccess.eu/data/info.wso?wsdl",
));
$proxy = $client->getProxy();
$result = $proxy->TopGoalScorers(array( iTopN =>1));
echo "TEST!!!<br />";
echo <pre> ;
print_r($result);
echo </pre> ;
} catch (Exception $e) {
echo "Message = ".$e->getMessage();
}
?>
If I execute this script in a web browser i got a http 324 error ERR_EMPTY_RESPONSE And when i execute it in a shell it seems to work but at the end i get a segmentation fault error.
采用卷宗号为wsdl-11-cent. . . . . .
If this line
$result = $proxy->TopGoalScorers(array( iTopN =>1));
不会出现分部分错误。
I m using wsf wso2 framework for php version 2.1.0 libxml version 2.7.8 libxslt version 1.1.26 PHP Version 5.3.6-13ubuntu3.6 Ubuntu 11.10.
在我的营地里,i i ve补充说
include_path = ".:/usr/share/php:/usr/lib/php5/20090626/wsf_c/scripts"
[wsf]
wsf.home="/usr/lib/php5/20090626/wsf_c"
;log_level2 shows warnings and errors
;wsf.log_level=2
;wsf.log_path="/var/log/wsf"
i ve在(etc/php5/conf.d/wsfini)中添加了这一延伸。
; configuration for php WSF module
extension=wsf.so
Is my server misconfigurated? Or there are some errors in my php script? Thanks in advance. Francesco.