|
From: <pka...@us...> - 2009-07-22 14:53:36
|
Revision: 352
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=352&view=rev
Author: pkasprzak
Date: 2009-07-22 14:53:29 +0000 (Wed, 22 Jul 2009)
Log Message:
-----------
* New style example process
Added Paths:
-----------
trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel
trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.wsdl
Added: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-07-22 14:53:29 UTC (rev 352)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<process
+ name="AddCourse"
+ targetNamespace="http://enterprise.netbeans.org/bpel/ObjectProcessor/AddCourse"
+ xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace"
+ xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor"
+ xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment"
+ xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling"
+ xmlns:tns="http://enterprise.netbeans.org/bpel/ObjectProcessor/AddCourse">
+ <import namespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" location="AddCourse.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+ <partnerLinks>
+ <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" partnerLinkType="tns:AddCourse" myRole="AddCoursePortTypeRole"/>
+ </partnerLinks>
+ <variables>
+ <variable name="ProcessCourseIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" messageType="tns:processCourseRequest"/>
+ </variables>
+ <sequence>
+ <receive name="start" createInstance="yes" partnerLink="ClientAdapter" operation="processCourse" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" portType="tns:AddCoursePortType" variable="ProcessCourseIn"/>
+ <empty name="saveOrUpdateEntityData">
+ <documentation>Check entity vs persistence (save / or update [attribute changes?])</documentation>
+ </empty>
+ <empty name="handleIds">
+ <documentation>Save clientId / generate busId</documentation>
+ </empty>
+ <empty name="checkDeps">
+ <documentation>Check deps asynchronisly (i.e.) wait for callback, when deps are satisfied
+IN: OBJ_ID [course], OBJ_TYPE [type]
+OUT: -> callback</documentation>
+ </empty>
+ <empty name="loadContext">
+ <documentation>Load context for this entity for distribution (e.g. relations / parent objects / paths) and return it as xml (e.g. messages-object)</documentation>
+ </empty>
+ <empty name="distributeMessages">
+ <documentation>Send courseMessage + context to outboundadapter (synchronisouly)</documentation>
+ </empty>
+ <empty name="finish"/>
+ </sequence>
+</process>
Added: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.wsdl
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.wsdl (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.wsdl 2009-07-22 14:53:29 UTC (rev 352)
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<definitions name="AddCourse"
+ targetNamespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse"
+ xmlns:ns="http://cse.campussource.de/schema/DataTypes"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+ <types>
+ <xsd:schema targetNamespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse">
+ <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="Common/CDDM.xsd"/>
+ </xsd:schema>
+ </types>
+ <message name="processCourseRequest">
+ <part name="courseMessage" element="ns:courseMessage"/>
+ </message>
+ <portType name="AddCoursePortType">
+ <operation name="processCourse">
+ <input name="input1" message="tns:processCourseRequest"/>
+ </operation>
+ </portType>
+ <binding name="AddCourseBinding" type="tns:AddCoursePortType">
+ <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="processCourse">
+ <soap:operation/>
+ <input name="input1">
+ <soap:body use="literal"/>
+ </input>
+ </operation>
+ </binding>
+ <service name="AddCourseService">
+ <port name="AddCoursePort" binding="tns:AddCourseBinding">
+ <soap:address location="http://localhost:${HttpDefaultPort}/AddCourseService/AddCoursePort"/>
+ </port>
+ </service>
+ <plnk:partnerLinkType name="AddCourse">
+ <plnk:role name="AddCoursePortTypeRole" portType="tns:AddCoursePortType"/>
+ </plnk:partnerLinkType>
+</definitions>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|