Category Archives: php

Calling Simple Web Services From Javascript

If you are a web developer, you may have found many occasions you have to create simple mashups for your web site. There you call web services or data services to fill the content of the web page. Most of … Continue reading

Posted in javascript, mashup server, php, SOA, Tutorial/Guide, web services | Tagged , , , | 2 Comments

PHP Data Services with PostgreSQL

LAMP (Linux + Apache + Mysql + PHP) stack powers many servers in the Internet today. For a LAMP  server, PostgreSQL could be the first alternative to Mysql. Similar to PHP + MySQL,  PHP + PostgreSQL too can be easily … Continue reading

Posted in 2 minutes guide, DataServices, php, REST, SOA, SQL, Tutorial/Guide, web services, WSDL, wsf/php, wso2 | Tagged , , , , , , | 2 Comments

Using AXIOM/C As The XML Object Model

In Apache Axis2/C AXIOM is used as the basic object model to represent XML. AXIOM provide a DOM like API that allows to traverse and build the XML very easily. Anyway in underneath, AXIOM is different from DOM, as it … Continue reading

Posted in axiom, axis2/c, DataServices, drupal, php, SOA, Tutorial/Guide, web services | Tagged , , , , | Leave a comment

Steps to Convert a SQL Query to a Data Service

With WSF/PHP Data Service library, you can convert a SQL query to a Data Service very easily in few steps. Decide your SQL query first, For the query you may require some input parameters, and you have to decide what … Continue reading

Posted in DataServices, php, SOA, SQL, Tutorial/Guide, web services, wsf/php, wso2 | Tagged , , , , | Leave a comment

5 Facts About WS-Addressing Action in WSF/PHP

WS-Addressing Action is used by web services to dispatch the operation for an incoming request SOAP message. It is one way of dispatching operations in WSF/PHP and it base Apach Axis2/C, other ways are SOAP action based dispatching which covers … Continue reading

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

The Use of SOAP Action with WSF/PHP

In SOAP 1.1, the SOAP action is mentioned as a compulsory HTTP header. In practice it was used to identify the operation for a given request which we identify by the term ‘dispatching operations’. As of SOAP 1.2, the SOAP … Continue reading

Posted in php, SOA, Tutorial/Guide, web services, wsf/php, wso2 | Tagged , , , , , | 1 Comment

Data Services – Databases For SOA

Database plays a big role in any day-today application. It is a major component from accounting, web portal, CMS, SaaS applications, search engines to all enterprise applications. In traditional MVC(Model-View-Controller) applications we talk about the Model component which represent the … Continue reading

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

WS-SecurityPolicy With PHP

WS-SecurityPolicy specification defines standards for defining security policies for your web service. WSF/PHP allows you to declare your security policies according to these standards. You can take one of following approaches to associate policies to your web service or client. … Continue reading

Posted in DataServices, php, REST, security, Tutorial/Guide, web services, WSDL, wsf/php, wso2, xml, xml schema | Tagged , , , , , , | 14 Comments

Signing SOAP Headers In PHP Web Services

Non-Repudiation and Integrity are two main security issues addressed by signing a message. If you are writing a web service or a service consumer in PHP you can use the WSF/PHP toolkit to sign messages. Here is how you can … Continue reading

Posted in php, security, Tutorial/Guide, wsf/php, wso2 | Tagged , , , , , , , | Leave a comment

Detect Replay Attacks In to Your PHP Web Service

Replay attack is a common kind of attack, the hackers are using to break the security of a web service. If you can intercept one soap message while it is transferring through the wire, you can replay that message to … Continue reading

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