|
From: <pka...@us...> - 2009-08-02 23:08:20
|
Revision: 434
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=434&view=rev
Author: pkasprzak
Date: 2009-08-02 23:08:12 +0000 (Sun, 02 Aug 2009)
Log Message:
-----------
* Important Stuff :)
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml
trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCategory.bpel
trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel
Removed Paths:
-------------
trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel
trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.wsdl
trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.bpel
trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.wsdl
Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-08-02 23:06:46 UTC (rev 433)
+++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-08-02 23:08:12 UTC (rev 434)
@@ -6,8 +6,8 @@
<system systemId="Common/EntityManager.wsdl" uri="nb-uri:Common#src/EntityManager.wsdl"/>
<system systemId="Common/RelationManager.wsdl" uri="nb-uri:Common#src/RelationManager.wsdl"/>
<system systemId="Common/IdentityManager.wsdl" uri="nb-uri:Common#src/IdentityManager.wsdl"/>
- <system systemId="Common/DependencyManagerNotification.wsdl" uri="nb-uri:Common#src/DependencyManagerNotification.wsdl"/>
- <system systemId="Common/DependencyManager.wsdl" uri="nb-uri:Common#src/DependencyManager.wsdl"/>
<system systemId="Common/SystemManager.wsdl" uri="nb-uri:Common#src/SystemManager.wsdl"/>
<system systemId="Common/LoggingManager.wsdl" uri="nb-uri:Common#src/LoggingManager.wsdl"/>
+ <system systemId="Common/DependencyManager.wsdl" uri="nb-uri:Common#src/DependencyManager.wsdl"/>
+ <system systemId="Common/OutboundAdapter.wsdl" uri="nb-uri:Common#src/OutboundAdapter.wsdl"/>
</catalog>
Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCategory.bpel
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCategory.bpel 2009-08-02 23:06:46 UTC (rev 433)
+++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCategory.bpel 2009-08-02 23:08:12 UTC (rev 434)
@@ -21,6 +21,7 @@
<import namespace="http://cse.campussource.de/ejb/DependencyManager" location="Common/DependencyManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<import namespace="http://cse.campussource.de/ejb/SystemManager" location="Common/SystemManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<import namespace="http://cse.campussource.de/ejb/LoggingManager" location="Common/LoggingManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+ <import namespace="http://cse.campussource.de/wsdl/Common/OutboundAdapter" location="Common/OutboundAdapter.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<partnerLinks>
<partnerLink name="LoggingManager" xmlns:tns="http://cse.campussource.de/ejb/LoggingManager" partnerLinkType="tns:LoggingManagerLinkType"
@@ -35,13 +36,15 @@
<partnerLink name="IdentityManager" xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" partnerLinkType="tns:IdentityManagerLinkType"
partnerRole="IdentityManagerRole"/>
- <partnerLink name="DependencyManager" xmlns:tns="http://cse.campussource.de/ejb/DependencyManager" partnerLinkType="tns:DependencyManagerLinkType"
- myRole="DependencyManager_Requestor"
+ <partnerLink name="DependencyManager" partnerLinkType="ns0:DependencyManagerCategoryLinkType" myRole="DependencyManager_Receiver"
partnerRole="DependencyManager_Provider"/>
<partnerLink name="SystemManager" xmlns:tns="http://cse.campussource.de/ejb/SystemManager" partnerLinkType="tns:SystemManagerLinkType"
partnerRole="SystemManagerRole"/>
+ <partnerLink name="OutboundAdapter" xmlns:tns="http://cse.campussource.de/wsdl/Common/OutboundAdapter" partnerLinkType="tns:OutboundAdapter"
+ partnerRole="OutboundAdapterPortTypeRole"/>
+
<partnerLink name="ClientAdapter" xmlns:tns="http://cse.campussource.de/wsdl/ObjectProcessor/AddCategory" partnerLinkType="tns:AddCategory"
myRole="AddCategoryPortTypeRole"/>
</partnerLinks>
@@ -49,16 +52,23 @@
<variables>
<variable name="GetOutboundSystemsOut" xmlns:tns="http://cse.campussource.de/ejb/SystemManager" messageType="tns:getOutboundSystemsResponse"/>
<variable name="GetOutboundSystemsIn" xmlns:tns="http://cse.campussource.de/ejb/SystemManager" messageType="tns:getOutboundSystems"/>
+
<variable name="WaitForDependenciesIn" xmlns:tns="http://cse.campussource.de/ejb/DependencyManager" messageType="tns:waitForDependencies"/>
+
<variable name="ProcessCategoryRelationsOut" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" messageType="tns:processCategoryRelationsResponse"/>
<variable name="ProcessCategoryRelationsIn" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" messageType="tns:processCategoryRelations"/>
+
<variable name="UpdateAttributesOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:updateAttributesResponse"/>
<variable name="UpdateAttributesIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:updateAttributes"/>
+
<variable name="CreateMappingIn" xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" messageType="tns:createMapping"/>
+
<variable name="PersistCategoryOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCategoryResponse"/>
<variable name="PersistCategoryIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCategory"/>
+
<variable name="ExistsOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:existsResponse"/>
<variable name="ExistsIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:exists"/>
+
<variable name="ProcessCategoryIn" xmlns:tns="http://cse.campussource.de/wsdl/ObjectProcessor/AddCategory" messageType="tns:processCategoryRequest"/>
<!-- Logging -->
@@ -71,7 +81,7 @@
</variables>
<correlationSets>
- <correlationSet name="DependencyManager" properties="ns0:EntityId"/>
+ <correlationSet name="DependencyManagerCategory" properties="ns0:EntityId"/>
</correlationSets>
<sequence>
@@ -281,15 +291,39 @@
</copy>
</assign>
+ <assign>
+ <copy>
+ <from>'Before waitForDependencies()'</from>
+ <to>$DebugIn.parameters/message</to>
+ </copy>
+ </assign>
+ <invoke partnerLink="LoggingManager" operation="debug"
+ xmlns:tns="http://cse.campussource.de/ejb/LoggingManager"
+ portType="tns:LoggingManager"
+ inputVariable="DebugIn"/>
+
<invoke name="waitForDependencies" partnerLink="DependencyManager" operation="waitForDependencies"
xmlns:tns="http://cse.campussource.de/ejb/DependencyManager"
portType="tns:DependencyManager"
inputVariable="WaitForDependenciesIn">
<correlations>
- <correlation set="DependencyManager" initiate="yes"/>
+ <correlation set="DependencyManagerCategory" initiate="yes"/>
</correlations>
</invoke>
+
+ <assign>
+ <copy>
+ <from>'After waitForDependencies()'</from>
+ <to>$DebugIn.parameters/message</to>
+ </copy>
+ </assign>
+ <invoke partnerLink="LoggingManager" operation="debug"
+ xmlns:tns="http://cse.campussource.de/ejb/LoggingManager"
+ portType="tns:LoggingManager"
+ inputVariable="DebugIn"/>
+
+
<!-- Nothing to do! -->
<assign name="prepareGetOutboundSystems">
<copy>
@@ -328,6 +362,9 @@
<scope name="SystemScope">
<variables>
+ <variable name="SatisfyDependenciesIn" messageType="ns0:satisfyDependencies"/>
+ <variable name="OutboundProcessCategoryOut" xmlns:tns="http://cse.campussource.de/wsdl/Common/OutboundAdapter" messageType="tns:ProcessCategoryOperationResponse"/>
+ <variable name="OutboundProcessCategoryIn" xmlns:tns="http://cse.campussource.de/wsdl/Common/OutboundAdapter" messageType="tns:ProcessCategoryOperationRequest"/>
<variable name="GetCategoryContextOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:getCategoryContextResponse"/>
<variable name="GetCategoryContextIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:getCategoryContext"/>
<variable name="NotifyIn" messageType="ns0:notifyRequest"/>
@@ -352,10 +389,10 @@
<receive name="receiveNotification" createInstance="no" partnerLink="DependencyManager"
operation="notify"
- portType="ns0:DependencyManagerNotification"
+ portType="ns0:DependencyManagerCategoryNotification"
variable="NotifyIn">
<correlations>
- <correlation set="DependencyManager" initiate="no"/>
+ <correlation set="DependencyManagerCategory" initiate="no"/>
</correlations>
</receive>
@@ -400,10 +437,95 @@
inputVariable="GetCategoryContextIn"
outputVariable="GetCategoryContextOut"/>
- <empty name="distributeMessages">
- <documentation>Send categoryMessage + context to outboundadapter (synchronisouly)</documentation>
- </empty>
+ <assign name="prepareProcessCategory">
+ <!-- Initialize xml skeleton -->
+ <copy>
+ <from>
+ <literal>
+ <categoryMessage xmlns:dt="http://cse.campussource.de/schema/DataTypes">
+ <dt:eventTime/>
+ <dt:event/>
+ <dt:source/>
+ <dt:target/>
+ <dt:category/>
+ </categoryMessage>
+ </literal>
+ </from>
+ <to>$OutboundProcessCategoryIn.categoryMessage</to>
+ </copy>
+
+ <!-- Set event -->
+ <copy>
+ <from variable="Event"/>
+ <to>$OutboundProcessCategoryIn.categoryMessage/dt:event</to>
+ </copy>
+
+ <!-- Set source system -->
+ <copy>
+ <from>'Core'</from>
+ <to>$OutboundProcessCategoryIn.categoryMessage/dt:source</to>
+ </copy>
+
+ <!-- Set target system -->
+ <copy>
+ <from variable="System"/>
+ <to>$OutboundProcessCategoryIn.categoryMessage/dt:target</to>
+ </copy>
+
+ <!-- Set course data -->
+ <copy>
+ <from>$GetCategoryContextOut.parameters/return</from>
+ <to>$OutboundProcessCategoryIn.categoryMessage/dt:category</to>
+ </copy>
+ </assign>
+
+ <invoke name="processCategory" partnerLink="OutboundAdapter"
+ operation="processCategory"
+ xmlns:tns="http://cse.campussource.de/wsdl/Common/OutboundAdapter"
+ portType="tns:OutboundAdapterPortType"
+ inputVariable="OutboundProcessCategoryIn"
+ outputVariable="OutboundProcessCategoryOut"/>
+
+ <assign name="prepareCreateMapping">
+ <!-- Set cse-id -->
+ <copy>
+ <from variable="EntityId"/>
+ <to>$CreateMappingIn.parameters/cseId/text()</to>
+ </copy>
+ <!-- Set system -->
+ <copy>
+ <from variable="System"/>
+ <to>$CreateMappingIn.parameters/system</to>
+ </copy>
+ <!-- Set id of the object in the system -->
+ <copy>
+ <from>$OutboundProcessCategoryOut.eventReply/dt:objectClientId</from>
+ <to>$CreateMappingIn.parameters/systemId</to>
+ </copy>
+ </assign>
+
+ <invoke name="createMapping" partnerLink="IdentityManager"
+ operation="createMapping"
+ xmlns:tns="http://cse.campussource.de/ejb/IdentityManager"
+ portType="tns:IdentityManager"
+ inputVariable="CreateMappingIn"/>
+ <assign name="prepareSatisfyDependencies">
+ <copy>
+ <from variable="System"/>
+ <to>$SatisfyDependenciesIn.parameters/system</to>
+ </copy>
+ <copy>
+ <from variable="EntityId"/>
+ <to>$SatisfyDependenciesIn.parameters/entityId</to>
+ </copy>
+ </assign>
+
+ <invoke name="satisfyDependencies" partnerLink="DependencyManager"
+ operation="satisfyDependencies"
+ portType="ns0:DependencyManager"
+ inputVariable="SatisfyDependenciesIn"/>
+
</sequence>
</scope>
</forEach>
Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-08-02 23:06:46 UTC (rev 433)
+++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-08-02 23:08:12 UTC (rev 434)
@@ -444,6 +444,17 @@
</copy>
</assign>
+ <assign>
+ <copy>
+ <from>concat('courseMessage: ', sxxf:doMarshal($OutboundProcessCourseIn.courseMessage))</from>
+ <to>$DebugIn.parameters/message</to>
+ </copy>
+ </assign>
+ <invoke partnerLink="LoggingManager" operation="debug"
+ xmlns:tns="http://cse.campussource.de/ejb/LoggingManager"
+ portType="tns:LoggingManager"
+ inputVariable="DebugIn"/>
+
<invoke name="processCourse" partnerLink="OutboundAdapter"
operation="processCourse"
xmlns:tns="http://cse.campussource.de/wsdl/Common/OutboundAdapter"
Deleted: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel 2009-08-02 23:06:46 UTC (rev 433)
+++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel 2009-08-02 23:08:12 UTC (rev 434)
@@ -1,138 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<process name="InboundObjectProcessor"
- targetNamespace="http://enterprise.netbeans.org/bpel/ObjectProcessor/newProcess"
- 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:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions"
- xmlns:ns0="http://docs.oasis-open.org/wsbpel/2.0/process/executable"
- xmlns:dt="http://cse.campussource.de/schema/DataTypes"
- xmlns:tns="http://enterprise.netbeans.org/bpel/ObjectProcessor/newProcess">
-
- <import namespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" location="InboundObjectProcessor.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
- <import namespace="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" location="IdentityMapper/wsdl/IdentityMapperWS/IdentityMapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
- <import namespace="http://cse.campussource.de/schema/DataTypes" location="Common/CDDM.xsd" importType="http://www.w3.org/2001/XMLSchema"/>
-
- <partnerLinks>
- <partnerLink name="IdentityMapper" xmlns:tns="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" partnerLinkType="tns:IdentityMapper"
- partnerRole="IdentityMapperPortTypeRole"/>
-
- <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" partnerLinkType="tns:ObjectProcessor"
- myRole="ObjectProcessorPortTypeRole"/>
- </partnerLinks>
-
- <variables>
- <variable name="ProcessCategoryEventIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" messageType="tns:ProcessCategoryEventRequest"/>
- <variable name="ProcessCourseEventIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" messageType="tns:ProcessCourseEventRequest"/>
- <variable name="ProcessAccountEventIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" messageType="tns:ProcessAccountEventRequest"/>
-
- <variable name="ToBusIdOperationOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" messageType="tns:ToBusIdOperationResponse"/>
- <variable name="ToBusIdOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" messageType="tns:ToBusIdOperationRequest"/>
- </variables>
-
- <sequence>
- <pick name="receiveObject" createInstance="yes">
-
- <onMessage partnerLink="ClientAdapter" operation="processCourseEvent" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor"
- portType="tns:ObjectProcessorPortType"
- variable="ProcessCourseEventIn">
- <sequence>
- <assign name="prepareResolveBusIdForCourse">
- <sxt:trace>
- <sxt:log level="info" location="onStart">
- <ns0:from>concat('*** Course: ', sxxf:doMarshal($ProcessCourseEventIn.courseMessage))</ns0:from>
- </sxt:log>
- </sxt:trace>
-<!--
- <copy>
- <from>$ProcessCourseEventIn.courseMessage/dt:source</from>
- <to>$ToBusIdOperationIn.clientInstanceId</to>
- </copy>
--->
- <copy>
- <from>1</from>
- <to>$ToBusIdOperationIn.clientInstanceId</to>
- </copy>
- <copy>
- <from>$ProcessCourseEventIn.courseMessage/dt:course/dt:attribute[dt:name = 'clientId']/dt:value</from>
- <to>$ToBusIdOperationIn.clientObjectId</to>
- </copy>
- </assign>
- </sequence>
- </onMessage>
-
- <onMessage partnerLink="ClientAdapter" operation="processCategoryEvent" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor"
- portType="tns:ObjectProcessorPortType"
- variable="ProcessCategoryEventIn">
- <sequence>
- <assign name="prepareResolveBusIdForCategory">
- <sxt:trace>
- <sxt:log level="info" location="onStart">
- <ns0:from>concat('*** Category: ', sxxf:doMarshal($ProcessCategoryEventIn.categoryMessage))</ns0:from>
- </sxt:log>
- </sxt:trace>
-<!--
- <copy>
- <from>$ProcessCategoryEventIn.categoryMessage/dt:source</from>
- <to>$ToBusIdOperationIn.clientInstanceId</to>
- </copy>
--->
- <copy>
- <from>1</from>
- <to>$ToBusIdOperationIn.clientInstanceId</to>
- </copy>
- <copy>
- <from>$ProcessCategoryEventIn.categoryMessage/dt:category/dt:attribute[dt:name = 'clientId']/dt:value</from>
- <to>$ToBusIdOperationIn.clientObjectId</to>
- </copy>
- </assign>
- </sequence>
- </onMessage>
-
- <onMessage partnerLink="ClientAdapter" operation="processAccountEvent" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor"
- portType="tns:ObjectProcessorPortType"
- variable="ProcessAccountEventIn">
- <sequence>
- <assign name="prepareResolveBusIdForAccount">
- <sxt:trace>
- <sxt:log level="info" location="onStart">
- <ns0:from>concat('*** Account: ', sxxf:doMarshal($ProcessAccountEventIn.accountMessage))</ns0:from>
- </sxt:log>
- </sxt:trace>
-<!--
- <copy>
- <from>$ProcessAccountEventIn.accountMessage/dt:source</from>
- <to>$ToBusIdOperationIn.clientInstanceId</to>
- </copy>
--->
- <copy>
- <from>1</from>
- <to>$ToBusIdOperationIn.clientInstanceId</to>
- </copy>
- <copy>
- <from>$ProcessAccountEventIn.accountMessage/dt:account/dt:attribute[dt:name = 'clientId']/dt:value</from>
- <to>$ToBusIdOperationIn.clientObjectId</to>
- </copy>
- </assign>
- </sequence>
- </onMessage>
-
- </pick>
-
- <invoke name="resolveBusId" partnerLink="IdentityMapper" operation="ToBusIdOperation"
- xmlns:tns="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper"
- portType="tns:IdentityMapperPortType"
- inputVariable="ToBusIdOperationIn"
- outputVariable="ToBusIdOperationOut">
- <sxt:trace>
- <sxt:log level="fine" location="onComplete">
- <from>concat('Resolved busId: ', $ToBusIdOperationOut.busId)</from>
- </sxt:log>
- </sxt:trace>
- </invoke>
- <empty name="updateCDMM"/>
- </sequence>
-</process>
Deleted: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.wsdl
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.wsdl 2009-08-02 23:06:46 UTC (rev 433)
+++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.wsdl 2009-08-02 23:08:12 UTC (rev 434)
@@ -1,66 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name="ObjectProcessor" targetNamespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor"
- 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/ObjectProcessor"
- xmlns:dt="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/ObjectProcessor">
- <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="Common/CDDM.xsd"/>
- </xsd:schema>
- </types>
- <message name="ProcessCourseEventRequest">
- <part name="courseMessage" type="dt:courseMessageType"/>
- </message>
- <message name="ProcessCategoryEventRequest">
- <part name="categoryMessage" type="dt:categoryMessageType"/>
- </message>
- <message name="ProcessAccountEventRequest">
- <part name="accountMessage" type="dt:accountMessageType"/>
- </message>
- <portType name="ObjectProcessorPortType">
- <operation name="processCourseEvent">
- <input name="input1" message="tns:ProcessCourseEventRequest"/>
- </operation>
- <operation name="processCategoryEvent">
- <input name="input2" message="tns:ProcessCategoryEventRequest"/>
- </operation>
- <operation name="processAccountEvent">
- <input name="input3" message="tns:ProcessAccountEventRequest"/>
- </operation>
- </portType>
- <binding name="ObjectProcessorPortTypeBinding" type="tns:ObjectProcessorPortType">
- <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
- <operation name="processCourseEvent">
- <soap:operation/>
- <input name="input1">
- <soap:body use="literal"/>
- </input>
- </operation>
- <operation name="processCategoryEvent">
- <soap:operation/>
- <input name="input2">
- <soap:body use="literal"/>
- </input>
- </operation>
- <operation name="processAccountEvent">
- <soap:operation/>
- <input name="input3">
- <soap:body use="literal"/>
- </input>
- </operation>
- </binding>
- <service name="ObjectProcessorService">
- <port name="ObjectProcessorPortTypeBindingPort" binding="tns:ObjectProcessorPortTypeBinding">
- <soap:address location="http://localhost:${HttpDefaultPort}/service"/>
- </port>
- </service>
- <plnk:partnerLinkType name="ObjectProcessor">
- <!-- A partner link type is automatically generated when a new port type is added. Partner link types are used by BPEL processes.
-In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type.
-A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.-->
- <plnk:role name="ObjectProcessorPortTypeRole" portType="tns:ObjectProcessorPortType"/>
- </plnk:partnerLinkType>
-</definitions>
Deleted: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.bpel
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.bpel 2009-08-02 23:06:46 UTC (rev 433)
+++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.bpel 2009-08-02 23:08:12 UTC (rev 434)
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<process
- name="ReplyProcessor"
- targetNamespace="http://enterprise.netbeans.org/bpel/ObjectProcessor/ReplyProcessor"
- 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:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions"
- xmlns:tns="http://enterprise.netbeans.org/bpel/ObjectProcessor/ReplyProcessor">
-
- <import namespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" location="ReplyProcessor.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
-
- <partnerLinks>
- <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" partnerLinkType="tns:ReplyProcessor"
- myRole="ReplyProcessorPortTypeRole"/>
- </partnerLinks>
- <variables>
- <variable name="ProcessReplyIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" messageType="tns:processReplyRequest"/>
-
- </variables>
- <sequence>
- <receive name="start" createInstance="yes" partnerLink="ClientAdapter" operation="processReply"
- xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor"
- portType="tns:ReplyProcessorPortType"
- variable="ProcessReplyIn"/>
-
- <empty name="debugReply">
- <sxt:trace>
- <sxt:log level="info" location="onComplete">
- <from>concat('*** Recieved reply: ', sxxf:doMarshal($ProcessReplyIn.eventReply))</from>
- </sxt:log>
- </sxt:trace>
- </empty>
-
- </sequence>
-</process>
Deleted: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.wsdl
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.wsdl 2009-08-02 23:06:46 UTC (rev 433)
+++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.wsdl 2009-08-02 23:08:12 UTC (rev 434)
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<definitions name="ReplyProcessor" targetNamespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor"
- 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/ReplyProcessor" xmlns:ns="http://cse.campussource.de/schema/DataTypes" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype">
- <types>
- <xsd:schema targetNamespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor">
- <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="Common/CDDM.xsd"/>
- </xsd:schema>
- </types>
- <message name="processReplyRequest">
- <part name="eventReply" element="ns:eventReplyMessage"/>
- </message>
- <portType name="ReplyProcessorPortType">
- <operation name="processReply">
- <input name="input1" message="tns:processReplyRequest"/>
- </operation>
- </portType>
- <plnk:partnerLinkType name="ReplyProcessor">
- <!-- A partner link type is automatically generated when a new port type is added. Partner link types are used by BPEL processes.
-In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type.
-A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.-->
- <plnk:role name="ReplyProcessorPortTypeRole" portType="tns:ReplyProcessorPortType"/>
- </plnk:partnerLinkType>
-</definitions>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|