<?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>Christophe Hamerling [Archive] &#187; soa</title>
	<atom:link href="http://planet.petalslink.com/home/chamerling/tag/soa/feed/" rel="self" type="application/rss+xml" />
	<link>http://planet.petalslink.com/home/chamerling</link>
	<description>Things around SOA, Web Services, Open Source and more...</description>
	<lastBuildDate>Wed, 07 Oct 2009 13:16:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>EasyWSDL 1.2 is out</title>
		<link>http://planet.petalslink.com/home/chamerling/2009/07/09/easywsdl-12-is-out/</link>
		<comments>http://planet.petalslink.com/home/chamerling/2009/07/09/easywsdl-12-is-out/#comments</comments>
		<pubDate>Thu, 09 Jul 2009 07:26:20 +0000</pubDate>
		<dc:creator>Christophe Hamerling</dc:creator>
				<category><![CDATA[soa]]></category>
		<category><![CDATA[WebService]]></category>
		<category><![CDATA[easywsdl]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[wsdl]]></category>

		<guid isPermaLink="false">http://blog.ebmwebsourcing.com/home/chamerling/?p=138</guid>
		<description><![CDATA[OW2 EasyWSDL WSDL manipulation library has just been released. This release fix many bugs and introduces some new tooling such as java2wsdl (create WSDL from Java interfaces) and xsd2xml (create XML from XSD definition). EasyWSDL is easy since you can manipulate both WSDL 1.1 and WSDL 2.0 with the same object model. // Read a [...]]]></description>
			<content:encoded><![CDATA[<p>OW2 EasyWSDL WSDL manipulation library has just been released. This release fix many bugs and introduces some new tooling such as java2wsdl (create WSDL from Java interfaces) and xsd2xml (create XML from XSD definition).</p>
<p>EasyWSDL is easy since you can manipulate both WSDL 1.1 and WSDL 2.0 with the same object model.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Read a WSDL 1.1 or 2.0</span>
WSDLReader reader <span style="color: #339933;">=</span> WSDLFactory.<span style="color: #006633;">newInstance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">newWSDLReader</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
Description desc <span style="color: #339933;">=</span> reader.<span style="color: #006633;">readWSDL</span><span style="color: #009900;">&#40;</span><span style="color: #000000; font-weight: bold;">new</span> URI<span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;http://file/path/document.wsdl&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Write a WSDL 1.1 or 2.0 (depend of desc version)</span>
<span style="color: #003399;">Document</span> doc <span style="color: #339933;">=</span> WSDLFactory.<span style="color: #006633;">newInstance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">newWSDLWriter</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">getDocument</span><span style="color: #009900;">&#40;</span>desc<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Create a WSDL 1.1 or 2.0</span>
Description desc11 <span style="color: #339933;">=</span> WSDLFactory.<span style="color: #006633;">newInstance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">newDescription</span><span style="color: #009900;">&#40;</span>WSDLVersionConstants.<span style="color: #006633;">WSDL11</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
Description desc20 <span style="color: #339933;">=</span> WSDLFactory.<span style="color: #006633;">newInstance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">newDescription</span><span style="color: #009900;">&#40;</span>WSDLVersionConstants.<span style="color: #006633;">WSDL20</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Once the Description object is loaded from the WSDL document, you can maniulate all parts of the service description. Let&#8217;s look at endpoints :</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">// Endpoints take place in services.</span>
<span style="color: #666666; font-style: italic;">// Select a service</span>
Service service <span style="color: #339933;">=</span> desc.<span style="color: #006633;">getServices</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>.<span style="color: #006633;">get</span><span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// List endpoints</span>
<span style="color: #003399;">List</span> endpoints <span style="color: #339933;">=</span> service.<span style="color: #006633;">getEndpoints</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
<span style="color: #666666; font-style: italic;">// Read specific endpoint</span>
Endpoint specificEndpoint <span style="color: #339933;">=</span> service.<span style="color: #006633;">getEndpoint</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;endpointName&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Add endpoint to service</span>
service.<span style="color: #006633;">addEndpoint</span><span style="color: #009900;">&#40;</span>specificEndpoint<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Remove a specific enpoint</span>
service.<span style="color: #006633;">removeEndpoint</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;endpointName&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Create endpoint</span>
Endpoint createdEndpoint <span style="color: #339933;">=</span> service.<span style="color: #006633;">createEndpoint</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
service.<span style="color: #006633;">addEndpoint</span><span style="color: #009900;">&#40;</span>createdEndpoint<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Easy!</p>
]]></content:encoded>
			<wfw:commentRss>http://planet.petalslink.com/home/chamerling/2009/07/09/easywsdl-12-is-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PEtALS Architecture document published</title>
		<link>http://planet.petalslink.com/home/chamerling/2009/07/07/petals-architecture-document-published/</link>
		<comments>http://planet.petalslink.com/home/chamerling/2009/07/07/petals-architecture-document-published/#comments</comments>
		<pubDate>Tue, 07 Jul 2009 08:40:13 +0000</pubDate>
		<dc:creator>Christophe Hamerling</dc:creator>
				<category><![CDATA[PEtALS]]></category>
		<category><![CDATA[documentation]]></category>
		<category><![CDATA[soa]]></category>

		<guid isPermaLink="false">http://blog.ebmwebsourcing.com/home/chamerling/?p=127</guid>
		<description><![CDATA[The PEtALS Architecture document I wrote last winter has just been published. You can get it from the OW2 PEtALS web site or read from my slideshare account.]]></description>
			<content:encoded><![CDATA[<p>The PEtALS Architecture  document I wrote last winter has just been published. You can get it from the <a href="http://petals.ow2.org/documentation.html" target="_blank">OW2 PEtALS web site</a> or read from my <a href="http://www.slideshare.net/chamerling/petals-esb-architecture" target="_blank">slideshare account</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://planet.petalslink.com/home/chamerling/2009/07/07/petals-architecture-document-published/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SCA and PEtALS ESB, Yes We Can!</title>
		<link>http://planet.petalslink.com/home/chamerling/2009/05/07/sca-and-petals-esb-yes-we-can/</link>
		<comments>http://planet.petalslink.com/home/chamerling/2009/05/07/sca-and-petals-esb-yes-we-can/#comments</comments>
		<pubDate>Thu, 07 May 2009 14:26:20 +0000</pubDate>
		<dc:creator>Christophe Hamerling</dc:creator>
				<category><![CDATA[PEtALS]]></category>
		<category><![CDATA[SCA]]></category>
		<category><![CDATA[soa]]></category>

		<guid isPermaLink="false">http://blog.ebmwebsourcing.com/home/chamerling/?p=103</guid>
		<description><![CDATA[This news has not been published on the PEtALS Web Site (why?) but yes we now have some SCA (Service Component Architecture) tools available with PEtALS ESB! This work is a result of the ScorWare project in which eBM WebSourcing was involved in. The SCA feature is provided in PEtALS by the SCA JBI Service [...]]]></description>
			<content:encoded><![CDATA[<p>This news has not been published on the <a href="http://petals.ow2.org">PEtALS Web Site</a> (why?) but yes we now have some SCA (Service Component Architecture) tools available with PEtALS ESB!</p>
<p>This work is a result of the <a href="http://www.scorware.org/" target="_blank">ScorWare</a> project in which eBM WebSourcing was involved in.</p>
<p>The SCA feature is provided in PEtALS by the SCA JBI Service Engine (<a href="http://forge.ow2.org/project/download.php?group_id=213&amp;file_id=12644">link to the component</a> and <a href="http://forge.ow2.org/project/download.php?group_id=213&amp;file_id=12645">link to the documentation</a>)</p>
<blockquote><p>The main advantage of SCA over other approaches, like BPEL or EIP, is that you can define the composition with Java instead of XML. The SCA composite defines services, which are exposed in the bus. It also defines references, which point to services that might be called or used by the composite at runtime. These references define possible dependencies. And eventually, your composite embeds a Java implementation which allows you to manipulate the references as simple Java objects. This makes the user job easier, in particular to call a service operation or test conditions on a service call result.</p></blockquote>
<p>For more details on SCA, on tools and more, take a look at the links below :</p>
<ul>
<li> <a href="http://www.osoa.org/display/Main/Service+Component+Architecture+Specifications">SCA</a> is a specification defined by the Open SOA consortium.</li>
<li><a href="http://www.oasis-opencsa.org/committees">SCA</a> is in standardization process by the OASIS Consortium.</li>
<li><a href="https://wiki.objectweb.org/frascati/Wiki.jsp?page=FraSCAti">OW2 FraSCAti</a> is the SCA platform the SCA service engine is based on.</li>
<li><a href="http://wiki.eclipse.org/STP/SCA_Component">Eclipse SCA Tools</a> exist and are hosted by the SOA Tools Platform project. They can be used with the SCA service engine.</li>
<li><a href="http://www.ebmwebsourcing.com/forum/topic30.html">PEtALS Eclipse tools</a> complete the STP SCA tools for PEtALS specifics (PEtALS Maven plug-in support, packaging for PEtALS&#8230;).</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://planet.petalslink.com/home/chamerling/2009/05/07/sca-and-petals-esb-yes-we-can/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New SOA Governance Solution : OW2-Dragon</title>
		<link>http://planet.petalslink.com/home/chamerling/2009/01/14/new-soa-governance-solution-ow2-dragon/</link>
		<comments>http://planet.petalslink.com/home/chamerling/2009/01/14/new-soa-governance-solution-ow2-dragon/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 11:04:07 +0000</pubDate>
		<dc:creator>Christophe Hamerling</dc:creator>
				<category><![CDATA[dragon]]></category>
		<category><![CDATA[Governance]]></category>
		<category><![CDATA[ow2]]></category>
		<category><![CDATA[PEtALS]]></category>
		<category><![CDATA[soa]]></category>

		<guid isPermaLink="false">http://blog.ebmwebsourcing.com/home/chamerling/?p=43</guid>
		<description><![CDATA[The Dragon SOA Governance solution (http://dragon.ow2.org) has just been released. Dragon is a high performance SOA Governance solution. It allows you organize, enforce and reconfigure your Service Oriented infrastructure. There are a lot of cool features and as you can see in the following figure and one of the main goals is to connect Dragon [...]]]></description>
			<content:encoded><![CDATA[<p>The Dragon SOA Governance solution (<a href="http://dragon.ow2.org" target="_blank">http://dragon.ow2.org</a>) has just been released. Dragon is a high performance SOA Governance solution. It allows you organize, enforce and reconfigure your Service Oriented infrastructure.</p>
<p>There are a lot of cool features and as you can see in the following figure and one of the main goals is to connect Dragon to existing SOA platforms such as PEtALS ESB (<a href="http://petals.ow2.org" target="_blank">http://petals.ow2.org</a>).</p>
<p style="text-align: center"><a href="http://blog.ebmwebsourcing.com/home/chamerling/files/2009/01/dragon-archi.png"><img class="alignnone size-full wp-image-44" src="http://blog.ebmwebsourcing.com/home/chamerling/files/2009/01/dragon-archi.png" alt="" width="500" height="308" /></a></p>
<p style="text-align: left">I have worked with the Olivier (the Dragon product leader) to define the connector API and I have implemented it on the PEtALS side.</p>
<p style="text-align: left">I hope publish a PEtALS snapshot this month wich will be connected to Dragon&#8230; Stay  tuned !</p>
]]></content:encoded>
			<wfw:commentRss>http://planet.petalslink.com/home/chamerling/2009/01/14/new-soa-governance-solution-ow2-dragon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a JBI Component with PEtALS CDK (Part 1)</title>
		<link>http://planet.petalslink.com/home/chamerling/2008/10/24/20/</link>
		<comments>http://planet.petalslink.com/home/chamerling/2008/10/24/20/#comments</comments>
		<pubDate>Fri, 24 Oct 2008 12:05:09 +0000</pubDate>
		<dc:creator>Christophe Hamerling</dc:creator>
				<category><![CDATA[PEtALS]]></category>
		<category><![CDATA[jbi]]></category>
		<category><![CDATA[soa]]></category>

		<guid isPermaLink="false">http://blog.ebmwebsourcing.com/home/chamerling/2008/10/24/20/</guid>
		<description><![CDATA[Here is a series of articles about how to create a JBI Component with the PEtALS Component Development Kit (CDK). The current one describes how to create the project structure with the PEtALS Maven archetypes, how to use it in Eclipse and how to package it as a JBI component. Create the project structure (I [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a series of articles about how to create a JBI Component with the PEtALS Component Development Kit (CDK).<br />
The current one describes how to create the project structure with the PEtALS Maven archetypes, how to use it in Eclipse and how to package it as a JBI component.</p>
<h2>Create the project structure</h2>
<p>(I assume that Maven is installed and is in the path, if not please refer to the Apache Maven website).</p>
<p><em><span style="font-family: Arial">mvn archetype:create<br />
-DarchetypeGroupId=org.ow2.petals<br />
-DarchetypeArtifactId=maven-archetype-petals-jbi-service-engine<br />
-DarchetypeVersion=1.3.0-SNAPSHOT<br />
-DgroupId=com.ebmws.petals<br />
-DartifactId=petals-se-sample<br />
-Dversion=1.0-SNAPSHOT</span></em></p>
<p>This will create the standard component structure.<br />
You can check the JBI descriptor in petals-se-sample/src/main/jbi. Note that some fields such as the classpath are automatically filled during the packaging phase from the dependencies specified in your POM descriptor.</p>
<h2>Create the Eclipse project</h2>
<p><em>cd petals-se-sample<br />
mvn eclipse:eclipse<br />
</em><br />
In Eclipse, import the project and you will get</p>
<div id="sy8e" style="padding: 1em 0pt;text-align: center"><a href="http://docs.google.com/File?id=dcrqrprg_178htjfm9c2_b" target="_blank"><img style="width: 474px;height: 414px" src="http://docs.google.com/File?id=dcrqrprg_178htjfm9c2_b" alt="" /></a></div>
<h2>Do your business code</h2>
<p>Now in the JBIListener class, you can implement the business logic which will be called when a JBI message is received in the activated JBI Endpoind (How to activate endpoint will come in the next article).</p>
<p>For example, just say hello to the world in the JBIListener like this :</p>
<div id="tb8k" style="padding: 1em;text-align: center"><a href="http://docs.google.com/File?id=dcrqrprg_1797d8brdgx_b" target="_blank"><img style="width: 100%" src="http://docs.google.com/File?id=dcrqrprg_1797d8brdgx_b" alt="" /></a></div>
<h2>Package the component</h2>
<p>Simply package it with<br />
<em>mvn install</em></p>
<p>You will get a ZIP archive in the target directory which is the component you can deploy in PEtALS container</p>
<div id="y.jy" style="padding: 1em;text-align: center"><a href="http://docs.google.com/File?id=dcrqrprg_180ckvw25gh_b" target="_blank"><img style="width: 100%" src="http://docs.google.com/File?id=dcrqrprg_180ckvw25gh_b" alt="" /></a></div>
<p>The source of this component are available here <a id="no8s" title="http://christophe.hamerling.free.fr/ebm/blog/tuto/cdk/petals-se-sample.zip" href="http://christophe.hamerling.free.fr/ebm/blog/tuto/cdk/petals-se-sample.zip" target="_blank">http://christophe.hamerling.free.fr/ebm/blog/tuto/cdk/petals-se-sample.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://planet.petalslink.com/home/chamerling/2008/10/24/20/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

