Category Archives: xml

WSF/PHP Code First Approach: Returning an Array of String

Here is a problem that many people have asked me how to do it. “Returning an array of string” with the code first approach. The API or WSDL generation annotation guide, http://wso2.org/project/wsf/php/2.0.0/docs/wsdl_generation_api.html contain all the things required in details. Here … Continue reading

Posted in php, SOA, Tutorial/Guide, WSDL, wsf/php, wso2, xml, xml schema | Tagged , , , | 2 Comments

Hello World To Web Services With C And C++

Once you have a web service, you can write clients to invoke that service from any language, mostly with the help of a framework written in to that particular language. When it comes to C, the most popular choice is … Continue reading

Posted in axiom, axis2/c, SOA, Tutorial/Guide, web services, wsf/c++, wso2, xml | Tagged , , , , | Leave a comment

Article Introducing PHP Data Services

Now you can view the article I wrote titling “Introduction to PHP Data Services“. There I explain how you can design and implement Data Services in PHP using WSF/PHP Data Services Library. This article covers, Designing your Data Service API. … Continue reading

Posted in database, DataServices, design, php, REST, RESTful, SOA, SQL, Tutorial/Guide, web services, WSDL, wsf/php, wso2, xml | Tagged , , , , , , , , , , , | Leave a comment

RESTful PHP Web Services – Book Review

PHP is one of the famous choice, when it comes to develop a web site. As the web evolve with the emerge of web service, REST (REpresentational State Transfer) concepts, the PHP language is also adapted to the new requirements … Continue reading

Posted in design, php, REST, RESTful, review, SOA, web services, wsf/php, wso2, xml | Tagged , , , , , , , , | 1 Comment

Sending Binary with Apache Axis2/C ADB

Axis2/C ADB is a C language binding to the XML schema. ADB object model represents an XML specific to a given schema in a WSDL. You can use the Axis2 codegen tool to generate ADB codes for your WSDL and … Continue reading

Posted in adb, axis2/c, codegen, SOA, tool, Tutorial/Guide, web services, wsdl2c, xml, xml schema | Tagged , , , , | Leave a comment

Organic Chemistry – Reaction Simulator

Organic Reaction Simulator It is a tool that simulates the organic reactions and automatically generate the IUPAC names for the organic compounds drawn by you. This covers most of the syllabus of the Organic Chemistry for G.C.E. A/L examination. Features … Continue reading

Posted in algorithm, Organic Chemistry, personal, screenshots, xml | Tagged , , , | 11 Comments

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

XML Schema Simple Types & How WSDL2PHP Convert Them To PHP

As many of other languages, XML schema too have data types. Basically it can be categorized in to two groups. Simple Types Complex Types The different between these 2 types are so easy to identify. Say you have a schema … Continue reading

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

WSF/PHP WSDL Mode – Handling XML Schema Arrays

In XML Schema we declare an array or a multiple occurrence of a schema element by setting its maxOccurs attribute to a value greater than 1 or to the value “unbounded” in a case of no maximum boundary. <xs:element maxOccurs=”unbounded” … Continue reading

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

WSDL Generation From PHP – Using Different Names in WSDL and PHP Code

PHP2WSDL feature of the WSF/PHP allows you to generate the WSDL for your service when you access the URL formed by adding “?wsdl” to the service URL ( or you can use service URL + “?wsdl2” to access the wsdl … Continue reading

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