Milinda Pathirage’s Blog

Let the code talk for yourself!

Entries from September 2008

Tips on Maven Bundle Plugin’s <Include-Resource> directive

September 29th, 2008 · No Comments · maven bundle plugin, osgi

The <Include-Resource> directive is used to add the list of arbitrary resources that should be copied into bundle JAR file. You can find more about this on  Felix Maven Bundle Plugin documentation.

But there are some things which is not mentioned here like copying direcotry with heirarchy of child directories.

For example say you have third party [...]

[Read more →]

Tags:

Writing simple Web Service and Client using WSF/PHP

September 17th, 2008 · No Comments · Uncategorized

Implementing Echo Service
Let’s write a simple web service using WSO2 WSF/PHP. This service will echo the incoming request to client. It will get the request payload from client and send it back to the client as the response. Example request and response:
Request:

<echo>
Hello World
</echo>

Response

<echo>
Hello World
</echo>

To write a Web Service using WSF/PHP you have to [...]

[Read more →]

Tags:

AJAX Based Management and Monitoring Console for Apache ODE

September 17th, 2008 · 5 Comments · apache ode, bpel, personal

Since last April, I work with Apache ODE project to implement AJAX based management and monitoring console. I have done it for Google Summer of Code 2008 and finally the project is now available in the Apache ODE svn trunk. I must mentioned the help I got from my mentor Tammo Van Lessen while doing [...]

[Read more →]

Tags:

Comparison of WSF/PHP 2.0 with other Web Services Frameworks for PHP

September 16th, 2008 · No Comments · php, wsfphp

This image is from ‘WSO2 releases PHP library for SOA development’ article which is published at sdtimes.com. It’s nice to know that other Web Services frameworks for PHP is still far far away from WSO2 WSF/PHP.
Sphere: Related Content

[Read more →]

Tags:

Getting Started with Web Services in PHP with Ubuntu 8.04

September 15th, 2008 · 1 Comment · php, wsfphp, wso2

What is a Web Service?

W3C define Web Service as “a software system designed to support
interoperable machine-to-machine interaction over a network. It has an
interface described in a machine-processable format (specifically
WSDL). Other systems interact with the Web service in a manner
prescribed by its description using SOAP messages, typically conveyed
using HTTP with an XML serialization in conjunction with [...]

[Read more →]

Tags:

Get You Twitter Friends Time Line Using libcurl

September 13th, 2008 · 2 Comments · c programming, personal, programming

This weekend I am doing simple project to display twitter time line on ‘Conky’ widget. For that first I need to write a simple program which will print the twitter time line of my friends. First I tried to use python-twiiter API and failed due to strange Python error. After that I started to implement [...]

[Read more →]

Tags:

Introducing enterprise Web services with WSO2 WSF/PHP 2.0

September 12th, 2008 · No Comments · wsfphp, wso2

If you want to learn more about newly released WSF/PHP 2.0 you can register for “Introducing enterprise Web services with WSO2 WSF/PHP 2.0″ webinar on September 23rd.

To register for this event,go to the registration page or copy and paste this link into your browser: https://wso2.on.intercall.com/confmgr/index.js.
Sphere: Related Content

[Read more →]

Tags:

WSO2 WSF/PHP 2.0 Released

September 12th, 2008 · No Comments · php, wsfphp, wso2

WSO2 WSF/PHP Team recently released Web Services Framework for PHP version 2.0. WSF/PHP is an open source, enterprise grade, PHP extension for providing and consuming Web Services in PHP.

For more information about the new release please read the release note.

If you interested about Web Services in PHP, you can download new release from here(http://wso2.org/downloads/wsf/php).
Sphere: [...]

[Read more →]

Tags:

Beauty of Python Part 3: Eval & Exec

September 11th, 2008 · 1 Comment · Uncategorized

Eval
Eval function is a way of iteracting with the python interpreter from within a program. ‘eval’ function evaluates a string as if it were a Python expression. You can pass a literal, simple expressions, or use built-in functions as argument string.
But eval has security issues. If you pass string from untursted source, you may get [...]

[Read more →]

Tags:

Google is Going to Kill Firefox

September 4th, 2008 · No Comments · Uncategorized

Did you think what will happen to Firefox if Google Chrome become a hit. Read more about it on Samisa’s blog post ‘Google The KILLER’.

[Read more →]

Tags: