<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dimuthu's Blog &#187; wso2</title>
	<atom:link href="http://www.dimuthu.org/tag/wso2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dimuthu.org</link>
	<description>Waiting for your comments</description>
	<lastBuildDate>Wed, 07 Jul 2010 12:42:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<image>
  <link>http://www.dimuthu.org</link>
  <url>http://www.dimuthu.org/favicon.ico</url>
  <title>Dimuthu's Blog</title>
</image>
		<item>
		<title>WSO2 Web Services Framework for PHP 2.1.0 Released</title>
		<link>http://www.dimuthu.org/blog/2010/07/07/wso2-web-services-framework-for-php-2-1-0-released/</link>
		<comments>http://www.dimuthu.org/blog/2010/07/07/wso2-web-services-framework-for-php-2-1-0-released/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 12:42:52 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[wsf/php]]></category>
		<category><![CDATA[wso2]]></category>
		<category><![CDATA[release]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=1099</guid>
		<description><![CDATA[WSO2 just released a newer version of the popular web services framework for php (WSF/PHP). It has lot of bug fixes + performance improvement.  And it now support PHP 5.3. So you can use wsf/php with the latest php version. You can download the new release from http://wso2.org/downloads/wsf/php.]]></description>
			<content:encoded><![CDATA[<p>WSO2 just released a newer version of the popular web services framework for php (WSF/PHP). It has lot of bug fixes + performance improvement.  And it now support PHP 5.3. So you can use wsf/php with the latest php version.</p>
<p>You can download the new release from <a href="http://wso2.org/downloads/wsf/php">http://wso2.org/downloads/wsf/php</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2010/07/07/wso2-web-services-framework-for-php-2-1-0-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WSO2 Stratos: WSO2 Brings The Whole SOA Stack to The Cloud</title>
		<link>http://www.dimuthu.org/blog/2010/06/03/wso2-stratos-wso2-bring-the-whole-soa-stack-to-the-cloud/</link>
		<comments>http://www.dimuthu.org/blog/2010/06/03/wso2-stratos-wso2-bring-the-whole-soa-stack-to-the-cloud/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 10:59:44 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[Governance Registry]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[app server]]></category>
		<category><![CDATA[gadget server]]></category>
		<category><![CDATA[identity]]></category>
		<category><![CDATA[mashup server]]></category>
		<category><![CDATA[stratos]]></category>
		<category><![CDATA[wso2]]></category>
		<category><![CDATA[SOA]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=1093</guid>
		<description><![CDATA[WSO2 announced that the SOA stack that they provided as downloadable packages are now available in the cloud as hosted instances with the code name WSO2 Stratos. You can try them out for free from https://cloud.wso2.com. You can register your organization for an account in the WSO2 Stratos by clicking the &#8216;Register&#8217; button in the [...]]]></description>
			<content:encoded><![CDATA[<p>WSO2 announced that the SOA stack that they provided as downloadable packages are now available in the cloud as hosted instances with the code name WSO2 Stratos. You can try them out for free from <a href="https://cloud.wso2.com">https://cloud.wso2.com</a>. You can register your organization for an account in the WSO2 Stratos by clicking the &#8216;Register&#8217; button in the home page. You can find a detail guide on &#8216;How to register for WSO2 Stratos&#8217; from Charitha&#8217;s blog, <a href="http://charithaka.blogspot.com/2010/06/wso2-stratos-introducing-wso2.html">http://charithaka.blogspot.com/2010/06/wso2-stratos-introducing-wso2.html</a>.</p>
<p>At the registration, you will be asked to provide a username and password for the admin account. Use this credential to login as admin for the Stratos services and surf through the products. Here is a brief introduction on all the products currently available.</p>
<ul>
<li><a href="https://governance.cloud.wso2.com">Stratos Governance</a>: Store and govern your services, wsdls, schemas, policies and other SOA artifacts</li>
<li><a href="https://identity.cloud.wso2.com">Stratos Identity</a>: Manage user bases, authentication mechanisms, permissions and all the identity aspects of your enterprise.</li>
<li><a href="https://appserver.cloud.wso2.com">Stratos Application Server</a>: Host your web apps, web services and manage their QoS aspects like security, reliability.</li>
<li><a href="https://gadget.cloud.wso2.com">Stratos Gadgets Server</a>: Write and host gadgets complaint with Google gadget standards.</li>
<li><a href="https://mashup.cloud.wso2.com">Stratos Mashup Server</a>: Write mashup using scripting languages like javascript.</li>
<li><a href="https://bam.cloud.wso2.com">Stratos Business Activity Monitor</a>: Monitor activities of your services.</li>
<li>Stratos Enterprise Service Bus: Coming soon with message routing, intermediate message transformations, task scheduling and many more features.</li>
</ul>
<p>With this release WSO2 bring complete SOA stack to the cloud, Now your enterprise can enjoy the power of SOA without the hassle of maintaining your own SOA infrastructure.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2010/06/03/wso2-stratos-wso2-bring-the-whole-soa-stack-to-the-cloud/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Web Services: Webinar From WSO2 And Zend</title>
		<link>http://www.dimuthu.org/blog/2010/05/19/php-web-services-webinar-from-wso2-and-zend/</link>
		<comments>http://www.dimuthu.org/blog/2010/05/19/php-web-services-webinar-from-wso2-and-zend/#comments</comments>
		<pubDate>Wed, 19 May 2010 13:30:25 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[SOA]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[wsf/php]]></category>
		<category><![CDATA[wso2]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[webinar]]></category>
		<category><![CDATA[zend]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=1088</guid>
		<description><![CDATA[WSO2 and Zend jointly present a webinar titling &#8220;PHP Web Services: Why You Should Care&#8221; on 26th of May, 2010. The webinar will mainly focus on the following aspects, • Understand Web services development best practices • Discuss Web service myths and pitfalls • Learn about prominent PHP Web services extensions • Watch a demo [...]]]></description>
			<content:encoded><![CDATA[<p>WSO2 and Zend jointly present a webinar titling &#8220;<a href="http://wso2.org/library/webinars/2010/05/webinar-php-web-services-you-should-care">PHP Web Services: Why You Should Care</a>&#8221; on 26th of May, 2010. The webinar will mainly focus on the following aspects,<br />
• Understand Web services development best practices<br />
• Discuss Web service myths and pitfalls<br />
• Learn about prominent PHP Web services extensions<br />
• Watch a demo of building Web Services with both the Zend Framework and WSO2 Web Services Framework for PHP.</p>
<p>You can find more information about the webinar and the link to registration here, <a href="http://wso2.org/library/webinars/2010/05/webinar-php-web-services-you-should-care">http://wso2.org/library/webinars/2010/05/webinar-php-web-services-you-should-care</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2010/05/19/php-web-services-webinar-from-wso2-and-zend/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WSO2 Governance Registry, WSO2 Identity Server, WSO2 ESB, WSO2 Web Service Application Server Released</title>
		<link>http://www.dimuthu.org/blog/2010/05/03/wso2-governance-registry-wso2-identity-server-wso2-esb-wso2-web-service-application-server-released/</link>
		<comments>http://www.dimuthu.org/blog/2010/05/03/wso2-governance-registry-wso2-identity-server-wso2-esb-wso2-web-service-application-server-released/#comments</comments>
		<pubDate>Mon, 03 May 2010 04:02:59 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[Governance Registry]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[carbon]]></category>
		<category><![CDATA[esb]]></category>
		<category><![CDATA[identity]]></category>
		<category><![CDATA[wsas]]></category>
		<category><![CDATA[wso2]]></category>
		<category><![CDATA[governance registry]]></category>
		<category><![CDATA[web service application server]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=1074</guid>
		<description><![CDATA[WSO2 has released new versions of their SOA platform products including WSO2 Governance Registry, WSO2 Identity Server, WSO2 ESB, WSO2 Web Service Application Server. This is a major version upgrade of these products introducing many features. ESB: Priority based mediation through priority executors WS-Discovery support and dynamic endpoint discovery Message Relay for efficient pass through [...]]]></description>
			<content:encoded><![CDATA[<p>WSO2 has released new versions of their SOA platform products including <a href="http://wso2.org/projects/governance-registry">WSO2 Governance Registry</a>, <a href="http://wso2.org/projects/identity">WSO2 Identity Server</a>, <a href="http://wso2.org/projects/esb/java">WSO2 ESB</a>, <a href="http://wso2.org/projects/wsas/java">WSO2 Web Service Application Server</a>. This is a major version upgrade of these products introducing many features.</p>
<p><a href="http://wso2.org/projects/esb/java">ESB</a>:</p>
<ul>
<li>Priority based mediation through priority executors</li>
<li>WS-Discovery support and dynamic endpoint discovery</li>
<li>Message Relay for efficient pass through of messages</li>
<li>Component manager to install and uninstall features (provisioning support)</li>
<li>Common Internet File System (CIFS) support through the VFS transport</li>
<li>File locking functionality in the VFS transport to support concurrent polling</li>
<li>Smooks mediator for efficient message transformation</li>
<li>Enrich mediator for smart message manipulation</li>
<li>OAuth mediator for 2-legged OAuth support</li>
<li>Default endpoint UI</li>
<li>Hot deploy and hot update configuration elements (sequences, endpoints, proxy services etc)</li>
<li>Transport level statistics collection and monitoring</li>
<li>POX security support</li>
<li>Dependency detection and alerting for mediation configuration elements</li>
<li>Mediation statistics API and custom mediation statistics consumers</li>
<li>Multiple certificate/identity support in the NHTTP transport sender</li>
<li>Improved logging capabilities for the NHTTP transport</li>
<li>Templates based proxy service development in the UI</li>
<li>Dashboard to monitor server environment and runtime</li>
<li>Easy creation and management capabilities for dynamic sequences and endpoints</li>
<li>Pagination to service management, endpoint management and sequence management UIs</li>
<li>Obtaining resources like WSDL&#8217;s through web proxy servers</li>
</ul>
<p><a href="http://wso2.org/projects/governance-registry">Governance Registry</a></p>
<ul>
<li>Gadgets for impact analysis on services and registry resources</li>
<li>WSDL custom view</li>
<li>Dynamic Handler configuration</li>
<li>Handler simulator</li>
<li>Tree-based Resource view</li>
<li>API to govern SOA artifacts</li>
<li>Complete Web Services API for Registry</li>
<li>Improved options for Service discovery</li>
<li>WS-Discovery support</li>
<li>Scripting support for lifecycle management</li>
<li>Improved P2 based provisioning and feature management support</li>
<li>Support for adding remote mounts</li>
<li>Platform, and Group/Cluster based deployment model</li>
<li>Support for multiple server instances</li>
<li>E-mail verification for subscriptions</li>
<li>Support for deleting tags and comments</li>
<li>Support for PostgreSQL and DB2 DBMS</li>
<li>Paged activity and resource search</li>
<li>Hierarchical permission model with granular and extensible permissions</li>
<li>Ability to upload metadata (in addition to importing)</li>
<li>Governance Archive for uploading WSDLs and Schemas with imports</li>
<li>Ability to update resource content by uploading</li>
<li>Rich text editor for editing text resources</li>
<li>XML editor for editing handler, lifecycle and service UI configurations</li>
</ul>
<p><a href="http://wso2.org/projects/wsas/java">Web Service Application Server</a> (WSO2 WSAS):</p>
<ul>
<li>Component Manager &#8211; The UI tool to install/uninstall Carbon featrues.</li>
<li> Various bug fixes &amp; enhancements including architectural improvements         to Apache Axis2, Apache Rampart, Apache Sandesha2         , WSO2 Carbon &amp; other projects.</li>
<li>Equinox P2 based provisioning support &#8211;         extend your WSAS instance by installin new P2 features. See         <a href="https://wso2.org/wiki/display/carbon/p2-based-provisioning-support"> P2 based provisioning in WSO2 Carbon </a></li>
<li>Hierarchical service support for Axis2 services, JAX-WS services, Spring         services &amp; Jar services</li>
<li>Report generation for deployed services</li>
</ul>
<p><a href="http://wso2.org/projects/identity">Identity Server</a>:</p>
<ul>
<li>SAML 2.0 based Single Sign-on support</li>
<li>OAuth Support</li>
<li>Support for bulk-user import</li>
<li>Various bug fixes and enhancements including architectural improvements to Apache Axis2, Apache Rampart, Apache Sandesha2 , WSO2 Carbon and other projects.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2010/05/03/wso2-governance-registry-wso2-identity-server-wso2-esb-wso2-web-service-application-server-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Webinar: WSO2 Business Activity Monitor for Agile Enterprises</title>
		<link>http://www.dimuthu.org/blog/2010/02/03/webinar-wso2-business-activity-monitor-for-agile-enterprises/</link>
		<comments>http://www.dimuthu.org/blog/2010/02/03/webinar-wso2-business-activity-monitor-for-agile-enterprises/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 02:03:45 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[BAM]]></category>
		<category><![CDATA[Governance]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[agile enterprsie]]></category>
		<category><![CDATA[buisness activity monitor]]></category>
		<category><![CDATA[report]]></category>
		<category><![CDATA[webinar]]></category>
		<category><![CDATA[wso2]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=1070</guid>
		<description><![CDATA[Samisa Abeysinghe, the directory of engineering at WSO2 will present a webinar on Building an Agile Enterprise With Business Activity Monitoring today (3rd February 2010). There he will provide an overview of WSO2 Business Activity Monitor (WSO2 BAM), the latest product from the WSO2 Carbon platform, including its built-in dashboard to view analytics , reports [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://samisa-abeysinghe.blogspot.com">Samisa Abeysinghe</a>, the directory of engineering at WSO2 will present a <a href="http://wso2.org/library/webinars/02-03-2010-webinar-building-agile-enterprise-business-activity-monitoring/?otbdate=22110">webinar on Building an Agile Enterprise With Business Activity Monitoring</a> today (3rd February 2010).</p>
<p>There he will provide an overview of <a href="http://wso2.org/projects/bam">WSO2 Business Activity Monitor (WSO2 BAM)</a>, the latest product from the WSO2 Carbon platform, including its built-in dashboard to view analytics , reports of past and present activities of the enterprise SOA infrastructure and how these information can be used in tactical and strategic decision making.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2010/02/03/webinar-wso2-business-activity-monitor-for-agile-enterprises/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access WSO2 Governance as a Service From Remote Registry</title>
		<link>http://www.dimuthu.org/blog/2010/01/11/access-wso2-governance-as-a-service-from-remote-registry/</link>
		<comments>http://www.dimuthu.org/blog/2010/01/11/access-wso2-governance-as-a-service-from-remote-registry/#comments</comments>
		<pubDate>Mon, 11 Jan 2010 16:36:45 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[GaaS]]></category>
		<category><![CDATA[Governance]]></category>
		<category><![CDATA[Governance Registry]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[wso2]]></category>
		<category><![CDATA[governance as a service]]></category>
		<category><![CDATA[governance registry]]></category>
		<category><![CDATA[remote registry]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=1065</guid>
		<description><![CDATA[WSO2 Governance as a Service is a hosted instance of WSO2 Governance Registry with multi-tenant support. WSO2 Governance as a Service provide you almost all the functionalities provided with the Governance Registry targeting the enterprise SOA governance, same time it provides all the advantages  inherent with the Software as a Service model. Here I&#8217;m talking [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://governance.cloud.wso2.com">WSO2 Governance as a Service</a> is a hosted instance of <a href="http://wso2.org/projects/governance-registry">WSO2 Governance Registry</a> with multi-tenant support. WSO2 Governance as a Service provide you almost all the functionalities provided with the Governance Registry targeting the enterprise SOA governance, same time it provides all the advantages  inherent with the Software as a Service model.</p>
<p>Here I&#8217;m talking about how to use a popular feature available in Governance Registry, inside WSO2 Governance as a Service. i.e. <a href="http://wso2.org/project/registry/3.0.2/docs/developer_guide/remote_registry_client.html">Remote Registry Client</a>. With Remote Registry Client, you can access the resources in registry programatically. It uses atom/pub protocol to communicate with the registry server.</p>
<p>Here is an example of using Remote Registry Client. I assumed I have an account with domain name &#8216;example.com&#8217; with a user name &#8216;example_user&#8217; (&#8216;example_password&#8217;). You have to change this to valid values before running this code, You can create an account in Governance as a Service freely for a limited use.</p>
<pre><span style="color: #a1a100;">import java.net.URL;</span>
<span style="color: #a1a100;">import org.wso2.carbon.registry.core.Registry;</span>
<span style="color: #a1a100;">import org.wso2.carbon.registry.core.Resource;</span>
<span style="color: #a1a100;">import org.wso2.carbon.registry.app.RemoteRegistry;</span>

<span style="color: #000000; font-weight: bold;">class</span> RegistryDemo <span style="color: #66cc66;">{</span>
    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #993333;">void</span> main<span style="color: #66cc66;">(</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a><span style="color: #66cc66;">[</span><span style="color: #66cc66;">]</span> args<span style="color: #66cc66;">)</span> <span style="color: #000000; font-weight: bold;">throws</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AException+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Exception</span></a> <span style="color: #66cc66;">{</span>

        <span style="color: #808080; font-style: italic;">// calls the registry with the authentication information</span>
        callRemoteRegistry<span style="color: #66cc66;">(</span><span style="color: #ff0000;">"http://governance.cloud.wso2.com/registry"</span>,
                   <span style="color: #ff0000;">"example_username@example.com"</span>, <span style="color: #ff0000;">"example_password"</span><span style="color: #66cc66;">)</span>;
    <span style="color: #66cc66;">}</span>

    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #993333;">void</span> callRemoteRegistry<span style="color: #66cc66;">(</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a> url, <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a> username,
                       <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a> password<span style="color: #66cc66;">)</span> <span style="color: #000000; font-weight: bold;">throws</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AException+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Exception</span></a> <span style="color: #66cc66;">{</span>

        <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ARegistry+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Registry</span></a> myRegistry = <span style="color: #000000; font-weight: bold;">new</span> RemoteRegistry<span style="color: #66cc66;">(</span><span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AURL+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">URL</span></a><span style="color: #66cc66;">(</span>url<span style="color: #66cc66;">)</span>, username, password<span style="color: #66cc66;">)</span>;
        <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">(</span>!myRegistry.<span style="color: #006600;">resourceExists</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">"/demoResource"</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

            Resource r = myRegistry.<span style="color: #006600;">newResource</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
            r.<span style="color: #006600;">setContent</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">"demo content"</span><span style="color: #66cc66;">)</span>;
            myRegistry.<span style="color: #006600;">put</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">"/demoResource"</span>, r<span style="color: #66cc66;">)</span>;
        <span style="color: #66cc66;">}</span>

        Resource r = myRegistry.<span style="color: #006600;">get</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">"/demoResource"</span><span style="color: #66cc66;">)</span>;
        <span style="color: #993333;">byte</span><span style="color: #66cc66;">[</span><span style="color: #66cc66;">]</span> contentBytes = <span style="color: #66cc66;">(</span><span style="color: #993333;">byte</span><span style="color: #66cc66;">[</span><span style="color: #66cc66;">]</span><span style="color: #66cc66;">)</span>r.<span style="color: #006600;">getContent</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
        <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a> content = <span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a><span style="color: #66cc66;">(</span>contentBytes<span style="color: #66cc66;">)</span>;
        <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ASystem+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">System</span></a>.<span style="color: #006600;">out</span>.<span style="color: #006600;">println</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">"Content: "</span> + content<span style="color: #66cc66;">)</span>;
    <span style="color: #66cc66;">}</span>
<span style="color: #66cc66;">}</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2010/01/11/access-wso2-governance-as-a-service-from-remote-registry/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Writing Business Rules in WSO2 Carbon Platform</title>
		<link>http://www.dimuthu.org/blog/2010/01/07/writing-business-rules-in-wso2-carbon-platform/</link>
		<comments>http://www.dimuthu.org/blog/2010/01/07/writing-business-rules-in-wso2-carbon-platform/#comments</comments>
		<pubDate>Thu, 07 Jan 2010 03:52:49 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[SOA]]></category>
		<category><![CDATA[Tutorial/Guide]]></category>
		<category><![CDATA[carbon]]></category>
		<category><![CDATA[wso2]]></category>
		<category><![CDATA[business rules]]></category>
		<category><![CDATA[esb]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=1055</guid>
		<description><![CDATA[If you want to write rules in a Java program you have lot of choices. You can use a third party library like Drools or use the JAVA built-in JSR-94 reference implementation. In WSO2 Carbon, there is a component that abstract the behaviour of different rule engine and give you a unified API. Currently it [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to write rules in a Java program you have lot of choices. You can use a <a href="http://java-source.net/open-source/rule-engines">third party library</a> like Drools or use the JAVA built-in JSR-94 reference implementation. In <a href="http://wso2.org">WSO2</a> Carbon, there is a component that abstract the behaviour of different rule engine and give you a unified API. Currently it has plugged into Drools and JAVA built-in JSR-94 implementation.</p>
<p>The rule component in WSO2 Carbon platform mainly used by <a href="http://wso2.org/projects/esb/java">WSO2 ESB</a> product to mediate messages according to the given business rules. But the component is written to facilitate any requirement of using business rules in WSO2 Carbon platform. I had such a requirement in past few days and manage to use the rule component easily with the help of the component author, indika@wso2.com. So I thought it is worth sharing my experience in here.</p>
<p>Here You will be preparing the following stuff.</p>
<p>1. Rule configuration -</p>
<p>We can use this to provide the information about the rule implementation we are going to use, the rules (You can write rules inline or provide a reference to an external file) and the input and output adapter information.</p>
<pre><span style="font-weight: bold; color: black;">&lt;configuration</span> <span style="color: #000066;">xmlns</span>=<span style="color: #ff0000;">"http://www.wso2.org/products/rule/drools"</span><span style="font-weight: bold; color: black;">&gt;</span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;executionSet</span> <span style="color: #000066;">uri</span>=<span style="color: #ff0000;">"simpleItemRuleXML"</span><span style="font-weight: bold; color: black;">&gt;</span></span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;source</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">"file:src/test/resources/rules/simple-rules.drl"</span><span style="font-weight: bold; color: black;">/&gt;</span></span>

<span style="color: #009900;"><span style="color: #808080; font-style: italic;">&lt;!-- &lt;source&gt;</span>
</span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;x<span style="font-weight: bold; color: black;">&gt;</span></span></span><span style="color: #339933;">&lt;![CDATA[</span>
<span style="color: #339933;"> rule InvokeABC</span>
<span style="color: #339933;"> // rules inbuilt to the rule conf</span>
<span style="color: #339933;"> end</span>

<span style="color: #339933;"> ]]&gt;</span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/x<span style="font-weight: bold; color: black;">&gt;</span></span></span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/source<span style="font-weight: bold; color: black;">&gt;</span></span></span> --&gt;
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;creation<span style="font-weight: bold; color: black;">&gt;</span></span></span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;property</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"source"</span> <span style="color: #000066;">value</span>=<span style="color: #ff0000;">"drl"</span><span style="font-weight: bold; color: black;">/&gt;</span></span>

<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/creation<span style="font-weight: bold; color: black;">&gt;</span></span></span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/executionSet<span style="font-weight: bold; color: black;">&gt;</span></span></span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;session</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"stateless"</span><span style="font-weight: bold; color: black;">/&gt;</span></span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;input</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"facts"</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"itemData"</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">"dataContext"</span><span style="font-weight: bold; color: black;">&gt;</span></span><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/input<span style="font-weight: bold; color: black;">&gt;</span></span></span>

<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;output</span> <span style="color: #000066;">name</span>=<span style="color: #ff0000;">"results"</span> <span style="color: #000066;">type</span>=<span style="color: #ff0000;">"itemData"</span> <span style="color: #000066;">key</span>=<span style="color: #ff0000;">"dataContext"</span><span style="font-weight: bold; color: black;">&gt;</span></span><span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/output<span style="font-weight: bold; color: black;">&gt;</span></span></span>
<span style="color: #009900;"><span style="font-weight: bold; color: black;">&lt;/configuration<span style="font-weight: bold; color: black;">&gt;</span></span></span>

<span style="color: #009900;"><span style="font-weight: bold; color: black;"><span style="font-weight: bold; color: black;">
</span></span></span></pre>
<p>2. The Rules  -</p>
<p>You can write rules inline in the above configuration or put it in a file and refer it from a key which can be refered from the ResourceHelper (described below).</p>
<pre><span style="color: #a1a100;">import java.util.Calendar;</span>

rule YearEndDiscount
when
$item : org.<span style="color: #006600;">test</span>.<span style="color: #006600;">pojo</span>.<span style="color: #006600;">SimpleItem</span><span style="color: #66cc66;">(</span>price &gt; <span style="color: #cc66cc;">100</span> <span style="color: #66cc66;">)</span>

then

<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ACalendar+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Calendar</span></a> calendar = <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ACalendar+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Calendar</span></a>.<span style="color: #006600;">getInstance</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">(</span>calendar.<span style="color: #006600;">get</span><span style="color: #66cc66;">(</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ACalendar+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Calendar</span></a>.<span style="color: #006600;">MONTH</span><span style="color: #66cc66;">)</span> == <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ACalendar+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Calendar</span></a>.<span style="color: #006600;">JANUARY</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

$item.<span style="color: #006600;">setPrice</span><span style="color: #66cc66;">(</span>$item.<span style="color: #006600;">getPrice</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span> * <span style="color: #cc66cc;">80</span>/<span style="color: #cc66cc;">100</span><span style="color: #66cc66;">)</span>;
<span style="color: #66cc66;">}</span>

end
</pre>
<p>3. Data Context -</p>
<p>The context object that can be used to feed and retrieve data from and to rule engine. Here is the data context for my application.</p>
<pre><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> SimpleDataContext <span style="color: #66cc66;">{</span>

    <span style="color: #000000; font-weight: bold;">public</span> List&lt;NameValuePair&gt; getInput<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

        <span style="color: #808080; font-style: italic;">// in reality the data will be retrieve from a database or some datasource </span>
        List&lt;NameValuePair&gt; itemPairList = <span style="color: #000000; font-weight: bold;">new</span> ArrayList&lt;NameValuePair&gt;<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
        SimpleItem item1 = <span style="color: #000000; font-weight: bold;">new</span> SimpleItem<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
        item1.<span style="color: #006600;">setName</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">"item1"</span><span style="color: #66cc66;">)</span>;
        item1.<span style="color: #006600;">setPrice</span><span style="color: #66cc66;">(</span><span style="color: #cc66cc;">50</span><span style="color: #66cc66;">)</span>;
        itemPairList.<span style="color: #006600;">add</span><span style="color: #66cc66;">(</span><span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ANameValuePair+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">NameValuePair</span></a><span style="color: #66cc66;">(</span>item1.<span style="color: #006600;">getName</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>, item1<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span>;

        SimpleItem item2 = <span style="color: #000000; font-weight: bold;">new</span> SimpleItem<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
        item2.<span style="color: #006600;">setName</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">"item2"</span><span style="color: #66cc66;">)</span>;
        item2.<span style="color: #006600;">setPrice</span><span style="color: #66cc66;">(</span><span style="color: #cc66cc;">120</span><span style="color: #66cc66;">)</span>;
        itemPairList.<span style="color: #006600;">add</span><span style="color: #66cc66;">(</span><span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ANameValuePair+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">NameValuePair</span></a><span style="color: #66cc66;">(</span>item2.<span style="color: #006600;">getName</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>, item2<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span>;

        SimpleItem item3 = <span style="color: #000000; font-weight: bold;">new</span> SimpleItem<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
        item3.<span style="color: #006600;">setName</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">"item3"</span><span style="color: #66cc66;">)</span>;
        item3.<span style="color: #006600;">setPrice</span><span style="color: #66cc66;">(</span><span style="color: #cc66cc;">130</span><span style="color: #66cc66;">)</span>;
        itemPairList.<span style="color: #006600;">add</span><span style="color: #66cc66;">(</span><span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ANameValuePair+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">NameValuePair</span></a><span style="color: #66cc66;">(</span>item3.<span style="color: #006600;">getName</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>, item3<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span>;

        <span style="color: #000000; font-weight: bold;">return</span> itemPairList;
    <span style="color: #66cc66;">}</span>

    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">void</span> setResult<span style="color: #66cc66;">(</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AObject+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Object</span></a> result<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

        <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">(</span>!<span style="color: #66cc66;">(</span>result <span style="color: #000000; font-weight: bold;">instanceof</span> SimpleItem<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
            <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ASystem+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">System</span></a>.<span style="color: #006600;">out</span>.<span style="color: #006600;">println</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">"it is not a SimpleItem"</span><span style="color: #66cc66;">)</span>;
        <span style="color: #66cc66;">}</span>

        SimpleItem item = <span style="color: #66cc66;">(</span>SimpleItem<span style="color: #66cc66;">)</span>result;
        <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ASystem+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">System</span></a>.<span style="color: #006600;">out</span>.<span style="color: #006600;">println</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">"Item: "</span> + item.<span style="color: #006600;">getName</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span> + <span style="color: #ff0000;">", Price: "</span> + item.<span style="color: #006600;">getPrice</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span>;
    <span style="color: #66cc66;">}</span>

<span style="color: #66cc66;">}</span>
</pre>
<p>And the Item I&#8217;m going to manipulate using rule is a simple bean like this,</p>
<pre><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> SimpleItem <span style="color: #66cc66;">{</span>
    <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a> name;
    <span style="color: #993333;">int</span> price;
    <span style="color: #000000; font-weight: bold;">public</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a> getName<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

        <span style="color: #000000; font-weight: bold;">return</span> name;
    <span style="color: #66cc66;">}</span>

    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">void</span> setName<span style="color: #66cc66;">(</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a> name<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

        <span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006600;">name</span> = name;
    <span style="color: #66cc66;">}</span>

    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">int</span> getPrice<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

        <span style="color: #000000; font-weight: bold;">return</span> price;
    <span style="color: #66cc66;">}</span>

    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">void</span> setPrice<span style="color: #66cc66;">(</span><span style="color: #993333;">int</span> price<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

        <span style="color: #000000; font-weight: bold;">this</span>.<span style="color: #006600;">price</span> = price;
    <span style="color: #66cc66;">}</span>
<span style="color: #66cc66;">}</span>
</pre>
<p>4. Data Adapter</p>
<p>You have to adapt the input and output with the rule engine. Mostly here you only have to wrap the data context. The advantage of having the data adapter is, a data adapter always associated with a input/output type. So in the rule configuration I can provide the type for the input and output. If you see my rule configuration above, you see the input/output type is marked as &#8220;ItemData&#8221;.  Here is my custom data adapter that is associated with the &#8220;itemData&#8221; type.</p>
<pre><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> SimpleDataAdapter <span style="color: #000000; font-weight: bold;">implements</span>
        ResourceAdapter, InputAdaptable, OutputAdaptable <span style="color: #66cc66;">{</span>

    <span style="color: #808080; font-style: italic;">// the type associated with the adapter</span>
    <span style="color: #000000; font-weight: bold;">private</span> <span style="color: #000000; font-weight: bold;">final</span> <span style="color: #000000; font-weight: bold;">static</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a> TYPE = <span style="color: #ff0000;">"itemData"</span>;
    <span style="color: #000000; font-weight: bold;">public</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a> getType<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

        <span style="color: #000000; font-weight: bold;">return</span> TYPE;
    <span style="color: #66cc66;">}</span>

    <span style="color: #000000; font-weight: bold;">public</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AObject+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Object</span></a> adaptInput<span style="color: #66cc66;">(</span>ResourceDescription resourceDescription, <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AObject+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Object</span></a> tobeadapted<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

        <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">(</span>!<span style="color: #66cc66;">(</span>tobeadapted <span style="color: #000000; font-weight: bold;">instanceof</span> SimpleDataContext<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
            <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">null</span>;
        <span style="color: #66cc66;">}</span>

        SimpleDataContext dataContext = <span style="color: #66cc66;">(</span>SimpleDataContext<span style="color: #66cc66;">)</span>tobeadapted;
        <span style="color: #000000; font-weight: bold;">return</span> dataContext.<span style="color: #006600;">getInput</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
    <span style="color: #66cc66;">}</span>

    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">boolean</span> adaptOutput<span style="color: #66cc66;">(</span>ResourceDescription description,
                               <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AObject+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Object</span></a> value,
                               <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AObject+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Object</span></a> context,
                               ResourceHelper resourceHelper<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

        <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">(</span>!<span style="color: #66cc66;">(</span>context <span style="color: #000000; font-weight: bold;">instanceof</span> SimpleDataContext<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
            <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">false</span>;
        <span style="color: #66cc66;">}</span>

        <span style="color: #66cc66;">(</span><span style="color: #66cc66;">(</span>SimpleDataContext<span style="color: #66cc66;">)</span>context<span style="color: #66cc66;">)</span>.<span style="color: #006600;">setResult</span><span style="color: #66cc66;">(</span>value<span style="color: #66cc66;">)</span>;
        <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">true</span>;
    <span style="color: #66cc66;">}</span>

    <span style="color: #000000; font-weight: bold;">public</span> <span style="color: #993333;">boolean</span> canAdapt<span style="color: #66cc66;">(</span>ResourceDescription description, <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AObject+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Object</span></a> ouptput<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
        <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a> key = description.<span style="color: #006600;">getKey</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
        <span style="color: #000000; font-weight: bold;">return</span> key != <span style="color: #000000; font-weight: bold;">null</span> &amp;&amp; !<span style="color: #ff0000;">""</span>.<span style="color: #006600;">equals</span><span style="color: #66cc66;">(</span>key<span style="color: #66cc66;">)</span>;
    <span style="color: #66cc66;">}</span>

<span style="color: #66cc66;">}</span>
</pre>
<p>5. Resource Helper</p>
<p>Resource Helper will map the keys refered from the configuration to JAVA objects. This is mostly used in mediation rule configurations which can extract the message data using a key or an xpath. In this example, we don&#8217;t have much keys refering from the configuration only the rule file and the data context.</p>
<pre><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">class</span> SimpleResourceHelper <span style="color: #000000; font-weight: bold;">extends</span> ResourceHelper <span style="color: #66cc66;">{</span>

    <span style="color: #000000; font-weight: bold;">public</span> ReturnValue findByKey<span style="color: #66cc66;">(</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a> key, <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AObject+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Object</span></a> source, <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AObject+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Object</span></a> defaultValue<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

        <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">(</span>!<span style="color: #66cc66;">(</span>source <span style="color: #000000; font-weight: bold;">instanceof</span> SimpleDataContext<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
            <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">new</span> ReturnValue<span style="color: #66cc66;">(</span>defaultValue<span style="color: #66cc66;">)</span>;
        <span style="color: #66cc66;">}</span>

        SimpleDataContext dataContext = <span style="color: #66cc66;">(</span>SimpleDataContext<span style="color: #66cc66;">)</span>source;
        <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">(</span>key.<span style="color: #006600;">startsWith</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">"file:"</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

            <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a> filename = key.<span style="color: #006600;">substring</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">"file:"</span>.<span style="color: #006600;">length</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span>;
            <span style="color: #000000; font-weight: bold;">try</span> <span style="color: #66cc66;">{</span>

                <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ABufferedInputStream+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">BufferedInputStream</span></a> in = <span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3ABufferedInputStream+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">BufferedInputStream</span></a><span style="color: #66cc66;">(</span><span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AFileInputStream+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">FileInputStream</span></a><span style="color: #66cc66;">(</span>filename<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span>;
                <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">new</span> ReturnValue<span style="color: #66cc66;">(</span>in<span style="color: #66cc66;">)</span>;
            <span style="color: #66cc66;">}</span> <span style="color: #000000; font-weight: bold;">catch</span> <span style="color: #66cc66;">(</span><a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AException+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">Exception</span></a> e<span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

                <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">new</span> ReturnValue<span style="color: #66cc66;">(</span>defaultValue<span style="color: #66cc66;">)</span>;
            <span style="color: #66cc66;">}</span>
        <span style="color: #66cc66;">}</span>
        <span style="color: #b1b100;">if</span> <span style="color: #66cc66;">(</span>key.<span style="color: #006600;">startsWith</span><span style="color: #66cc66;">(</span><span style="color: #ff0000;">"dataContext"</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

            <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">new</span> ReturnValue<span style="color: #66cc66;">(</span>dataContext<span style="color: #66cc66;">)</span>;
        <span style="color: #66cc66;">}</span>
        <span style="color: #000000; font-weight: bold;">return</span> <span style="color: #000000; font-weight: bold;">new</span> ReturnValue<span style="color: #66cc66;">(</span>defaultValue<span style="color: #66cc66;">)</span>;
    <span style="color: #66cc66;">}</span>

    <span style="color: #808080; font-style: italic;">// there are few more methods to be implemented, which can just leave not implemented for this example</span>
    <span style="color: #66cc66;">}</span>
<span style="color: #66cc66;">}</span>
</pre>
<p>That is all the accessories. Now you will be able to write the rule engine execution code.</p>
<pre><span style="color: #aaaadd; font-weight: bold;">File</span> ruleConfigFile = <span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AFile+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">File</span></a><span style="color: #66cc66;">(</span>ruleConfigFilename<span style="color: #66cc66;">)</span>;
XMLStreamReader parser = XMLInputFactory.<span style="color: #006600;">newInstance</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>.<span style="color: #006600;">createXMLStreamReader</span><span style="color: #66cc66;">(</span><span style="color: #000000; font-weight: bold;">new</span> <a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AFileInputStream+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">FileInputStream</span></a><span style="color: #66cc66;">(</span>ruleConfigFile<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span>;

<span style="color: #808080; font-style: italic;">//create the builder</span>
StAXOMBuilder builder = <span style="color: #000000; font-weight: bold;">new</span> StAXOMBuilder<span style="color: #66cc66;">(</span>parser<span style="color: #66cc66;">)</span>;
<span style="color: #808080; font-style: italic;">//get the root element (in this case the envelope)</span>

OMElement ruleConfig =  builder.<span style="color: #006600;">getDocumentElement</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
EngineConfiguration configuration =
        <span style="color: #000000; font-weight: bold;">new</span> EngineConfigurationFactory<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>.<span style="color: #006600;">create</span><span style="color: #66cc66;">(</span>ruleConfig, <span style="color: #000000; font-weight: bold;">new</span> AXIOMXPathFactory<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span>;

EngineController
        engineController = <span style="color: #000000; font-weight: bold;">new</span> EngineController<span style="color: #66cc66;">(</span>configuration, <span style="color: #000000; font-weight: bold;">new</span> SimpleResourceHelper<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span>;
        <span style="color: #000000; font-weight: bold;">final</span> ResourceAdapterFactory factory = ResourceAdapterFactory.<span style="color: #006600;">getInstance</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;

ResourceAdapter adapter = <span style="color: #000000; font-weight: bold;">new</span> SimpleDataAdapter<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
<a href="http://www.google.com/search?hl=en&amp;q=allinurl%3AString+java.sun.com&amp;btnI=I%27m%20Feeling%20Lucky"><span style="color: #aaaadd; font-weight: bold;">String</span></a> adapterType = adapter.<span style="color: #006600;">getType</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;
<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">(</span>!factory.<span style="color: #006600;">containsResourceAdapter</span><span style="color: #66cc66;">(</span>adapterType<span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>

    factory.<span style="color: #006600;">addResourceAdapter</span><span style="color: #66cc66;">(</span>adapter<span style="color: #66cc66;">)</span>;
<span style="color: #66cc66;">}</span>

SimpleDataContext simpleContext = <span style="color: #000000; font-weight: bold;">new</span> SimpleDataContext<span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span>;

<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">(</span>!engineController.<span style="color: #006600;">isInitialized</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
    engineController.<span style="color: #006600;">init</span><span style="color: #66cc66;">(</span>simpleContext<span style="color: #66cc66;">)</span>;

<span style="color: #66cc66;">}</span>

<span style="color: #b1b100;">if</span> <span style="color: #66cc66;">(</span>engineController.<span style="color: #006600;">isInitialized</span><span style="color: #66cc66;">(</span><span style="color: #66cc66;">)</span><span style="color: #66cc66;">)</span> <span style="color: #66cc66;">{</span>
    engineController.<span style="color: #006600;">execute</span><span style="color: #66cc66;">(</span>simpleContext, simpleContext<span style="color: #66cc66;">)</span>;

<span style="color: #66cc66;">}</span>
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2010/01/07/writing-business-rules-in-wso2-carbon-platform/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Register Today for WSO2 Governance as a Service</title>
		<link>http://www.dimuthu.org/blog/2010/01/05/register-today-for-wso2-governance-as-a-service/</link>
		<comments>http://www.dimuthu.org/blog/2010/01/05/register-today-for-wso2-governance-as-a-service/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 12:32:38 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[GaaS]]></category>
		<category><![CDATA[Governance]]></category>
		<category><![CDATA[Governance Registry]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[Tutorial/Guide]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[gaas]]></category>
		<category><![CDATA[SaaS]]></category>
		<category><![CDATA[services]]></category>
		<category><![CDATA[wso2]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=1035</guid>
		<description><![CDATA[WSO2 Governance as a Service is an online multi-tenant supported instance of WSO2 Governance Registry which is the solution for SOA Governance from the WSO2 SOA stack. You can start trying out WSO2 Governance as a Service by accessing the http://governance.cloud.wso2.com and creating an account for your organization (free for limited use). In order to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://governance.cloud.wso2.com/">WSO2 Governance as a Service</a> is an online multi-tenant supported instance of WSO2 Governance Registry which is the solution for SOA Governance from the WSO2 SOA stack. You can start trying out WSO2 Governance as a Service by accessing the <a href="http://governance.cloud.wso2.com">http://governance.cloud.wso2.com</a> and creating an account for your organization (free for limited use).</p>
<p>In order to identify your account, you have to provide the domain name of your organization. I will demonstrate how to create an account using the &#8220;ws.dimuthu.org&#8221; as my domain name.</p>
<p>1. First go to http://governance.cloud.wso2.com from a web browser and click the &#8216;Register&#8217; button. You will be asked to enter the domain name as the first step.</p>
<div id="attachment_1036" class="wp-caption aligncenter" style="width: 783px"><a href="http://www.dimuthu.org/wp-content/uploads/2010/01/enter-domain.png"><img class="size-full wp-image-1036" title="Enter the domain" src="http://www.dimuthu.org/wp-content/uploads/2010/01/enter-domain.png" alt="Enter the domain" width="773" height="303" /></a><p class="wp-caption-text">Enter the domain</p></div>
<p>After that, you have the option of validating the ownership of the domain right at the registration process, or you can skip the validation and continue to the next step in which case your domain will be appended &#8216;-trial&#8217; suffix. You can validate the ownership of the domain later at any stage.</p>
<p>Here I want to validate the domain right now, so I click &#8216;Take me to the domain ownership confirmation page straight-away&#8217; and click the &#8216;Submit&#8217; button.</p>
<p>2. This will redirect you to the domain ownership validation page. You can validate the ownership of your domain in one of two ways.</p>
<p>Method i). Just create a text file named &#8216;wso2gaas.txt&#8217; in the web root of your domain and enter the given text. This is the most simplest method of two.</p>
<div id="attachment_1039" class="wp-caption aligncenter" style="width: 732px"><a href="http://www.dimuthu.org/wp-content/uploads/2010/01/validate-domain-by-testfile.png"><img class="size-full wp-image-1039" title="validate-domain-by-textfile" src="http://www.dimuthu.org/wp-content/uploads/2010/01/validate-domain-by-testfile.png" alt="Validate domain name using Textfile" width="722" height="256" /></a><p class="wp-caption-text">Validate domain name using Textfile</p></div>
<p>Method ii). You can put a DNS entry according to the given instructions. This is a little tedious approch to validate the domain. In fact it may take a while to propagate the new DNS information, so you may have to wait hours without refreshing the page until you finally validate the domain ownership.</p>
<p><a href="http://www.dimuthu.org/wp-content/uploads/2010/01/validate-domain-by-dns-entry.png"><img class="aligncenter size-full wp-image-1040" title="validate-domain-by-dns-entry" src="http://www.dimuthu.org/wp-content/uploads/2010/01/validate-domain-by-dns-entry.png" alt="" width="723" height="294" /></a></p>
<p>Click the continue button after the domain validation done. Then you will be redirected to a page requesting more information.</p>
<p>3. Tenant Registration Page</p>
<div id="attachment_1041" class="wp-caption aligncenter" style="width: 797px"><a href="http://www.dimuthu.org/wp-content/uploads/2010/01/registration-page.png"><img class="size-full wp-image-1041" title="registration-page" src="http://www.dimuthu.org/wp-content/uploads/2010/01/registration-page.png" alt="Tenant Registration" width="787" height="478" /></a><p class="wp-caption-text">Tenant Registration</p></div>
<p>4) After this step, you will be notified to check for your email which will contain a mail with a link to proceed with the registration. There you will be able to select a theme for your organization and finalize creating your account. Login to the admin account for your tenant with the credential you provided a the time of the registration.</p>
<p>The domain ownership validation was introduced to WSO2 Governance as a Service account registration only now. So for organizations who have already have account will have a message similar to this when they are trying to login to their account.</p>
<div id="attachment_1046" class="wp-caption aligncenter" style="width: 470px"><a href="http://www.dimuthu.org/wp-content/uploads/2010/01/login-warning-message.png"><img class="size-full wp-image-1046" title="login-warning-message" src="http://www.dimuthu.org/wp-content/uploads/2010/01/login-warning-message.png" alt="Info box at login" width="460" height="169" /></a><p class="wp-caption-text">Info box at login</p></div>
<p>So the account I have registered using the domain name &#8216;example.com&#8217; has been renamed to &#8216;example.com-trial&#8217;. As the instruction of the message says you can go to the account management page after the login and validate the domain ownership.</p>
<div id="attachment_1043" class="wp-caption aligncenter" style="width: 818px"><a href="http://www.dimuthu.org/wp-content/uploads/2010/01/account-mgt.png"><img class="size-full wp-image-1043" title="account-mgt" src="http://www.dimuthu.org/wp-content/uploads/2010/01/account-mgt.png" alt="Account Management Page" width="808" height="536" /></a><p class="wp-caption-text">Account Management Page</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2010/01/05/register-today-for-wso2-governance-as-a-service/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>WSO2 Bringing Cloud Computing and SOA Together</title>
		<link>http://www.dimuthu.org/blog/2009/12/02/wso2-bringing-cloud-computing-and-soa-together/</link>
		<comments>http://www.dimuthu.org/blog/2009/12/02/wso2-bringing-cloud-computing-and-soa-together/#comments</comments>
		<pubDate>Wed, 02 Dec 2009 02:06:45 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[Cloud]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[carbon]]></category>
		<category><![CDATA[web services]]></category>
		<category><![CDATA[wso2]]></category>
		<category><![CDATA[ec2]]></category>
		<category><![CDATA[gaas]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=1032</guid>
		<description><![CDATA[Wso2 Cloud Public 2009 11 16]]></description>
			<content:encoded><![CDATA[<div id="__ss_2511160" style="width: 425px; text-align: left;"><a style="font:14px Helvetica,Arial,Sans-serif;display:block;margin:12px 0 3px 0;text-decoration:underline;" title="Wso2 Cloud Public 2009 11 16" href="http://www.slideshare.net/sanjiva/wso2-cloud-public-2009-11-16">Wso2 Cloud Public 2009 11 16</a><object style="margin:0px" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowScriptAccess" value="always" /><param name="src" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=wso2-cloud-public-2009-11-16-091116095441-phpapp02&amp;rel=0&amp;stripped_title=wso2-cloud-public-2009-11-16" /><param name="allowfullscreen" value="true" /><embed style="margin:0px" type="application/x-shockwave-flash" width="425" height="355" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=wso2-cloud-public-2009-11-16-091116095441-phpapp02&amp;rel=0&amp;stripped_title=wso2-cloud-public-2009-11-16" allowscriptaccess="always" allowfullscreen="true"></embed></object></div>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2009/12/02/wso2-bringing-cloud-computing-and-soa-together/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WSO2 SOA Workshop 2009, Santa Clara, CA</title>
		<link>http://www.dimuthu.org/blog/2009/10/13/wso2-soa-workshop-2009-santa-clara-ca/</link>
		<comments>http://www.dimuthu.org/blog/2009/10/13/wso2-soa-workshop-2009-santa-clara-ca/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 13:17:11 +0000</pubDate>
		<dc:creator>dimuthu</dc:creator>
				<category><![CDATA[Governance]]></category>
		<category><![CDATA[Governance Registry]]></category>
		<category><![CDATA[SOA]]></category>
		<category><![CDATA[bps]]></category>
		<category><![CDATA[carbon]]></category>
		<category><![CDATA[esb]]></category>
		<category><![CDATA[mashup server]]></category>
		<category><![CDATA[wso2]]></category>
		<category><![CDATA[SOA Governance]]></category>
		<category><![CDATA[Workshop]]></category>

		<guid isPermaLink="false">http://www.dimuthu.org/?p=1025</guid>
		<description><![CDATA[WSO2 is hosting a SOA Workshop in Santa Clara, California in November 3rd 2009. You will be able to attend to the following sessions covered by the industry leading experts in SOA. ESBS and SOA SOA Security Mashups and Business Process Management for SOA SOA Governance SOA with C, C++, PHP SOA Architecture Pattern Visit [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://wso2.com">WSO2</a> is hosting a SOA Workshop in Santa Clara, California in November 3rd 2009. You will be able to attend to the following sessions covered by the industry leading experts in SOA.</p>
<ul>
<li>ESBS and SOA</li>
<li>SOA Security</li>
<li>Mashups and Business Process Management for SOA</li>
<li>SOA Governance</li>
<li>SOA with C, C++, PHP</li>
<li>SOA Architecture Pattern</li>
</ul>
<p>Visit here to find more details about the event, <a href="http://wso2.com/events/2009-us-soa-workshop/?soaotad=10072009">http://wso2.com/events/2009-us-soa-workshop/?soaotad=10072009</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.dimuthu.org/blog/2009/10/13/wso2-soa-workshop-2009-santa-clara-ca/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
