WSF/PHP examples don't work under Fedora 8 PHP 5.2.4 Apache 2.2.8
Hello.
Everything was setup according to instructions (i pointed apache documentroot to folder with examples). WSF/PHP was installed from rpm for Fedora 8.
phpinfo shows that xml,xsl, wsf are enabled.
But when i try to run simple example: "Basic functionalities->Echo service, accepts a payload.. " it shows: "Message = Error , NO Response Received". But WSDL is displayed correct.
Here is extract from log files:
wsf_php_client.log shows 2 errors:
1) [error] dir_handler.c(220) No files in the path /usr/lib/php/modules/wsf_c/services.
2) [error] /usr/src/redhat/BUILD/wso2-wsf-php-1.2.1/src/wsf_client.c(1316) Response Payload NULL( Error number and code) => : 74 :: Error occurred in transport
[info] [rampart][rampart_mod] rampart_mod shutdown
...
[debug] /usr/src/redhat/BUILD/wso2-wsf-php-1.2.1/src/wsf_client.c(638) [wsf_client setting sandesha2 module param sandesha2_db to $
[Thu May 8 10:28:06 2008] [debug] /usr/src/redhat/BUILD/wso2-wsf-php-1.2.1/src/wsf_client.c(412) [wsflog] <ns1:echoString xmlns:ns1="http://ws.apache.org/ax$
<text>Hello World 0</text>
</ns1:echoString>
...
Can someone help with this problem?
- Login or register to post comments
- Printer friendly version
- 19 reads






















Re: WSF/PHP examples don't work under Fedora 8 PHP 5.2.4 Apache
Hi pash,
You need to copy the examples folder to your Apache servers document root. For example, by default the document root will be htdocs folder. So copy the examples folder to htdocs folder. This is because in example clients, we have the endpoint uri as http://localhost/examples/<service>. I think this should be the issue. Please check in the examples and verify whether the service endpoint { "to" entry } is correct according to your settings.
Regards
Nandika
yes, that helped. thank you
yes, that helped.
thank you very much