<!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 Pierrot,<br />
<br />
I'm using the last release of the BPEL component.<br />
<br />
Here is my jbi.xml:<br />
<br />
</span><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>           <td><span class="genmed"><b>Code:</b></span></td>        </tr>        <tr>          <td class="code"><?xml version="1.0" encoding="UTF-8"?><br />
<!-- <br />
&nbsp; &nbsp;JBI descriptor for the Petals' "petals-se-bpel" component &#40;BPEL&#41;.<br />
&nbsp; &nbsp;Originally created for the version 1.0 of the component.<br />
&nbsp;--><br />
<jbi&#58;jbi version="1.0" <br />
&nbsp; &nbsp;xmlns&#58;bpel-engine="http&#58;//petals.ow2.org/components/petals-bpel-engine/version-1"<br />
&nbsp; &nbsp;xmlns&#58;generatedNs="http&#58;//www.test.com/petals/bpel"<br />
&nbsp; &nbsp;xmlns&#58;jbi="http&#58;//java.sun.com/xml/ns/jbi"<br />
&nbsp; &nbsp;xmlns&#58;petalsCDK="http&#58;//petals.ow2.org/components/extensions/version-5"<br />
&nbsp; &nbsp;xmlns&#58;xsi="http&#58;//www.w3.org/2001/XMLSchema-instance"><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;<!-- Import a Service into Petals or Expose a Petals Service => use a BC. --><br />
&nbsp; &nbsp;<jbi&#58;services binding-component="false"><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp; &nbsp;<!-- Import a Service into Petals => provides a Service. --><br />
&nbsp; &nbsp;&nbsp; &nbsp;<jbi&#58;provides &nbsp; &nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;interface-name="generatedNs&#58;getWeatherUSA-2"<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;service-name="generatedNs&#58;getWeatherUSAService-2"<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;endpoint-name="autogenerate"><br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<!-- CDK specific elements --><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<petalsCDK&#58;timeout>30000</petalsCDK&#58;timeout><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<petalsCDK&#58;validate-wsdl>true</petalsCDK&#58;validate-wsdl><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<petalsCDK&#58;forward-security-subject>false</petalsCDK&#58;forward-security-subject><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<petalsCDK&#58;forward-message-properties>false</petalsCDK&#58;forward-message-properties><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<petalsCDK&#58;forward-attachments>false</petalsCDK&#58;forward-attachments><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<petalsCDK&#58;wsdl>concreteProcess.wsdl</petalsCDK&#58;wsdl><br />
&nbsp; &nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<!-- Component specific elements -->&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<bpel-engine&#58;bpel>process.bpel</bpel-engine&#58;bpel><br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<bpel-engine&#58;poolsize>0</bpel-engine&#58;poolsize>&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp; &nbsp;</jbi&#58;provides><br />
&nbsp; &nbsp;</jbi&#58;services><br />
</jbi&#58;jbi></td>        </tr></table><span class="postbody"><br />
<br />
I changed "<petalsCDK:wsdl>process.wsdl</petalsCDK:wsdl>" to "<petalsCDK:wsdl>concreteProcess.wsdl</petalsCDK:wsdl>" as adviced in another post.<br />
<br />
And here is my bpel file:<br />
<br />
</span><table width="90%" cellspacing="1" cellpadding="3" border="0" align="center"><tr>           <td><span class="genmed"><b>Code:</b></span></td>        </tr>        <tr>          <td class="code"><process name="getWeatherUSA-2"<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;targetNamespace="http&#58;//www.test.com/petals/bpel"<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;suppressJoinFailure="no"<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns&#58;tns="http&#58;//www.test.com/petals/bpel"<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns&#58;srv="http&#58;//www.test.com/petals/bpel"<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns="http&#58;//docs.oasis-open.org/wsbpel/2.0/process/executable"<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;xmlns&#58;bpel="http&#58;//docs.oasis-open.org/wsbpel/2.0/process/executable" xmlns&#58;ns1="http&#58;//www.test.com/petals/bpelArtifacts"><br />
<br />
&nbsp; &nbsp; <!-- Import the client WSDL --><br />
&nbsp; &nbsp; <bpel&#58;import namespace="http&#58;//www.test.com/petals/bpelArtifacts" location="processArtifacts.wsdl" importType="http&#58;//schemas.xmlsoap.org/wsdl/"></bpel&#58;import><br />
&nbsp; &nbsp; <bpel&#58;import namespace="http&#58;//www.webserviceX.NET" location="usweather.wsdl" importType="http&#58;//schemas.xmlsoap.org/wsdl/"></bpel&#58;import><br />
&nbsp; &nbsp; <import location="concreteProcess.wsdl" namespace="http&#58;//www.test.com/petals/bpel" <br />
&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; importType="http&#58;//schemas.xmlsoap.org/wsdl/" /><br />
&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp;<import location="process.wsdl" namespace="http&#58;//www.test.com/petals/bpel" <br />
&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; importType="http&#58;//schemas.xmlsoap.org/wsdl/" /><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; <!-- ================================================================= -->&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; <!-- PARTNERLINKS&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --><br />
&nbsp; &nbsp; <!-- List of services participating in this BPEL process&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--><br />
&nbsp; &nbsp; <!-- ================================================================= -->&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; <partnerLinks><br />
&nbsp; &nbsp; &nbsp; &nbsp; <!-- The 'client' role represents the requester of this service. --><br />
&nbsp; &nbsp; &nbsp; &nbsp; <partnerLink name="client"<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;partnerLinkType="tns&#58;getWeatherUSA-2"<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;myRole="getWeatherUSA-2Provider"<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/><br />
&nbsp; &nbsp; &nbsp; &nbsp; <bpel&#58;partnerLink name="WeatherPL" partnerLinkType="ns1&#58;WeatherLT-Get" myRole="WeatherLT-Get"></bpel&#58;partnerLink><br />
&nbsp; &nbsp; </partnerLinks><br />
&nbsp; <br />
&nbsp; &nbsp; <!-- ================================================================= -->&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; <!-- VARIABLES&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--><br />
&nbsp; &nbsp; <!-- List of messages and XML documents used within this BPEL process&nbsp; --><br />
&nbsp; &nbsp; <!-- ================================================================= -->&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; <variables><br />
&nbsp; &nbsp; &nbsp; &nbsp; <!-- Reference to the message passed as input during initiation --><br />
&nbsp; &nbsp; &nbsp; &nbsp; <variable name="input"<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; messageType="tns&#58;getWeatherUSA-2RequestMessage"/><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <!-- <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Reference to the message that will be returned to the requester<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --><br />
&nbsp; &nbsp; &nbsp; &nbsp; <variable name="output"<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; messageType="tns&#58;getWeatherUSA-2ResponseMessage"/><br />
&nbsp; &nbsp; </variables><br />
<br />
&nbsp; &nbsp; <!-- ================================================================= -->&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; <!-- ORCHESTRATION LOGIC&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--><br />
&nbsp; &nbsp; <!-- Set of activities coordinating the flow of messages across the&nbsp; &nbsp; --><br />
&nbsp; &nbsp; <!-- services integrated within this business process&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --><br />
&nbsp; &nbsp; <!-- ================================================================= -->&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; <sequence name="main"><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <!-- Receive input from requester. <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Note&#58; This maps to operation defined in processName.wsdl <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;--><br />
&nbsp; &nbsp; &nbsp; &nbsp; <receive name="receiveInput" partnerLink="client"<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;portType="tns&#58;getWeatherUSA-2"<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;operation="process" createInstance="no" variable="input"/><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />
&nbsp; &nbsp; &nbsp; &nbsp; <assign validate="no" name="Assign"><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <copy><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <from>$input.payload/tns&#58;input</from><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <to>$output.payload/tns&#58;result</to><br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </copy><br />
&nbsp; &nbsp; &nbsp; &nbsp; </assign><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; <!-- Generate reply to synchronous request --><br />
&nbsp; &nbsp; &nbsp; &nbsp; <bpel&#58;invoke name="Invoke" partnerLink="WeatherPL" operation="process" portType="tns&#58;getWeatherUSA-2" inputVariable="input" outputVariable="output"></bpel&#58;invoke><br />
&nbsp; &nbsp; &nbsp; &nbsp; <reply name="replyOutput" <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;partnerLink="client"<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;portType="tns&#58;getWeatherUSA-2"<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;operation="process" <br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;variable="output"<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/><br />
&nbsp; &nbsp; </sequence><br />
</process></td>        </tr></table><span class="postbody"></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=30512#30512" target="_blank">http://forum.petalslink.com/viewtopic.php?p=30512#30512</a><br />
<br />
-------------------- m2f --------------------</div>
        </body>
</html>