Monthly Archives: October 2008

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

Compiling and Debugging Axis2/C Services And Clients Using Visual Studio

I have been working in Linux for a long time and recently moved to windows for a little change. (Hopefully for a little time :). I find it is really easy to create a project for an Axis2/C client or … Continue reading

Posted in axis2/c, Tutorial/Guide, web services | Tagged , , , , , , | 3 Comments

Writing a Simple REST and SOAP Service With PHP

WSF/PHP enables you to write both REST and SOAP services in PHP from a single script. I have written about how you can expose your Database as a REST and SOAP services in few of my previous posts using the … Continue reading

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

WSClient WSDL Mode With Array Based API

In WSF/PHP WDL Mode we have two APIs, first one is the class based API which we give a class object as the input parameter for the operation and expect to retrieve a class object as the response as well. … Continue reading

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

Test your SSL SOAP Client with an Online Service

WSF/PHP Demo Site services can be accessed via https (Secured HTTP)  transport. For an example you can access the echo service via https from https://2ec2.wso2.org/samples/echo_service.php endpoint. This can be used to identify whether you WSF/PHP instance is built with SSL … Continue reading

Posted in security, Tutorial/Guide, web services, wsf/php, wso2 | Tagged , , , , , | 4 Comments

Invoking WSF/PHP Web Services Through Proxy

If you are behind a proxy server you need to configure your client to send the request through proxy. With WSF/PHP you can do it in two ways. 1. Setting proxy configuration in WSClient itself You can use the ‘proxyHost’ … Continue reading

Posted in axis2/c, Tutorial/Guide, web services, wsf/php, wso2 | Tagged , , , , , | 5 Comments

Data Services with SQLite in PHP

Yesterday I wrote a how-to on doing MSSQL DataService in PHP. It was just about installing necessary PDO drivers and setting the following configurations about your Database. // database configurations $config = array( “db” => “mssql”, “username” => DB_USERNAME “password” … Continue reading

Posted in DataServices, Tutorial/Guide, web services | Tagged , , , , | 1 Comment

MSSQL(Microsoft SQL) Data Services In PHP

PHP in most percentage is used with MySQL Server in LAMP or WAMP stacks. But there may be situations where PHP uses MSSQL databases in back-end. And PHP scripts can be used to make Web services exposing MSSQL Databases. That … Continue reading

Posted in DataServices, REST, Tutorial/Guide, web services, WSDL, wsf/php | Tagged , , , , , | 4 Comments