Author Archives: dimuthu

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

Understanding Apache Axis2/C Services

If you have ever written an Apache Axis2/C service, there is a 99.9% chance that you have used the codegen tool to generate the code for the service. If so you only need to write your business logic inside functions … Continue reading

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

XPath in SimpleXML

SimpleXML as it name imply, is a very simple API to traverse XML implemented specially in PHP language. It is very similar to the XPath, but since it has more PHP friendly syntax PHP developers really like to use it. … Continue reading

Posted in php, xml, xpath | Tagged , , , | 20 Comments

The Design of the Twitter REST API

The REST API for Twitter is very simple to learn and implement. And it has a comprehensive documentation. Here is some selected operations to just to show its design. Note that here userid should be replaced with a valid twitter … Continue reading

Posted in REST, RESTful | Tagged , , , , | 4 Comments