Mock Web services with Apache Synapse to develop and test Web services

Apache Synapse is a simple, lightweight, high-performance enterprise service bus (ESB) released under the Apache License, Version 2.0. But for an individual developer, what’s the use of an ESB product in your day-to-day life? The simplicity of the configuration, out-of-the-box feature set, extensible architecture, and the minimal footprint makes it a versatile and powerful tool that you can use for a variety of tasks.

In this IBM developerWorks tutorial, I will explain how you can use Apache Synapse to create mock Web services. The target Web service clients and services can be in any language, such as Microsoft® .NET, Java, or PHP. You will work with several samples, starting from the most basic configuration and gradually building more complex solutions to create mock Web services.

Read the article at http://www.ibm.com/developerworks/webservices/tutorials/ws-synapse/ws-synapse.html

Apache Synapse simulate mediator

Simulate mediator is a pluggable extension to Apache Synapse and WSO2 ESB, Enterprise Service Bus products. It performs regular expression matches against the message and if all the matches succeed, it replaces the message with the given contents of the file. You can replace the whole SOAP envelope or replace only the body contents. This mediator can be used to simulate Web service responses for development and testing. Check out the sample, and download the binary with the source code here.

I am in Google Summer of Code 2008

I am happy and proud to announce that I have been accepted for a project in Google Summer of Code 2008 for OpenMRS. OpenMRS is an open source medical record system framework for developing countries led by Regenstrief Institute and Partners In Health. I am looking forward to join the OpenMRS community and contribute to the core system of the OpenMRS, and continue the development work for years to come.

Apache Synapse IM Mediator

IM mediator is a pluggable extension to Apache Synapse and WSO2 ESB, Enterprise Service Bus products. It can extract a property or a value from the current message context and send it as an instant message to the given recipient. IM Mediator uses WSO2 Commons IMWrapper library. It is a common wrapper for different IM protocol libraries. Currenty it supports MSN, AIM, ICQ, Yahoo and Jabber. Check out the sample, and download the binary with the source code here.

New Community Site for Apache Synapse and WSO2 ESB (Enterprise Service Bus)

Recently we launched the community site for Apache Synapse and WSO2 ESB,http://esbsite.org

The site hosts articles, extra mediators, sample configurations, latest patches, faqs and much more. You can join the community and contribute your own custom mediators, code snippets and useful configurations, and share them with the community.

You can find some interesting extensions and useful information there already. IM mediator can send instant messages through MSN, Jabber and other instant messaging networks. Atom mediator can publish Atom entries to feeds. Smooks transform mediator can integrate EDI, CSV data. Rule mediator integrates rule engines with the ESB. You can call EJB methods using the EJB callout mediator.

Join the ESB community at http://esbsite.org