Menu
- General Information
- Architecture :
- Services & Processes
- CookBooks
- Deployment
- Bundled Applications
- Source Code :
- Third-Party Setup :
- Polytech Staff Area :
New Project …, SOA category and BPEL Module project.Next button.Project Name, $JSEDUITE_HOME/orchestrations folder as Project LocationFinish button.Process Files directory, and choose New, Folder …PartnersNew / External WSDL Document …From Local File System option, and browse to the $JSEDUITE_HOME/architecture/contracts directoryThis section assumes you're familiar with BPEL process development using the Netbeans environment. It essentially focuses on expressing naming conventions.
Process Files, and choose New / Xml Schema …OrchestrationName as FileNameTarget Namespace to match the following naming convention: http://provider/jSeduite/orchestrations/schema/OrchestrationNamehttp://modalis.i3s.unice.fr/jSeduite/orchestrations/schema/WeatherProxyDesign view, and add: Complex Types describing such structuresOperationNameIn complex type which represents the structure of expected input messagesIn by Out in the previous sentence to describe expected output messages.Document Literal standard, request and response message MUST be defined as elements/OperationNameRequest element, of type OperationNameIn.Request by Response and In by Out Run menu, and then Validate XMLXML Check window will pop, and must say 0 Error(s).New, WSDL Document …WSDL Document … is a definitively different wizard than the External WSDL Document(s) … one.OrchestrationName as File NameTarget Namespace to match the following naming convention: http://provider/jSeduite/orchestrations/wsdl/OrchestrationNamehttp://modalis.i3s.unice.fr/jSeduite/orchestrations/wsdl/WeatherProxyImport XML Schema File(s) check box, and load the OrchestrationName.xsd file.Next button.Abstract Configuration: Operation Name by a meaningful name (CamelCase convention, first letter in upper case).Input part:part1 as inelement to the OperationNameRequest one.Output part: (replace in by out and request by response).Concrete Configuration: Document Literal binding subtypeNew, BPEL Process … OrchestrationName as File Name.Target Namespace to match the following naming convention:http://provider/jSeduite/orchestrations/bpel/OrchestrationNamehttp://modalis.i3s.unice.fr/jSeduite/orchestrations/bpel/WeatherProxyexternal (instead of PartnerLink1 or whatever)Name (i.e. partner's name)New / SOA, Composite Application Project.OrchestrationNameComponent naming conventionProject Folder is under orchestrations folder.Add JBI Module …OrchestrationName projectAdd Project JAR Files button to wrap the process into a JBI ModuleClean And Build actionTest folder, and add a New Test case.Invoker (as we'll use it to invoke the process), click Next.OrchestrationName.wsdl from the OrchestrationName folder, click NextOperationName binding operation, click finish Input message to send meaningful dataInvoker test case, end choose Run !
You'll have to publish your WSDL contract (and XSD data model) into the $JSEDUITE_HOME/architecture/contracts folder.
${HttpDefaultPort} string by 9080.Partners folder indication for embedded schemas
add_bpel_contract.sh can help you to perform such a task: mosser@asmodeus:$JEDUITE_HOME/architecture$ ./add_bpel_contract.sh FeedReader # Retrieving XSD data model [Partners => ''] ../orchestrations/FeedReader/src/FeedReader.xsd -> contracts/FeedReader.xsd # Retrieving WSDL descripton [HttpDefaultPort => 9080] ../orchestrations/FeedReader/src/FeedReader.wsdl -> contracts/FeedReader.wsdl mosser@asmodeus:$JEDUITE_HOME/architecture$ svn add contracts/FeedReader.* A contracts/FeedReader.wsdl A contracts/FeedReader.xsd mosser@asmodeus:$JEDUITE_HOME/architecture$
OrchestrationName and OrchestrationNameComponentSubversion / Commit …