<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<style type="text/css">
<!--

/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com

  NOTE: These CSS definitions are stored within the main page body so that you can use the phpBB2
  theme administration centre. When you have finalised your style you could cut the final CSS code
  and place it in an external file, deleting this section to save bandwidth.
*/


 /* General page style. The scroll bar colours only visible in IE5.5+ */
body {
        background-color: #E5E5E5;
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 11;
        color: #000000;
}

/* General font families for common tags */
font,th,td,p { font-family: Verdana, Arial, Helvetica, sans-serif }
p, td                { font-size : 11; color : #000000; }
a:link,a:active,a:visited { color : #006699; }
a:hover                { text-decoration: underline; color : #DD6900; }
hr        { height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}
h1,h2                { font-family: "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; font-size : 22px; font-weight : bold; text-decoration : none; line-height : 120%; color : #000000;}


/* This is the border line & background colour round the entire page */
.bodyline        { background-color: #FFFFFF; border: 1px #98AAB1 solid; }


/* General text */
.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; line-height: 12px}
.gen,.genmed,.gensmall { color : #000000; }
a.gen,a.genmed,a.gensmall { color: #006699; text-decoration: none; }
a.gen:hover,a.genmed:hover,a.gensmall:hover        { color: #DD6900; text-decoration: underline; }


/* Forum title: Text and link to the forums used in: index.php */
.forumlink                { font-weight: bold; font-size: 12px; color : #006699; }
a.forumlink         { text-decoration: none; color : #006699; }
a.forumlink:hover{ text-decoration: underline; color : #DD6900; }


/* The content of the posts (body of text) */
.postbody { font-size : 12px; line-height: 18px}
a.postlink:link        { text-decoration: none; color : #006699 }
a.postlink:visited { text-decoration: none; color : #5493B4; }
a.postlink:hover { text-decoration: underline; color : #DD6900}


/* Quote & Code blocks */
.code {
        font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
        background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
        border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
        font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
        background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
        border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

-->
</style>
</head>
        <body>

        <div class="postbody">Hi,<br />
<br />
</span><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>           <td><span class="genmed"><b>tilto wrote:</b></span></td>        </tr>        <tr>          <td class="quote">I've just tried to use the Petals SCA tools from "Use a Petals technical service" but I don't know how to use my Petals component with this way. So I'm going to see how work BPEL. But if you have any suggestion for SCA integration and use with Petals I'm interested.</td>        </tr></table><span class="postbody"><br />
<br />
Regarding SCA, one first point.<br />
The component version available on the web site is the former version. It should not work on Petals 3.0.<br />
The working version is in the trunk, and will undergo some new changes with respect to the Petals Studio.<br />
<br />
Indeed, despite all the tools available in Eclipse STP, SCA with Petals is indeed a little bit complex to use.<br />
However, it is feasible. It only requires some patience.<br />
The changes to perform will be mainly made in the Petals tools.<br />
<br />
<span style="font-weight: bold">Here is how you would have to do if you want to use the trunk version anyway.</span><br />
<br />
Once you've created an SCA project for Petals (using the Petals SCA wizard), complete your SCA application.<br />
Basically, to chain calls inside the bus with SCA, you have to create one component with a Java implementation, and references to all the services you want to call.<br />
<br />
Each reference must have a JBI binding (and only a JBI binding if you are using a Beta version of the studio).<br />
The reference interface must be created from the service's WSDL, using a WSDL to Java tool. Axis2 and CXF work well.<br />
Make sure the databinding used in this transformation is JAX-B.<br />
<br />
Thus, all the services to call are available in the Java implementation as Java fields.<br />
To chain the calls, you then only need to call the required operations (methods) on these fields.<br />
Once your application is done, package it using the right-click action.<br />
The jbi.xml will be generated at this moment.<br />
<br />
The expected improvements in the tools will be about the creation of JBI references on the component.<br />
With crreation wizards and drag'n'drop features, we will be able to reduce the creation time (reference, JBI binding, WSDL to Java...) to less than two minutes.<br />
For the moment, though, you have to make a lot of things by hand.</div>
        <br /><div class="gensmall"><br />
<br />
<br />
-------------------- m2f --------------------<br />
<br />
<a href="http://forum.petalslink.com/m2f_usercp.php">Subscribe/Unsubscribe</a> emails notifications.<br />
<br />
Response to this email will be posted on the Petals forum.<br />
Please delete the existing text before responding :)<br />
<br />
Read the topic online:<br />
<a href="http://forum.petalslink.com/viewtopic.php?p=30735#30735" target="_blank">http://forum.petalslink.com/viewtopic.php?p=30735#30735</a><br />
<br />
-------------------- m2f --------------------</div>
        </body>
</html>