Tag Archives: php

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

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

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

RESTful CRUD Data Services Demo

When you are developing Web Service for CRUD (Create, Read, Update, Delete) operations you may find it is easy to implement it as RESTful service. In this Demo on RESTful CRUD Service You can have an idea how you develop … Continue reading

Posted in DataServices, REST, RESTful, Tutorial/Guide, web services, wsf/php, wso2 | Tagged , , , , , , , , | 1 Comment

WSF/PHP Webinar

WSO2 WSF/PHP Webinar slides are now online. It basically contains an introduction to the WSF/PHP project, the features in its last week hot release and its enterprise applications. WSF PHP 2.0.0 Webinar Sep 2008 You can watch the video of … Continue reading

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

Authenticate using Username Token from PHP – 2 Minutes Introduction

Username token is a simple token sent inside SOAP message header element with username and password information.  It is used to authenticate SOAP messages in a standardized way. Sending Username Token To send username token with WSF/PHP you can use … Continue reading

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

Send Binary With Web Services in PHP – 2 Minutes Introduction

In PHP you have several ways of sending binary data. It can be primarily categorized in to non-optimized method (send as base64 binary) and optimized method (send as MTOM or SWA). Here I m talking about how to send binaries … Continue reading

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

PHP for Enterprise Applications

As the implementation language for a vast space of the applications through out the web, PHP still finding a proper place in the enterprise space. Can PHP go beyond the conventional web based database back-ended applications?. Can I use public … Continue reading

Posted in web services | Tagged , , , | Leave a comment

PHP Data Services With WS-Security

Earlier I wrote a blog about how to make your wordpress blog a web service using the WSF/PHP Data Services library. I will expand that post to demonstrate the use of WS-Security features with WSF/PHP. This time it is a … Continue reading

Posted in DataServices, security, Tutorial/Guide, web services, WSDL, wsf/php, wso2 | Tagged , , , , , , | 5 Comments