<!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 />
I tried use the petals-se-orchestra 1.0.1 component on the petals-standalone-2.2.1 with an sample bpel process generated by petals orchestra plugin installed on Eclipse Ganymede 3.4.1.<br />
The deployment of the petals-se-orchestra and my SA was OK. But I got un error below when the test with Eclipse :<br />
<br />
IWAB0135E An unexpected error has occurred.<br />
java.net.MalformedURLException<br />
unknown protocol: petals<br />
<br />
Thank in advance<br />
<br />
This is the deployment trace of the component and service on the Petals server :<br />
<br />
C:\petals-standalone-2.2.1\bin>startup<br />
<br />
 -----------------------------------------------------------<br />
|                                                           |<br />
|             OW2 PEtALS Enterprise Service Bus             |<br />
|                   <a href="http://petals.ow2.org" target="_blank">http://petals.ow2.org</a>                   |<br />
|                                                           |<br />
 -----------------------------------------------------------<br />
<br />
PEtALS ESB is starting...<br />
[petals.RMI]-INFO 2008-10-20 11:11:18,245 JMX RMI server started at : service:jm<br />
x:rmi:///jndi/rmi://localhost:7700/jmxRmiConnector<br />
<br />
PEtALS ESB standalone distribution successfully started - 20/10/08 11:11<br />
System Information : Petals JBI Container - version: 2.2.1<br />
PEtALS prompt. Tape 'help' for help.<br />
<br />
petals@localhost:/> [petals.InstallationService]-INFO 2008-10-20 11:11:42,573 Co<br />
mponent 'petals-se-orchestra' succesfully installed<br />
[petals.container.components.petals-se-orchestra]-INFO 2008-10-20 11:11:43,541 O<br />
rchestra Intialization...<br />
20 oct. 2008 11:11:44 org.jbpm.pvm.internal.log.Jdk14Log debug<br />
FIN: eagerly initializing repository<br />
20 oct. 2008 11:11:44 org.jbpm.pvm.internal.log.Jdk14Log debug<br />
FIN: eagerly initializing servicePublisher<br />
20 oct. 2008 11:11:44 org.jbpm.pvm.internal.log.Jdk14Log debug<br />
FIN: eagerly initializing serviceInvoker<br />
[petals.container.components.petals-se-orchestra]-INFO 2008-10-20 11:11:44,463 C<br />
omponent initialized<br />
[petals.container.components.petals-se-orchestra]-INFO 2008-10-20 11:11:44,494 S<br />
tart Component<br />
[petals.container.components.petals-se-orchestra]-INFO 2008-10-20 11:11:48,729 P<br />
erform BPEL-Processes deployment on Orchestra server<br />
Retrieving document at 'file:/C:/petals-standalone-2.2.1/repository/service-asse<br />
mblies/petals-sa-bpeltest-10-20-2008-111148651/install/petals-su-bpeltest/proces<br />
s.wsdl'.<br />
Retrieving document at 'file:/C:/petals-standalone-2.2.1/repository/service-asse<br />
mblies/petals-sa-bpeltest-10-20-2008-111148651/install/petals-su-bpeltest/proces<br />
s.wsdl'.<br />
Retrieving document at 'file:/C:/petals-standalone-2.2.1/repository/service-asse<br />
mblies/petals-sa-bpeltest-10-20-2008-111148651/install/petals-su-bpeltest/proces<br />
s.wsdl'.<br />
[petals.container.components.petals-se-orchestra]-INFO 2008-10-20 11:11:55,447 T<br />
he BPEL Process /process.bpel has been succesfully deployed on Orchestra server<br />
and is available on the endpoint {http://exemple.bpel.acoss.fr/exemple1}bpelTest<br />
Servicepetals:autogenerate<br />
[petals.container.components.petals-se-orchestra]-INFO 2008-10-20 11:11:55,447 B<br />
PEL-Processes deployment on Orchestra server has been performed<br />
[petals.DeploymentService]-INFO 2008-10-20 11:11:55,463 Service Assembly 'petals<br />
-sa-bpeltest' succesfully deployed<br />
[petals.container.components.petals-se-orchestra]-INFO 2008-10-20 11:11:55,635 N<br />
ew Service Endpoint has been deployed : {http://exemple.bpel.acoss.fr/exemple1}b<br />
pelTestService ->petals:uid:15CCF5D77FDBC7C9455288527478011871 (INTERNAL):subdom<br />
ain1/0/petals-se-orchestra<br />
[petals.DeploymentService]-INFO 2008-10-20 11:11:55,635 Service Assembly 'petals<br />
-sa-bpeltest' succesfully started<br />
<br />
<br />
This is the log file on the Petals server :<br />
<br />
INFO 2008-10-20 11:11:18,245 [Petals.Communication.RMIConnector]<br />
    JMX RMI server started at : service:jmx:rmi:///jndi/rmi://localhost:7700/jmxRmiConnector<br />
INFO 2008-10-20 11:11:42,573 [Petals.JBI-Management.InstallationServiceImpl]<br />
    Component 'petals-se-orchestra' succesfully installed<br />
INFO 2008-10-20 11:11:43,541 [Petals.Container.Components.petals-se-orchestra]<br />
    Orchestra Intialization...<br />
<br />
<br />
This is my process.bpel :<br />
<br />
<process name="bpelTestService"<br />
         targetNamespace="http://exemple.bpel.acoss.fr/exemple1"<br />
         suppressJoinFailure="yes"<br />
         xmlns:tns="http://exemple.bpel.acoss.fr/exemple1"<br />
         xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"<br />
         ><br />
<br />
    <!-- Import the client WSDL --><br />
        <import location="process.wsdl" namespace="http://exemple.bpel.acoss.fr/exemple1" <br />
                importType="http://schemas.xmlsoap.org/wsdl/" /><br />
         <br />
    <!-- ================================================================= -->         <br />
    <!-- PARTNERLINKS                                                      --><br />
    <!-- List of services participating in this BPEL process               --><br />
    <!-- ================================================================= -->         <br />
    <partnerLinks><br />
        <!-- The 'client' role represents the requester of this service. --><br />
        <partnerLink name="client"<br />
                     partnerLinkType="tns:bpelTest"<br />
                     myRole="bpelTestProvider"<br />
                     /><br />
    </partnerLinks><br />
  <br />
    <!-- ================================================================= -->         <br />
    <!-- VARIABLES                                                         --><br />
    <!-- List of messages and XML documents used within this BPEL process  --><br />
    <!-- ================================================================= -->         <br />
    <variables><br />
        <!-- Reference to the message passed as input during initiation --><br />
        <variable name="input"<br />
                  messageType="tns:bpelTestRequestMessage"/><br />
                  <br />
        <!-- <br />
          Reference to the message that will be returned to the requester<br />
          --><br />
        <variable name="output"<br />
                  messageType="tns:bpelTestResponseMessage"/><br />
    </variables><br />
<br />
    <!-- ================================================================= -->         <br />
    <!-- ORCHESTRATION LOGIC                                               --><br />
    <!-- Set of activities coordinating the flow of messages across the    --><br />
    <!-- services integrated within this business process                  --><br />
    <!-- ================================================================= -->         <br />
    <sequence name="main"><br />
        <br />
        <!-- Receive input from requester. <br />
             Note: This maps to operation defined in processName.wsdl <br />
             --><br />
        <receive name="receiveInput" partnerLink="client"<br />
                 portType="tns:bpelTest"<br />
                 operation="process" variable="input"<br />
                 createInstance="yes"/><br />
                 <br />
        <assign validate="no" name="Assign"><br />
            <copy><br />
                <from>$input.payload/tns:input</from><br />
                <to>$output.payload/tns:result</to><br />
            </copy><br />
        </assign><br />
        <br />
        <!-- Generate reply to synchronous request --><br />
        <reply name="replyOutput" <br />
               partnerLink="client"<br />
               portType="tns:bpelTest"<br />
               operation="process" <br />
               variable="output"<br />
               /><br />
    </sequence><br />
</process><br />
<br />
This my process.wsdl :<br />
<br />
<?xml version="1.0"?><br />
<definitions name="bpelTest"<br />
        targetNamespace="http://exemple.bpel.acoss.fr/exemple1"<br />
        xmlns:tns="http://exemple.bpel.acoss.fr/exemple1"<br />
        xmlns:petals="http://petals.objectweb.org/"<br />
        xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"<br />
        xmlns="http://schemas.xmlsoap.org/wsdl/"<br />
        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"<br />
        ><br />
<br />
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
     TYPE DEFINITION - List of types participating in this BPEL process <br />
     The BPEL Designer will generate default request and response types<br />
     but you can define or import any XML Schema type and use them as part <br />
     of the message types.<br />
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->    <br />
    <types><br />
        <schema attributeFormDefault="unqualified" elementFormDefault="qualified" <br />
                targetNamespace="http://exemple.bpel.acoss.fr/exemple1" <br />
                xmlns="http://www.w3.org/2001/XMLSchema"><br />
<br />
            <complexType name="bpelTestRequest"><br />
                    <sequence><br />
                        <element name="input" type="string"/><br />
                    </sequence><br />
            </complexType><br />
<br />
            <complexType name="bpelTestResponse"><br />
                    <sequence><br />
                        <element name="result" type="string"/><br />
                    </sequence><br />
            </complexType><br />
        </schema><br />
    </types><br />
<br />
<br />
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
     MESSAGE TYPE DEFINITION - Definition of the message types used as <br />
     part of the port type defintions<br />
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->    <br />
    <message name="bpelTestRequestMessage"><br />
        <part name="payload" type="tns:bpelTestRequest"/><br />
    </message><br />
    <message name="bpelTestResponseMessage"><br />
        <part name="payload" type="tns:bpelTestResponse"/><br />
    </message><br />
<br />
    <br />
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
     PORT TYPE DEFINITION - A port type groups a set of operations into<br />
     a logical service unit.<br />
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->    <br />
<br />
    <!-- portType implemented by the processName BPEL process --><br />
    <portType name="bpelTest"><br />
        <operation name="process"><br />
            <input name="bpelTestRequestMessage" message="tns:bpelTestRequestMessage" /><br />
            <output name="bpelTestResponseMessage" message="tns:bpelTestResponseMessage"/><br />
        </operation><br />
    </portType><br />
<br />
 <br />
 <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
     BINDING DEFINITION <br />
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->    <br />
  <br />
         <binding name="bpelTestBinding" type="tns:bpelTest"><br />
            <br />
            <soap:binding style="rpc"<br />
                         transport="http://schemas.xmlsoap.org/soap/http" /><br />
                   <br />
                   <operation name="process"><br />
                        <soap:operation soapAction="{http://exemple.bpel.acoss.fr/exemple1}process" /><br />
                        <input name="bpelTestRequestMessage"><br />
                            <soap:body use="literal" <br />
                                        namespace="http://exemple.bpel.acoss.fr/exemple1" /><br />
                    </input><br />
                    <output name="bpelTestResponseMessage"><br />
                            <soap:body use="literal"<br />
                                    namespace="http://exemple.bpel.acoss.fr/exemple1" /><br />
                    </output><br />
                </operation><br />
                <br />
        </binding><br />
      <br />
 <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
     SERVICE DEFINITION <br />
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->    <br />
  <br />
    <service name="bpelTestService"><br />
            <port name="bpelTestPort" binding="tns:bpelTestBinding"><br />
                    <soap:address location="petals:autogenerate"></soap:address><br />
            </port><br />
    </service><br />
<br />
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
     PARTNER LINK TYPE DEFINITION<br />
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->    <br />
    <plnk:partnerLinkType name="bpelTest"><br />
        <plnk:role name="bpelTestProvider" portType="tns:bpelTest"/><br />
    </plnk:partnerLinkType><br />
    <br />
</definitions><br />
<br />
This is my jbi.xml generated by the plugin :<br />
<br />
<?xml version="1.0" encoding="UTF-8"?><br />
<!-- JBI descriptor for PEtALS' "petals-se-orchestra" (Orchestra), version 1.1 --><br />
<jbi:jbi version="1.0" <br />
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"<br />
xmlns:jbi="http://java.sun.com/xml/ns/jbi"<br />
xmlns:petals="http://petals.objectweb.org/"<br />
xmlns:orchestra="http://petals.ow2.org/components/orchestra/version-1.0"<br />
xmlns:petalsCDK="http://petals.ow2.org/components/extensions/version-4.0"<br />
xmlns:generatedNs="http://exemple.bpel.acoss.fr/exemple1"><br />
<br />
<!-- Import a Service into PEtALS or Expose a PEtALS Service => use a BC. --><br />
<jbi:services binding-component="false"><br />
<br />
<!-- Import a Service into PEtALS => provides a Service. --><br />
<jbi:provides                 <br />
interface-name="generatedNs:bpelTest"<br />
service-name="generatedNs:bpelTestService"<br />
endpoint-name="petals:autogenerate"><br />
<br />
<!-- CDK specific elements --><br />
<petalsCDK:wsdl>process.wsdl</petalsCDK:wsdl><br />
<br />
<!-- Component specific elements -->        <br />
<orchestra:bpel>process.bpel</orchestra:bpel>                        <br />
</jbi:provides><br />
</jbi:services><br />
</jbi:jbi><br />
<br />
This is jbi.xml of my SA :<br />
<br />
<?xml version="1.0" encoding="UTF-8"?><br />
<jbi version="1.0" <br />
xmlns='http://java.sun.com/xml/ns/jbi'<br />
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'<br />
xmlns:hw='http://petals.objectweb.org/'><br />
<service-assembly><br />
<identification><br />
<name>petals-sa-bpeltest</name><br />
<description>Service Assembly that registers endpoints for bpel test</description><br />
</identification><br />
<service-unit><br />
<identification><br />
<name>petals-su-bpeltest</name><br />
<description>Exemple Test bpel service unit</description><br />
</identification><br />
<target><br />
<artifacts-zip>petals-su-bpeltest.zip</artifacts-zip><br />
<component-name>petals-se-orchestra</component-name><br />
</target><br />
</service-unit><br />
</service-assembly><br />
</jbi></div>
        <br /><div class="gensmall"><br />
<br />
<br />
-------------------- m2f --------------------<br />
<br />
Read this forum topic online here:<br />
<a href="http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=250#250" target="_blank">http://petals.ebmwebsourcing.com/forum/viewtopic.php?p=250#250</a><br />
<br />
-------------------- m2f --------------------</div>
        </body>
</html>