WSClient not working. Error: ws client create failed
Install WSF/PHP(v 1.2.0) from source under Linux .All successful. But there is a bug when starting example (echo_client.php)
Error: ws client create failed .
WSServer created normaly.
Archive extracted to /home/accu/wso2-wsf-php-src-1.2.0/ and buld there
WSF/PHP installed to /usr/lib/php/modules/wsf_c
Log record:
[Thu Jan 10 01:43:18 2008] [debug] /home/accu/wso2-wsf-php-src-1.2.0/src/wsf.c(251) wsf version - 1.2.0
[Thu Jan 10 01:43:18 2008] [debug] /home/accu/wso2-wsf-php-src-1.2.0/src/wsf.c(252) php version - 5.1.6
[Thu Jan 10 01:47:39 2008] [debug] phase.c(122) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport
[Thu Jan 10 01:47:39 2008] [debug] phase.c(122) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport
[Thu Jan 10 01:47:39 2008] [error] conf_init.c(228) dep engine load failed. conf value is NULL
Please tell me, what might be the problem. Thanks.
- Login or register to post comments
- Printer friendly version
- 525 reads











Re:WSClient not working. Error: ws client create failed
Hi,
Could check whether WSO2 WSF/PHP extension is loaded by using the command php -i and check entries for wsf.
Buddhika
Re: WSClient not working
Hi,
Please Remove all files releated to wsf in your php extensions directory.Then do a complete reinstall. It may fix your problem.
-- Nandika
did not help when I do make
did not help
when I do make the first time that an error
/usr/bin/ld: cannot find -lneethi_util
collect2: ld returned 1 exit status
libtool: install: error: relink `./wsf.la' with the above command before installing it
make[2]: *** [/home/accu/wso2-wsf-php-src-1.2.0/src/modules/wsf.la] Error 1
make[2]: Leaving directory `/home/accu/wso2-wsf-php-src-1.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/accu/wso2-wsf-php-src-1.2.0'
make: *** [all] Error 2
I am searching on the forum and found http://wso2.org/forum/thread/2634
and then I do
make install
than new
make (already without errors)
make install
can be in this problem? and how to make a first time without errors. Thanks
Yes, the wsf extension is
Yes, the wsf extension is installed.
wsf extension installed
Excellent, I hope cleaning and re-install was the trick!!
This still do not work. Once
This still do not work. Once again.
I cleared all and re-install from source.
1. extract from the archive
2. ./configure - ok
3. make - error
...............
/usr/bin/ld: cannot find -lneethi_util
collect2: ld returned 1 exit status
libtool: install: error: relink `./wsf.la' with the above command before installing it
make[2]: *** [/home/accu/wso2-wsf-php-src-1.2.0/src/modules/wsf.la] Error 1
make[2]: Leaving directory `/home/accu/wso2-wsf-php-src-1.2.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/accu/wso2-wsf-php-src-1.2.0'
make: *** [all] Error 2
4. make install - ok
do again
make - ок
make install - ok
in the directory /usr/lib/php/modules is a file wsf.so and directory wsf_c
wsf installed as a php extension
BUT when i trying to use it
WSServer - it works
WSClient - error
Log record:
...
[Thu Jan 10 01:43:18 2008] [debug] /home/accu/wso2-wsf-php-src-1.2.0/src/wsf.c(251) wsf version - 1.2.0
[Thu Jan 10 01:43:18 2008] [debug] /home/accu/wso2-wsf-php-src-1.2.0/src/wsf.c(252) php version - 5.1.6
[Thu Jan 10 01:47:39 2008] [debug] phase.c(122) axis2_handler_t *request_uri_based_dispatcher added to the index 0 of the phase Transport
[Thu Jan 10 01:47:39 2008] [debug] phase.c(122) axis2_handler_t *addressing_based_dispatcher added to the index 1 of the phase Transport
[Thu Jan 10 01:47:39 2008] [error] conf_init.c(228) dep engine load failed. conf value is NULL
Problem in the first make error or other problem? Thanks.
Re: This still do not work.
When you run the PHP client on command line, what is the error you get?
Also, how do you know that the service is working? Did you generate the WSDL for the service?
Please try to remove the folder /usr/lib/php/modules/wsf_c and re-install It cannot be a problem due to the error in the first make. Just ignore that and run make install, then try the php client without runing make for the second time.