Author Archives: dimuthu

WSF/PHP Services Performance test with WSDL Caching

WSDL Caching is first introduced with the WSF/PHP 2.0.0 release to optimize the response time of PHP web services. In WSDL Caching WSF/PHP keeps an intermediate XML model which is generated from the WSDL in memory. This intermediate model which … Continue reading

Posted in perfomance test, WSDL, wsf/php, wso2 | Tagged , , , , , , , | 8 Comments

WSF/PHP WSDL Mode – Handling XML Schema Arrays

In XML Schema we declare an array or a multiple occurrence of a schema element by setting its maxOccurs attribute to a value greater than 1 or to the value “unbounded” in a case of no maximum boundary. <xs:element maxOccurs=”unbounded” … Continue reading

Posted in Tutorial/Guide, WSDL, wsf/php, wso2, xml, xml schema | Tagged , , , , , , | Leave a comment

WSDL Generation From PHP – Using Different Names in WSDL and PHP Code

PHP2WSDL feature of the WSF/PHP allows you to generate the WSDL for your service when you access the URL formed by adding “?wsdl” to the service URL ( or you can use service URL + “?wsdl2” to access the wsdl … Continue reading

Posted in Tutorial/Guide, web services, WSDL, wsf/php, wso2, xml, xml schema | Tagged , , , , , , , , , | Leave a comment

Book on RESTful PHP Web Services

Samisa Abeysinghe who is the director of engineering at WSO2 and one of the key leaders of the WSF/PHP project has published a book titled RESTful PHP Web Services. In Samisa’s Blog He describes the structure and the content of … Continue reading

Posted in REST, RESTful, web services, wsf/php, wso2 | Tagged , , , | Leave a comment

Coding Schema Inheritance in PHP

If you are thinking of writing a web service or a client based on a WSDL, you can easily generate the code for PHP or any other language using tools likes wsdl2php or other wsdl2xxx category tools. Then you don’t … Continue reading

Posted in Tutorial/Guide, web services, WSDL, wsf/php, wso2, xml, xml schema | Tagged , , , , , , , , , , , | 2 Comments

Demo on Consuming Flickr, Yahoo and Amazon Search Web Services

WSF/PHP Demo Site contains number of sample web service applications which demonstrate the different features of WSF/PHP. From these demos, Mashup Search Demo demonstrate  the use of  publicly available web services to create a search mashup in your web site. … Continue reading

Posted in REST, Tutorial/Guide, web services, wsf/php, wso2 | Tagged , , , , | Leave a comment

Write RESTful Services in C

You can write REST as well as SOAP web services using Apache Axis2/C web services framework. There you can make existing Axis2/C web services RESTful just by providing the URL patterns and the HTTP methods to each operation in  the … Continue reading

Posted in REST, RESTful, Tutorial/Guide, web services | Tagged , , , , , | 8 Comments

Write an Adsense Widget for your WordPress Blog on Your Own

It is really easy to write a widget to the wordpress blog. So I thought of writing my own widget to show Google ads in my Blog. Here is how I did it. First generate the JavaScript code for your … Continue reading

Posted in wordpress | Tagged , , , | Leave a comment

DEMO on a SOAP and REST Client with PHP

Last week I wrote a how to on Writing a SOAP and REST Service with PHP. It shows how to write a single script that enables the SOAP and REST web services interfaces using WSF/PHP. Today I’m going to show … Continue reading

Posted in REST, Tutorial/Guide, web services, wsf/php, wso2 | Tagged , , , , | 2 Comments

Demo on Providing PHP Web Service with Username Token

WSF/PHP Demo Site contains number of applications that demonstrate the different features of WSO2 WSF/PHP in practice. Calendar Service is one of such application. It demonstrate the use of WSDL Mode for a service with different policies for different operations … Continue reading

Posted in security, web services, WSDL, wsf/php, wso2 | Tagged , , , , , | Leave a comment