Tips for Installing WS02 WSF/PHP Extension

4 April, 2008

If you happen to use Web service running on WSO2 WSF/PHP as server or client and this is your first time configuration here are some tips might helping you if you get this error Messages (WSClient not found: ….) or when you tried to run phpinfo() and didn’t found wsf almost bottom of the html page when trying the samples code from WSO2 WSF/PHP Ext. It might be you have not set the path or copy the 3 required file.
1.Libxml2++.
2.iconv-++
3.zlib++

Download these files.
Make sure you follow exactly the tutorial provided from WSO2 WSF PHP/Ext Website

Tips
1. Try to run “php -m” without the quote from Window Command Prompt.
2. If it happen a pop-up dialog box mention you required one of those 3 files then you had to set the path an Environment. For example : C:\libxml2-2.6.30+.win32\libxml2-2.6.30+.win32\bin and etc.
2. Copy the libxml++.dll file into your C:\path\wso2-wsf-php-bin-1.2.1-win32\wsf_c\lib and same as the rest.
3. Close the previous command prompt. and rerun the command prompt again. Try to run “php -m” and it might fix the problem.
4. Check the list that shown make sure all those 3 files are listed.
5. Now the wsf will be shown out.
6. Restart your apache server or restart your PC if required. The wfs will be shwon in phpinfo(). It happen to me that it required me to restart the server several time until the wsf shown. Weird.
7. Anyway, try the sample client. It might be working now.

Happy Coding.

Entry Filed under: PHP, Web Service. Tags: , , , .

Leave a Comment

hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Charles Ling

Founder of ecomjunction.com

My Favourite Web

 

April 2008
M T W T F S S
    May »
 123456
78910111213
14151617181920
21222324252627
282930  

Categories

Tags

Adobe bitcomet book coding Firefox Intelligent Intelligent Web J2ME Java javascript javascript framework jQuery Jsp jsr 172 kite runner LWUIT Machine Learning Mysql novel Nuance Talks painted veil parse Personalization Photoshop PHP plug-in privacy programming protocol buffer proxy Security server tcp Technology Tomcat web web 2.0 Web Service web services wep Wireless WSDL wsf wso2 xml

Archives

Delicious Bookmark

Join ME