简体   繁体   English

WSO2 WSF/PHP 测试服务

[英]WSO2 WSF/PHP test service

After installing WSO2 WSF 2.1.0 on ubuntu 15.04 I'm trying to run the hello service example provided in the documentation ( http://wso2.com/project/wsf/php/2.0.0/docs/samples/hello_service.html ), but I get:在 ubuntu 15.04 上安装 WSO2 WSF 2.1.0 后,我尝试运行文档中提供的 hello 服务示例( http://wso2.com/project/wsf/php/2.0.0/docs/samples/hello_service.html ),但我得到:

Fatal error: WSService::__construct(): error creating service

Looking in /var/log/wsf/wsf_php_server.log I saw this error:查看 /var/log/wsf/wsf_php_server.log 我看到了这个错误:

[error] dep_engine.c(328) Axis2 Configuration file name not found
[error] conf_init.c(100) Creating deployment engine failed for repository /root/wso2-wsf-php-src-2.1.0/wsf_c

so I installed libapache2-mod-axis2c, but then reloading apache2 wsf.so isn't loaded anymore and in apache's logs there's this error:所以我安装了 libapache2-mod-axis2c,但是然后重新加载 apache2 wsf.so 不再加载,并且在 apache 的日志中有这个错误:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/wsf.so' - 
/usr/lib/php5/20131226/wsf_c/lib/librampart.so.0: undefined symbol: axiom_util_clone_node in Unknown on line 0

Any help is really appreciated任何帮助真的很感激

Rampart is looking for a missing symbol in libaxis2_axiom.so... In other words you compiled a version of rampart/c looking for missing function(s) in Axis2/c. Rampart 正在寻找 libaxis2_axiom.so 中缺失的符号...换句话说,您编译了一个版本的 Rampart/c,以寻找 Axis2/c 中缺失的函数。

You can easily patch your axis2/c by adding the missing functions您可以通过添加缺少的功能轻松修补您的axis2/c

Look at this link : https://github.com/gillesgagniard/wso2-wsf-cpp-gg/search?utf8=%E2%9C%93&q=axiom_util_clone_node看看这个链接: https : //github.com/gillesgagniard/wso2-wsf-cpp-gg/search?utf8=%E2%9C%93&q=axiom_util_clone_node

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM