Tag Archives: wsf/php

WSO2 WSF/PHP 2.0.0 Just Released!

We have been waiting for a while to do the WSF/PHP 2.0.0 release with a bundle of new features. We took time to test all the features and to make sure they are working smoothly. And it is heavily tested … Continue reading

Posted in wsf/php, wso2 | 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

WSF/PHP WSDL Generation 2 Minutes Introduction

Whenever you deploy a service script in WSF/PHP you can access its WSDL by adding “?wsdl” or “?wsdl2” (for WSDL version 2.0) to the service endpoint. Anyway you may have noticed that for some services it will just list the … Continue reading

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

How to Build Custom SOAP Headers in WSDL Using Axis2/C and WSF/PHP

SOAP Headers are used in many WS-* standards (for an example WS-Security) to transmit information related to the QOS aspects of the service. So only the SOAP engines which process these QOS parameters are supposed to see these headers. Web … Continue reading

Posted in adb, axis2/c, codegen, tool, Tutorial/Guide, web services, WSDL, wsdl2c, wsf/php, wso2 | Tagged , , , , , | 1 Comment

Send Binary in SOAP with WSF/PHP 1.3.2

In a valid XML you can only have text and you can not have binary characters. SOAP which in fact an XML is also having this issue. So it is not staright forward to send binary data in SOAP. But … Continue reading

Posted in web services, wsf/php, xml | 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

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