Tag Archives: php

Code First Approach of Developing Services with WSF/PHP 2.0

In the code first approach, WSF/PHP will generate you the WSDL from your annotated PHP code. If you are familiar with older versions of WSF/PHP you should be already familiar with the syntax used in the annotations which are more … Continue reading

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

Developing WSF/PHP Webservices With Contract First Approach – 2 Minutes Introduction

WSF/PHP allows you to develop web services with both Contract First (Starting from WSDL) and Code First Approaches. From these two, Contract First approach is the most famous and most recomended way of developing a Webservice. There you need to … Continue reading

Posted in 2 minutes guide, Tutorial/Guide, web services, WSDL, wsf/php, wso2, xml schema | Tagged , , , , , | 1 Comment

PHP DataServices 2 Minutes Introduction

We use the term DataServices for exposing a Database as a WebService. PHP DataServices library make this task easy by providing a very simple API to the developers. The API is designed to let the service developer to provide the … Continue reading

Posted in 2 minutes guide, DataServices, Tutorial/Guide, web services, wsf/php, wso2 | Tagged , , , , | Leave a comment

Web Services Security in WSF/PHP 1.3.2

With WSF/PHP 1.3.2 you can use following basic features in WS-Security. Feature Purpose Array based Security Policy Options ($sec_policies) Security Token Options ($sec_token_options) UsernameToken Authentication array(“useUsernameToken” => TRUE) array(“user” => “your_username”, “password” => “your_password”, “passwordType” => “Digest”); //Digest/Plain Timestamp Avoid … Continue reading

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

Install PHP, WSF/PHP and DataServices in a Shared Hosting Environment

If you have a shared hosting environment you will find it is not straight forward to install WSO2 WSF/PHP + PHP DataServices Library since you have very limited authority on your environment. Here in this post, I’m explaining the steps … Continue reading

Posted in DataServices, Tutorial/Guide, web services, wsf/php, wso2 | Tagged , , , , , , , , , , , , , | 7 Comments

Encrypt and Sign your SOAP messages in PHP

When you are developing a Web Service, you have to think about the security aspects of your service seriously. When it comes to security in web services you have two basic choices. Transport level security – Just SOAP over HTTPS … Continue reading

Posted in security, web services | Tagged , , , , , , , , , , | 3 Comments

Make your WordPress Blog a Web Service in Few Steps

With PHP DataServices it is just a matter of putting a little configuration php file to make your database available as a web service. I only needed few minutes to make a simple web service from my blog after figuring … Continue reading

Posted in DataServices, web services, wsf/php | Tagged , , , , , , , , | 4 Comments

Nested Queries with PHP Data Services

We use the term ‘DataService’ when we expose a database as a web service. WSO2 has a separate product for the DataService space which was earlier shipped bundled with WSAS. There you write a configuration xml explaining what data to … Continue reading

Posted in DataServices, web services, wsf/php, wso2 | Tagged , , , , , , | 2 Comments

FAQ for WSF/PHP Installation

Answering users questions about wsf/php installation for many months, I thought it is worth to take some time and make a shortlist of some regular questions asked by them. Actually problems has been occurred not only due to users mistakes … Continue reading

Posted in wsf/php | Tagged , , , , | 5 Comments

Install WSF/PHP with WAMPServer

Formerly I have written several guidelines to install wsf/php in Linux like Installing WSF/PHP 1.2.1 in ubuntu and Install WSF/PHP 1.2.1 with zend core in Ubuntu 7.10. So I thought to prepare a similar guideline for windows specially with my … Continue reading

Posted in web services, wsf/php, wso2 | Tagged , , , | 11 Comments