You can subscribe to this list here.
| 2009 |
Jan
|
Feb
(28) |
Mar
(85) |
Apr
(81) |
May
(32) |
Jun
(51) |
Jul
(134) |
Aug
(21) |
Sep
|
Oct
|
Nov
|
Dec
|
|---|
|
From: <pka...@us...> - 2009-07-28 14:33:30
|
Revision: 387
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=387&view=rev
Author: pkasprzak
Date: 2009-07-28 14:33:21 +0000 (Tue, 28 Jul 2009)
Log Message:
-----------
* DependencyManager + SystemManager WS-Interface
Added Paths:
-----------
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/DependencyManagerNotification/
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/DependencyManagerNotification/DependencyManagerNotification.wsdl
Added: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/DependencyManagerNotification/DependencyManagerNotification.wsdl
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/DependencyManagerNotification/DependencyManagerNotification.wsdl (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/DependencyManagerNotification/DependencyManagerNotification.wsdl 2009-07-28 14:33:21 UTC (rev 387)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="windows-1252"?>
+<definitions name="DependencyManagerNotification" targetNamespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification"
+ 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/Common/DependencyManagerNotification" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop">
+ <types/>
+ <message name="notifyRequest">
+ <part name="entityId" type="xsd:int"/>
+ <part name="system" type="xsd:string"/>
+ </message>
+ <portType name="DependencyManagerNotificationPortType">
+ <operation name="notify">
+ <input name="input1" message="tns:notifyRequest"/>
+ </operation>
+ </portType>
+ <binding name="DependencyManagerNotificationBinding" type="tns:DependencyManagerNotificationPortType">
+ <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="notify">
+ <soap:operation/>
+ <input name="input1">
+ <soap:body use="literal" namespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification"/>
+ </input>
+ </operation>
+ </binding>
+ <service name="DependencyManagerNotificationService">
+ <port name="DependencyManagerNotificationPort" binding="tns:DependencyManagerNotificationBinding">
+ <soap:address location="http://localhost:${HttpDefaultPort}/DependencyManagerNotificationService/DependencyManagerNotificationPort"/>
+ </port>
+ </service>
+
+ <plnk:partnerLinkType name="DependencyManagerNotification">
+ <plnk:role name="DependencyManagerNotificationPortTypeRole" portType="tns:DependencyManagerNotificationPortType"/>
+ </plnk:partnerLinkType>
+
+ <vprop:property name="EntityId" type="xsd:int"/>
+ <vprop:property name="System" type="xsd:string"/>
+ <vprop:propertyAlias propertyName="tns:EntityId" messageType="tns:notifyRequest" part="entityId"/>
+ <vprop:propertyAlias propertyName="tns:System" messageType="tns:notifyRequest" part="system"/>
+
+</definitions>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-28 14:31:23
|
Revision: 386
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=386&view=rev
Author: pkasprzak
Date: 2009-07-28 14:31:11 +0000 (Tue, 28 Jul 2009)
Log Message:
-----------
* DependencyManager + SystemManager WS-Interface
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/catalog.xml
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jax-ws.xml
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jaxws-build.xml
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManagerImpl.java
Added Paths:
-----------
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyManagerWS.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManagerWS.java
Removed Paths:
-------------
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/DependencyManagerNotification/
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/catalog.xml
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/catalog.xml 2009-07-28 14:28:29 UTC (rev 385)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/catalog.xml 2009-07-28 14:31:11 UTC (rev 386)
@@ -2,4 +2,5 @@
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
<system systemId="file:/home/pete/dipl/devel/cse-ip/CSECore-ejb/../Common/src/CDDM.xsd" uri="src/conf/xml-resources/jaxb/cddm/CDDM.xsd"/>
<system systemId="file:/home/pete/dipl/devel/cse-ip/Common/src/DependencyManagerNotification.wsdl" uri="src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl"/>
+ <system systemId="file:/home/pete/NetBeansProjects/CSE-IP/Common/src/DependencyManagerNotification.wsdl" uri="src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl"/>
</catalog>
\ No newline at end of file
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jax-ws.xml
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jax-ws.xml 2009-07-28 14:28:29 UTC (rev 385)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jax-ws.xml 2009-07-28 14:31:11 UTC (rev 386)
@@ -10,10 +10,16 @@
<service name="RelationManager">
<implementation-class>de.campussource.cse.core.RelationManagerWS</implementation-class>
</service>
+ <service name="DependencyManagerWS">
+ <implementation-class>de.campussource.cse.core.DependencyManagerWS</implementation-class>
+ </service>
+ <service name="SystemManagerWS">
+ <implementation-class>de.campussource.cse.core.SystemManagerWS</implementation-class>
+ </service>
</services>
<clients>
<client name="DependencyManagerNotification">
- <wsdl-url>file:/home/pete/dipl/devel/cse-ip/Common/src/DependencyManagerNotification.wsdl</wsdl-url>
+ <wsdl-url>file:/home/pete/NetBeansProjects/CSE-IP/Common/src/DependencyManagerNotification.wsdl</wsdl-url>
<local-wsdl-file>DependencyManagerNotification.wsdl</local-wsdl-file>
<package-name>org.netbeans.j2ee.wsdl.common.dependencymanagernotification</package-name>
<catalog-file>catalog.xml</catalog-file>
@@ -28,7 +34,7 @@
</wsimport-option>
<wsimport-option>
<wsimport-option-name>wsdlLocation</wsimport-option-name>
- <wsimport-option-value>file:/home/pete/dipl/devel/cse-ip/Common/src/DependencyManagerNotification.wsdl</wsimport-option-value>
+ <wsimport-option-value>file:/home/pete/NetBeansProjects/CSE-IP/Common/src/DependencyManagerNotification.wsdl</wsimport-option-value>
</wsimport-option>
<wsimport-option>
<wsimport-option-name>xnocompile</wsimport-option-name>
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jaxws-build.xml
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jaxws-build.xml 2009-07-28 14:28:29 UTC (rev 385)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jaxws-build.xml 2009-07-28 14:31:11 UTC (rev 386)
@@ -13,7 +13,7 @@
<classpath path="${j2ee.platform.wsgen.classpath}"/>
</taskdef>
</target>
- <target name="wsgen-compile" depends="wsgen-EntityManager, wsgen-IdentityManager, wsgen-RelationManager">
+ <target name="wsgen-compile" depends="wsgen-EntityManager, wsgen-IdentityManager, wsgen-RelationManager, wsgen-DependencyManagerWS, wsgen-SystemManagerWS">
<ejbjarproject2:javac srcdir="${build.generated.dir}/wsgen/service" classpath="${j2ee.platform.wsgen.classpath}:${javac.classpath}" destdir="${classes.dir}"/>
</target>
<target name="wsgen-EntityManager" depends="wsgen-init, -do-compile">
@@ -31,6 +31,16 @@
<classpath path="${java.home}/../lib/tools.jar:${classes.dir}:${j2ee.platform.wsgen.classpath}:${javac.classpath}"/>
</wsgen>
</target>
+ <target name="wsgen-DependencyManagerWS" depends="wsgen-init, -do-compile">
+ <wsgen destdir="${build.generated.dir}/wsgen/binaries" sourcedestdir="${build.generated.dir}/wsgen/service" resourcedestdir="${build.generated.dir}/wsgen/service/resources/" xendorsed="true" keep="false" genwsdl="true" sei="de.campussource.cse.core.DependencyManagerWS">
+ <classpath path="${java.home}/../lib/tools.jar:${classes.dir}:${j2ee.platform.wsgen.classpath}:${javac.classpath}"/>
+ </wsgen>
+ </target>
+ <target name="wsgen-SystemManagerWS" depends="wsgen-init, -do-compile">
+ <wsgen destdir="${build.generated.dir}/wsgen/binaries" sourcedestdir="${build.generated.dir}/wsgen/service" resourcedestdir="${build.generated.dir}/wsgen/service/resources/" xendorsed="true" keep="false" genwsdl="true" sei="de.campussource.cse.core.SystemManagerWS">
+ <classpath path="${java.home}/../lib/tools.jar:${classes.dir}:${j2ee.platform.wsgen.classpath}:${javac.classpath}"/>
+ </wsgen>
+ </target>
<!--
===================
JAX-WS WSIMPORT SECTION
@@ -51,7 +61,7 @@
</target>
<target name="wsimport-client-DependencyManagerNotification" depends="wsimport-init,wsimport-client-check-DependencyManagerNotification" unless="wsimport-client-DependencyManagerNotification.notRequired">
<property name="wsdl-DependencyManagerNotification" location="${meta.inf}/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl"/>
- <wsimport sourcedestdir="${build.generated.dir}/wsimport/client" destdir="${build.generated.dir}/wsimport/binaries" wsdl="${wsdl-DependencyManagerNotification}" catalog="catalog.xml" extension="true" verbose="true" wsdlLocation="file:/home/pete/dipl/devel/cse-ip/Common/src/DependencyManagerNotification.wsdl" xnocompile="true"/>
+ <wsimport sourcedestdir="${build.generated.dir}/wsimport/client" destdir="${build.generated.dir}/wsimport/binaries" wsdl="${wsdl-DependencyManagerNotification}" catalog="catalog.xml" extension="true" verbose="true" wsdlLocation="file:/home/pete/NetBeansProjects/CSE-IP/Common/src/DependencyManagerNotification.wsdl" xnocompile="true"/>
</target>
<target name="wsimport-client-clean-DependencyManagerNotification" depends="-init-project">
<delete dir="${build.generated.dir}/wsimport/client/org/netbeans/j2ee/wsdl/common/dependencymanagernotification"/>
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl 2009-07-28 14:28:29 UTC (rev 385)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl 2009-07-28 14:31:11 UTC (rev 386)
@@ -2,7 +2,7 @@
<definitions name="DependencyManagerNotification" targetNamespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification"
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/Common/DependencyManagerNotification" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop">
<types/>
<message name="notifyRequest">
<part name="entityId" type="xsd:int"/>
@@ -27,10 +27,14 @@
<soap:address location="http://localhost:${HttpDefaultPort}/DependencyManagerNotificationService/DependencyManagerNotificationPort"/>
</port>
</service>
+
<plnk:partnerLinkType name="DependencyManagerNotification">
- <!-- 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="DependencyManagerNotificationPortTypeRole" portType="tns:DependencyManagerNotificationPortType"/>
</plnk:partnerLinkType>
+
+ <vprop:property name="EntityId" type="xsd:int"/>
+ <vprop:property name="System" type="xsd:string"/>
+ <vprop:propertyAlias propertyName="tns:EntityId" messageType="tns:notifyRequest" part="entityId"/>
+ <vprop:propertyAlias propertyName="tns:System" messageType="tns:notifyRequest" part="system"/>
+
</definitions>
Added: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyManagerWS.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyManagerWS.java (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyManagerWS.java 2009-07-28 14:31:11 UTC (rev 386)
@@ -0,0 +1,39 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package de.campussource.cse.core;
+
+import javax.ejb.EJB;
+import javax.jws.Oneway;
+import javax.jws.WebMethod;
+import javax.jws.WebParam;
+import javax.jws.WebService;
+import javax.ejb.Stateless;
+
+/**
+ *
+ * @author pete
+ */
+@WebService(name = "DependencyManager", targetNamespace="http://cse.campussource.de/ejb/DependencyManager")
+@Stateless()
+public class DependencyManagerWS {
+
+ @EJB
+ private DependencyManager ejbRef;
+
+ @WebMethod(operationName = "waitForDependencies")
+ @Oneway
+ public void waitForDependencies( @WebParam(name = "entityId") int entityId) {
+ ejbRef.waitForDependencies(entityId);
+ }
+
+ @WebMethod(operationName = "satisfyDependencies")
+ @Oneway
+ public void satisfyDependencies( @WebParam(name = "entityId") int entityId,
+ @WebParam(name = "system") String system) {
+ ejbRef.satisfyDependencies(entityId, system);
+ }
+
+}
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManagerImpl.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManagerImpl.java 2009-07-28 14:28:29 UTC (rev 385)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManagerImpl.java 2009-07-28 14:31:11 UTC (rev 386)
@@ -17,6 +17,7 @@
@PersistenceContext
private EntityManager em;
+ // ----------------------------------------------------------------------------------------------------------------
public List<String> getOutboundSystems() {
List<String> systems = new LinkedList<String>();
Added: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManagerWS.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManagerWS.java (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManagerWS.java 2009-07-28 14:31:11 UTC (rev 386)
@@ -0,0 +1,25 @@
+package de.campussource.cse.core;
+
+import java.util.List;
+import javax.ejb.EJB;
+import javax.jws.WebMethod;
+import javax.jws.WebService;
+import javax.ejb.Stateless;
+
+/**
+ *
+ * @author pete
+ */
+@WebService(name = "SystemManager", targetNamespace="http://cse.campussource.de/ejb/SystemManager")
+@Stateless()
+public class SystemManagerWS {
+
+ @EJB
+ private SystemManager ejbRef;
+
+ @WebMethod(operationName = "getOutboundSystems")
+ public List<String> getOutboundSystems() {
+ return ejbRef.getOutboundSystems();
+ }
+
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-28 14:28:51
|
Revision: 385
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=385&view=rev
Author: pkasprzak
Date: 2009-07-28 14:28:29 +0000 (Tue, 28 Jul 2009)
Log Message:
-----------
* DependencyManager + SystemManager WS-Interface
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/Common/src/DependencyManagerNotification.wsdl
Added Paths:
-----------
trunk/sandbox/lsf-adapter-demo/Common/src/DependencyManager.wsdl
trunk/sandbox/lsf-adapter-demo/Common/src/DependencyManager.xsd
trunk/sandbox/lsf-adapter-demo/Common/src/SystemManager.wsdl
trunk/sandbox/lsf-adapter-demo/Common/src/SystemManager.xsd
Added: trunk/sandbox/lsf-adapter-demo/Common/src/DependencyManager.wsdl
===================================================================
--- trunk/sandbox/lsf-adapter-demo/Common/src/DependencyManager.wsdl (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/Common/src/DependencyManager.wsdl 2009-07-28 14:28:29 UTC (rev 385)
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. -->
+<!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. -->
+<definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://cse.campussource.de/ejb/DependencyManager"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ targetNamespace="http://cse.campussource.de/ejb/DependencyManager"
+ name="DependencyManagerWSService">
+
+ <ns1:Policy xmlns:ns1="http://www.w3.org/ns/ws-policy" wsu:Id="DependencyManagerPortBinding_satisfyDependencies_WSAT_Policy">
+ <ns1:ExactlyOne>
+ <ns1:All>
+ <ns2:ATAlwaysCapability xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns2:ATAlwaysCapability>
+ <ns3:ATAssertion xmlns:ns4="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns3="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns1:Optional="true" ns4:Optional="true"></ns3:ATAssertion>
+ </ns1:All>
+ </ns1:ExactlyOne>
+ </ns1:Policy>
+ <ns5:Policy xmlns:ns5="http://www.w3.org/ns/ws-policy" wsu:Id="DependencyManagerPortBinding_waitForDependencies_WSAT_Policy">
+ <ns5:ExactlyOne>
+ <ns5:All>
+ <ns6:ATAlwaysCapability xmlns:ns6="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns6:ATAlwaysCapability>
+ <ns7:ATAssertion xmlns:ns8="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns7="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns5:Optional="true" ns8:Optional="true"></ns7:ATAssertion>
+ </ns5:All>
+ </ns5:ExactlyOne>
+ </ns5:Policy>
+
+ <types>
+ <xsd:schema>
+ <xsd:import namespace="http://cse.campussource.de/ejb/DependencyManager" schemaLocation="DependencyManager.xsd"></xsd:import>
+ </xsd:schema>
+ </types>
+ <message name="waitForDependencies">
+ <part name="parameters" element="tns:waitForDependencies"></part>
+ </message>
+ <message name="satisfyDependencies">
+ <part name="parameters" element="tns:satisfyDependencies"></part>
+ </message>
+ <portType name="DependencyManager">
+ <operation name="waitForDependencies">
+ <input message="tns:waitForDependencies"></input>
+ </operation>
+ <operation name="satisfyDependencies">
+ <input message="tns:satisfyDependencies"></input>
+
+ </operation>
+ </portType>
+
+ <binding name="DependencyManagerPortBinding" type="tns:DependencyManager">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
+ <operation name="waitForDependencies">
+ <ns9:PolicyReference xmlns:ns9="http://www.w3.org/ns/ws-policy" URI="#DependencyManagerPortBinding_waitForDependencies_WSAT_Policy"></ns9:PolicyReference>
+ <soap:operation soapAction=""></soap:operation>
+ <input>
+ <soap:body use="literal"></soap:body>
+ </input>
+ </operation>
+ <operation name="satisfyDependencies">
+ <ns10:PolicyReference xmlns:ns10="http://www.w3.org/ns/ws-policy" URI="#DependencyManagerPortBinding_satisfyDependencies_WSAT_Policy"></ns10:PolicyReference>
+ <soap:operation soapAction=""></soap:operation>
+ <input>
+ <soap:body use="literal"></soap:body>
+ </input>
+
+ </operation>
+ </binding>
+
+ <service name="DependencyManagerWSService">
+ <port name="DependencyManagerPort" binding="tns:DependencyManagerPortBinding">
+ <soap:address location="http://localhost:8080/DependencyManagerWSService/DependencyManager"></soap:address>
+ </port>
+ </service>
+
+ <plnk:partnerLinkType name="DependencyManagerLinkType">
+ <plnk:role name="DependencyManagerRole" portType="tns:DependencyManager"/>
+ </plnk:partnerLinkType>
+
+ <vprop:property name="EntityId" type="xsd:int"/>
+
+ <vprop:propertyAlias propertyName="tns:EntityId" messageType="tns:waitForDependencies" part="parameters">
+ <vprop:query>/tns:waitForDependencies/entityId</vprop:query>
+ </vprop:propertyAlias>
+
+</definitions>
\ No newline at end of file
Added: trunk/sandbox/lsf-adapter-demo/Common/src/DependencyManager.xsd
===================================================================
--- trunk/sandbox/lsf-adapter-demo/Common/src/DependencyManager.xsd (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/Common/src/DependencyManager.xsd 2009-07-28 14:28:29 UTC (rev 385)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. -->
+<xs:schema xmlns:tns="http://cse.campussource.de/ejb/DependencyManager" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" targetNamespace="http://cse.campussource.de/ejb/DependencyManager">
+
+ <xs:element name="satisfyDependencies" type="tns:satisfyDependencies"></xs:element>
+
+ <xs:element name="waitForDependencies" type="tns:waitForDependencies"></xs:element>
+
+ <xs:complexType name="satisfyDependencies">
+ <xs:sequence>
+ <xs:element name="entityId" type="xs:int"></xs:element>
+ <xs:element name="system" type="xs:string" minOccurs="0"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="waitForDependencies">
+ <xs:sequence>
+ <xs:element name="entityId" type="xs:int"></xs:element>
+ </xs:sequence>
+
+ </xs:complexType>
+</xs:schema>
\ No newline at end of file
Modified: trunk/sandbox/lsf-adapter-demo/Common/src/DependencyManagerNotification.wsdl
===================================================================
--- trunk/sandbox/lsf-adapter-demo/Common/src/DependencyManagerNotification.wsdl 2009-07-28 11:56:56 UTC (rev 384)
+++ trunk/sandbox/lsf-adapter-demo/Common/src/DependencyManagerNotification.wsdl 2009-07-28 14:28:29 UTC (rev 385)
@@ -1,8 +1,14 @@
<?xml version="1.0" encoding="windows-1252"?>
-<definitions name="DependencyManagerNotification" targetNamespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification"
- 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/Common/DependencyManagerNotification" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop">
+<definitions name="DependencyManagerNotification"
+ targetNamespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification"
+ 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/Common/DependencyManagerNotification"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop">
+
<types/>
<message name="notifyRequest">
<part name="entityId" type="xsd:int"/>
@@ -33,8 +39,12 @@
</plnk:partnerLinkType>
<vprop:property name="EntityId" type="xsd:int"/>
+ <vprop:propertyAlias propertyName="tns:EntityId" messageType="tns:notifyRequest" part="entityId">
+<!-- <vprop:query>/</vprop:query> -->
+ </vprop:propertyAlias>
+
+<!--
<vprop:property name="System" type="xsd:string"/>
- <vprop:propertyAlias propertyName="tns:EntityId" messageType="tns:notifyRequest" part="entityId"/>
<vprop:propertyAlias propertyName="tns:System" messageType="tns:notifyRequest" part="system"/>
-
+-->
</definitions>
Added: trunk/sandbox/lsf-adapter-demo/Common/src/SystemManager.wsdl
===================================================================
--- trunk/sandbox/lsf-adapter-demo/Common/src/SystemManager.wsdl (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/Common/src/SystemManager.wsdl 2009-07-28 14:28:29 UTC (rev 385)
@@ -0,0 +1,61 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. -->
+<!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. -->
+<definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
+ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+ xmlns:tns="http://cse.campussource.de/ejb/SystemManager"
+ xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
+ xmlns="http://schemas.xmlsoap.org/wsdl/"
+ targetNamespace="http://cse.campussource.de/ejb/SystemManager"
+ name="SystemManagerWSService">
+
+ <ns1:Policy xmlns:ns1="http://www.w3.org/ns/ws-policy" wsu:Id="SystemManagerPortBinding_getOutboundSystems_WSAT_Policy">
+ <ns1:ExactlyOne>
+ <ns1:All>
+ <ns2:ATAlwaysCapability xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns2:ATAlwaysCapability>
+ <ns3:ATAssertion xmlns:ns4="http://schemas.xmlsoap.org/ws/2002/12/policy" xmlns:ns3="http://schemas.xmlsoap.org/ws/2004/10/wsat" ns1:Optional="true" ns4:Optional="true"></ns3:ATAssertion>
+ </ns1:All>
+ </ns1:ExactlyOne>
+ </ns1:Policy>
+ <types>
+ <xsd:schema>
+ <xsd:import namespace="http://cse.campussource.de/ejb/SystemManager" schemaLocation="SystemManager.xsd"></xsd:import>
+ </xsd:schema>
+ </types>
+ <message name="getOutboundSystems">
+ <part name="parameters" element="tns:getOutboundSystems"></part>
+ </message>
+
+ <message name="getOutboundSystemsResponse">
+ <part name="parameters" element="tns:getOutboundSystemsResponse"></part>
+ </message>
+ <portType name="SystemManager">
+ <operation name="getOutboundSystems">
+ <input message="tns:getOutboundSystems"></input>
+ <output message="tns:getOutboundSystemsResponse"></output>
+ </operation>
+ </portType>
+ <binding name="SystemManagerPortBinding" type="tns:SystemManager">
+ <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
+ <operation name="getOutboundSystems">
+ <ns5:PolicyReference xmlns:ns5="http://www.w3.org/ns/ws-policy" URI="#SystemManagerPortBinding_getOutboundSystems_WSAT_Policy"></ns5:PolicyReference>
+ <soap:operation soapAction=""></soap:operation>
+ <input>
+ <soap:body use="literal"></soap:body>
+ </input>
+
+ <output>
+ <soap:body use="literal"></soap:body>
+ </output>
+ </operation>
+ </binding>
+ <service name="SystemManagerWSService">
+ <port name="SystemManagerPort" binding="tns:SystemManagerPortBinding">
+ <soap:address location="http://localhost:8080/SystemManagerWSService/SystemManager"></soap:address>
+ </port>
+ </service>
+ <plnk:partnerLinkType name="SystemManagerLinkType">
+ <plnk:role name="SystemManagerRole" portType="tns:SystemManager"/>
+ </plnk:partnerLinkType>
+</definitions>
\ No newline at end of file
Added: trunk/sandbox/lsf-adapter-demo/Common/src/SystemManager.xsd
===================================================================
--- trunk/sandbox/lsf-adapter-demo/Common/src/SystemManager.xsd (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/Common/src/SystemManager.xsd 2009-07-28 14:28:29 UTC (rev 385)
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. -->
+<xs:schema xmlns:tns="http://cse.campussource.de/ejb/SystemManager" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" targetNamespace="http://cse.campussource.de/ejb/SystemManager">
+
+ <xs:element name="getOutboundSystems" type="tns:getOutboundSystems"></xs:element>
+
+ <xs:element name="getOutboundSystemsResponse" type="tns:getOutboundSystemsResponse"></xs:element>
+
+ <xs:complexType name="getOutboundSystems">
+ <xs:sequence></xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="getOutboundSystemsResponse">
+ <xs:sequence>
+ <xs:element name="return" type="xs:string" minOccurs="0" maxOccurs="unbounded"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+</xs:schema>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-28 11:57:07
|
Revision: 384
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=384&view=rev
Author: pkasprzak
Date: 2009-07-28 11:56:56 +0000 (Tue, 28 Jul 2009)
Log Message:
-----------
* Fix mapping / EJBQL errors
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Dependency.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Entity.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/WaitingProcess.java
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Dependency.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Dependency.java 2009-07-27 22:16:47 UTC (rev 383)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Dependency.java 2009-07-28 11:56:56 UTC (rev 384)
@@ -19,7 +19,7 @@
@NamedQueries({
@NamedQuery( name = "Dependency.getByEntityIdAndSystem",
- query = "SELECT d FROM Dependency WHERE d.process.system = :system AND d.entityId = :entityId")
+ query = "SELECT d FROM Dependency d WHERE d.process.system = :system AND d.entityId = :entityId")
})
@Entity
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Entity.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Entity.java 2009-07-27 22:16:47 UTC (rev 383)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Entity.java 2009-07-28 11:56:56 UTC (rev 384)
@@ -33,7 +33,7 @@
private boolean proxy;
/* List of attributes of this object */
- @OneToMany(mappedBy = "entityId", cascade = CascadeType.ALL, fetch = FetchType.EAGER)
+ @OneToMany(mappedBy = "entity", cascade = CascadeType.ALL, fetch = FetchType.EAGER)
private Collection<Attribute> attributes = new ArrayList<Attribute>();
@Override
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/WaitingProcess.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/WaitingProcess.java 2009-07-27 22:16:47 UTC (rev 383)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/WaitingProcess.java 2009-07-28 11:56:56 UTC (rev 384)
@@ -36,7 +36,7 @@
private Long id;
/* Concrete dependencies associated with represented process instance */
- @OneToMany(mappedBy = "processId", cascade = CascadeType.ALL, fetch = FetchType.EAGER)
+ @OneToMany(mappedBy = "process", cascade = CascadeType.ALL, fetch = FetchType.EAGER)
private Collection<Dependency> dependencies = new LinkedList<Dependency>();
/**
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-27 22:16:56
|
Revision: 383
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=383&view=rev
Author: pkasprzak
Date: 2009-07-27 22:16:47 +0000 (Mon, 27 Jul 2009)
Log Message:
-----------
* Stuff :)
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa
trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/java-cfg-CSECore-ejb.xml
Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa 2009-07-27 22:15:24 UTC (rev 382)
+++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa 2009-07-27 22:16:47 UTC (rev 383)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<casa xmlns="http://java.sun.com/xml/ns/casa" xmlns:ns1="urn:ilUserAdministration" xmlns:ns10="http://cse.campussource.de/ejb/EntityManager" xmlns:ns11="http://cse.campussource.de/ejb/IdentityManager" xmlns:ns12="http://cse.campussource.de/bpel/ILIASClientAdapter/ResolveEPR" xmlns:ns13="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" xmlns:ns14="http://cse.campussource.de/bpel/ILIASClientAdapter/UpdateCourse" xmlns:ns15="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateCourse" xmlns:ns16="http://cse.campussource.de/bpel/ILIASClientAdapter/DeleteCategory" xmlns:ns17="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCategory" xmlns:ns18="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateAccount" xmlns:ns19="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateAccount" xmlns:ns2="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" xmlns:ns20="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateCategory" xmlns:ns21="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateCategory" xmlns:ns22="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCourse" xmlns:ns23="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCourse" xmlns:ns24="http://cse.campussource.de/bpel/ILIASClientAdapter/AddAccount" xmlns:ns25="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddAccount" xmlns:ns26="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCategory" xmlns:ns27="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCategory" xmlns:ns28="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCourse" xmlns:ns29="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" xmlns:ns3="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" xmlns:ns30="http://cse.campussource.de/bpel/ILIASClientAdapter/DeleteAccount" xmlns:ns31="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteAccount" xmlns:ns32="http://cse.campussource.de/bpel/ILIASClientAdapter/OutboundClientAdapter" xmlns:ns33="http://cse.campussource.de/bpel/ILIASClientAdapter/Login" xmlns:ns34="http://cse.campussource.de/wsdl/ILIASClientAdapter/Login" xmlns:ns35="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" xmlns:ns36="http://enterprise.netbeans.org/bpel/ObjectProcessor/newProcess" xmlns:ns37="http://enterprise.netbeans.org/bpel/ObjectProcessor/ReplyProcessor" xmlns:ns38="http://enterprise.netbeans.org/bpel/ObjectProcessor/AddCourse" xmlns:ns39="http://enterprise.netbeans.org/bpel/LSFClientAdapter/InboundClientAdapter" xmlns:ns4="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" xmlns:ns40="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/LSFClientAdapter" xmlns:ns5="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:ns6="http://cse.campussource.de/ejb/ConfigurationManager" xmlns:ns7="http://cse.campussource.de/ejb/RelationManager" xmlns:ns8="LSFClientAdapterCA" xmlns:ns9="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" xmlns:xlink="http://www.w3.org/2000/xlink">
+<casa xmlns="http://java.sun.com/xml/ns/casa" xmlns:ns1="urn:ilUserAdministration" xmlns:ns10="http://cse.campussource.de/ejb/EntityManager" xmlns:ns11="http://cse.campussource.de/ejb/IdentityManager" xmlns:ns12="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" xmlns:ns13="http://cse.campussource.de/bpel/ILIASClientAdapter/ResolveEPR" xmlns:ns14="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" xmlns:ns15="http://cse.campussource.de/bpel/ILIASClientAdapter/UpdateCourse" xmlns:ns16="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateCourse" xmlns:ns17="http://cse.campussource.de/bpel/ILIASClientAdapter/DeleteCategory" xmlns:ns18="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCategory" xmlns:ns19="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateAccount" xmlns:ns2="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" xmlns:ns20="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateAccount" xmlns:ns21="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateCategory" xmlns:ns22="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateCategory" xmlns:ns23="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCourse" xmlns:ns24="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCourse" xmlns:ns25="http://cse.campussource.de/bpel/ILIASClientAdapter/AddAccount" xmlns:ns26="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddAccount" xmlns:ns27="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCategory" xmlns:ns28="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCategory" xmlns:ns29="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCourse" xmlns:ns3="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" xmlns:ns30="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" xmlns:ns31="http://cse.campussource.de/bpel/ILIASClientAdapter/DeleteAccount" xmlns:ns32="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteAccount" xmlns:ns33="http://cse.campussource.de/bpel/ILIASClientAdapter/OutboundClientAdapter" xmlns:ns34="http://cse.campussource.de/bpel/ILIASClientAdapter/Login" xmlns:ns35="http://cse.campussource.de/wsdl/ILIASClientAdapter/Login" xmlns:ns36="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" xmlns:ns37="http://enterprise.netbeans.org/bpel/ObjectProcessor/newProcess" xmlns:ns38="http://enterprise.netbeans.org/bpel/ObjectProcessor/ReplyProcessor" xmlns:ns39="http://enterprise.netbeans.org/bpel/ObjectProcessor/AddCourse" xmlns:ns4="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" xmlns:ns40="http://enterprise.netbeans.org/bpel/LSFClientAdapter/InboundClientAdapter" xmlns:ns41="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/LSFClientAdapter" xmlns:ns5="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:ns6="http://cse.campussource.de/ejb/ConfigurationManager" xmlns:ns7="http://cse.campussource.de/ejb/RelationManager" xmlns:ns8="LSFClientAdapterCA" xmlns:ns9="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" xmlns:xlink="http://www.w3.org/2000/xlink">
<endpoints>
<endpoint endpoint-name="ILIASSoapWebservicePort" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint1" service-name="ns1:ILIASSoapWebservice"/>
<endpoint endpoint-name="IdentityMapperPort" interface-name="ns2:IdentityMapperPortType" name="endpoint2" service-name="ns2:IdentityMapperService"/>
@@ -15,64 +15,67 @@
<endpoint endpoint-name="javaee_IdentityManagerPort" interface-name="ns11:IdentityManager" name="endpoint12" service-name="ns11:IdentityManagerWSService"/>
<endpoint endpoint-name="javaee_EntityManagerPort" interface-name="ns10:EntityManager" name="endpoint13" service-name="ns10:EntityManagerWSService"/>
<endpoint endpoint-name="javaee_RelationManagerPort" interface-name="ns7:RelationManager" name="endpoint14" service-name="ns7:RelationManagerWSService"/>
- <endpoint display-name="IliasAdapter" endpoint-name="ResolveEPRPortTypeRole_myRole" file-path="ResolveEPR.bpel" interface-name="ns13:ResolveEPRPortType" name="endpoint15" process-name="ResolveEPR" service-name="ns12:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="UpdateCoursePortTypeRole_myRole" file-path="UpdateCourse.bpel" interface-name="ns15:UpdateCoursePortType" name="endpoint16" process-name="UpdateCourse" service-name="ns14:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="DeleteCategoryPortTypeRole_myRole" file-path="DeleteCategory.bpel" interface-name="ns17:DeleteCategoryPortType" name="endpoint17" process-name="DeleteCategory" service-name="ns16:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="UpdateAccountPortTypeRole_myRole" file-path="UpdateAccount.bpel" interface-name="ns19:UpdateAccountPortType" name="endpoint18" process-name="UpdateAccount" service-name="ns18:IliasAdapter"/>
- <endpoint display-name="IliasAdpater" endpoint-name="UpdateCategoryPortTypeRole_myRole" file-path="UpdateCategory.bpel" interface-name="ns21:UpdateCategoryPortType" name="endpoint19" process-name="UpdateCategory" service-name="ns20:IliasAdpater"/>
- <endpoint display-name="IliasAdapter" endpoint-name="DeleteCoursePortTypeRole_myRole" file-path="DeleteCourse.bpel" interface-name="ns23:DeleteCoursePortType" name="endpoint20" process-name="DeleteCourse" service-name="ns22:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="AddAccountPortTypeRole_myRole" file-path="AddAccount.bpel" interface-name="ns25:AddAccountPortType" name="endpoint21" process-name="AddAccount" service-name="ns24:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="AddCategoryPortTypeRole_myRole" file-path="AddCategory.bpel" interface-name="ns27:AddCategoryPortType" name="endpoint22" process-name="AddCategory" service-name="ns26:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="AddCoursePortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns29:AddCoursePortType" name="endpoint23" process-name="AddCourse" service-name="ns28:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="DeleteAccountPortTypeRole_myRole" file-path="DeleteAccount.bpel" interface-name="ns31:DeleteAccountPortType" name="endpoint24" process-name="DeleteAccount" service-name="ns30:IliasAdapter"/>
- <endpoint display-name="ILIASAdapter" endpoint-name="ILIASClientAdapterPortTypeRole_myRole" file-path="OutboundClientAdapter.bpel" interface-name="ns5:ILIASClientAdapterPortType" name="endpoint25" process-name="OutboundClientAdapter" service-name="ns32:ILIASAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="LoginPortTypeRole_myRole" file-path="Login.bpel" interface-name="ns34:LoginPortType" name="endpoint26" process-name="Login" service-name="ns33:IliasAdapter"/>
- <endpoint display-name="ConfigurationManager" endpoint-name="ConfigurationManagerRole_partnerRole" file-path="ResolveEPR.bpel" interface-name="ns6:ConfigurationManager" name="endpoint27" process-name="ResolveEPR" service-name="ns12:ConfigurationManager"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint28" process-name="UpdateCourse" service-name="ns14:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint29" process-name="DeleteCategory" service-name="ns16:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint30" process-name="UpdateAccount" service-name="ns18:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint31" process-name="UpdateCategory" service-name="ns20:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint32" process-name="DeleteCourse" service-name="ns22:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint33" process-name="AddAccount" service-name="ns24:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint34" process-name="AddCategory" service-name="ns26:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint35" process-name="AddCourse" service-name="ns28:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint36" process-name="DeleteAccount" service-name="ns30:ILIAS"/>
- <endpoint display-name="ResolveEPR" endpoint-name="ResolveEPRPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns13:ResolveEPRPortType" name="endpoint37" process-name="OutboundClientAdapter" service-name="ns32:ResolveEPR"/>
- <endpoint display-name="Login" endpoint-name="LoginPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns34:LoginPortType" name="endpoint38" process-name="OutboundClientAdapter" service-name="ns32:Login"/>
- <endpoint display-name="AddCourse" endpoint-name="AddCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns29:AddCoursePortType" name="endpoint39" process-name="OutboundClientAdapter" service-name="ns32:AddCourse"/>
- <endpoint display-name="UpdateCourse" endpoint-name="UpdateCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns15:UpdateCoursePortType" name="endpoint40" process-name="OutboundClientAdapter" service-name="ns32:UpdateCourse"/>
- <endpoint display-name="DeleteCourse" endpoint-name="DeleteCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns23:DeleteCoursePortType" name="endpoint41" process-name="OutboundClientAdapter" service-name="ns32:DeleteCourse"/>
- <endpoint display-name="AddCategory" endpoint-name="AddCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns27:AddCategoryPortType" name="endpoint42" process-name="OutboundClientAdapter" service-name="ns32:AddCategory"/>
- <endpoint display-name="UpdateCategory" endpoint-name="UpdateCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns21:UpdateCategoryPortType" name="endpoint43" process-name="OutboundClientAdapter" service-name="ns32:UpdateCategory"/>
- <endpoint display-name="DeleteCategory" endpoint-name="DeleteCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns17:DeleteCategoryPortType" name="endpoint44" process-name="OutboundClientAdapter" service-name="ns32:DeleteCategory"/>
- <endpoint display-name="AddAccount" endpoint-name="AddAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns25:AddAccountPortType" name="endpoint45" process-name="OutboundClientAdapter" service-name="ns32:AddAccount"/>
- <endpoint display-name="UpdateAccount" endpoint-name="UpdateAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns19:UpdateAccountPortType" name="endpoint46" process-name="OutboundClientAdapter" service-name="ns32:UpdateAccount"/>
- <endpoint display-name="DeleteAccount" endpoint-name="DeleteAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns31:DeleteAccountPortType" name="endpoint47" process-name="OutboundClientAdapter" service-name="ns32:DeleteAccount"/>
- <endpoint display-name="ReplyProcessor" endpoint-name="ReplyProcessorPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns35:ReplyProcessorPortType" name="endpoint48" process-name="OutboundClientAdapter" service-name="ns32:ReplyProcessor"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint49" process-name="OutboundClientAdapter" service-name="ns32:ILIAS"/>
- <endpoint display-name="ConfigurationManager" endpoint-name="ConfigurationManagerRole_partnerRole" file-path="Login.bpel" interface-name="ns6:ConfigurationManager" name="endpoint50" process-name="Login" service-name="ns33:ConfigurationManager"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="Login.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint51" process-name="Login" service-name="ns33:ILIAS"/>
- <endpoint display-name="ClientAdapter" endpoint-name="ObjectProcessorPortTypeRole_myRole" file-path="InboundObjectProcessor.bpel" interface-name="ns4:ObjectProcessorPortType" name="endpoint52" process-name="InboundObjectProcessor" service-name="ns36:ClientAdapter"/>
- <endpoint display-name="ClientAdapter" endpoint-name="ReplyProcessorPortTypeRole_myRole" file-path="ReplyProcessor.bpel" interface-name="ns35:ReplyProcessorPortType" name="endpoint53" process-name="ReplyProcessor" service-name="ns37:ClientAdapter"/>
- <endpoint display-name="ClientAdapter" endpoint-name="AddCoursePortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns9:AddCoursePortType" name="endpoint54" process-name="AddCourse" service-name="ns38:ClientAdapter"/>
- <endpoint display-name="IdentityMapper" endpoint-name="IdentityMapperPortTypeRole_partnerRole" file-path="InboundObjectProcessor.bpel" interface-name="ns2:IdentityMapperPortType" name="endpoint55" process-name="InboundObjectProcessor" service-name="ns36:IdentityMapper"/>
- <endpoint display-name="EntityManager" endpoint-name="EntityManagerRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns10:EntityManager" name="endpoint56" process-name="AddCourse" service-name="ns38:EntityManager"/>
- <endpoint display-name="RelationManager" endpoint-name="RelationManagerRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns7:RelationManager" name="endpoint57" process-name="AddCourse" service-name="ns38:RelationManager"/>
- <endpoint display-name="IdentityManager" endpoint-name="IdentityManagerRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns11:IdentityManager" name="endpoint58" process-name="AddCourse" service-name="ns38:IdentityManager"/>
- <endpoint endpoint-name="javaee_IdentityMapperPort" interface-name="ns2:IdentityMapperPortType" name="endpoint59" service-name="ns2:IdentityMapperService"/>
- <endpoint endpoint-name="javaee_XSLTTransformPort" interface-name="ns3:XSLTTransformPortType" name="endpoint60" service-name="ns3:XSLTTransformService"/>
- <endpoint display-name="LSF" endpoint-name="LSFClientAdapterPortTypeRole_myRole" file-path="InboundClientAdapter.bpel" interface-name="ns40:LSFClientAdapterPortType" name="endpoint61" process-name="InboundClientAdapter" service-name="ns39:LSF"/>
- <endpoint display-name="XSLTTransform" endpoint-name="XSLTTransformPortTypeRole_partnerRole" file-path="InboundClientAdapter.bpel" interface-name="ns3:XSLTTransformPortType" name="endpoint62" process-name="InboundClientAdapter" service-name="ns39:XSLTTransform"/>
- <endpoint display-name="ObjectProcessor" endpoint-name="ObjectProcessorPortTypeRole_partnerRole" file-path="InboundClientAdapter.bpel" interface-name="ns4:ObjectProcessorPortType" name="endpoint63" process-name="InboundClientAdapter" service-name="ns39:ObjectProcessor"/>
+ <endpoint endpoint-name="javaee_DependencyManagerNotificationPort" interface-name="ns12:DependencyManagerNotificationPortType" name="endpoint15" service-name="ns12:DependencyManagerNotificationService"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="ResolveEPRPortTypeRole_myRole" file-path="ResolveEPR.bpel" interface-name="ns14:ResolveEPRPortType" name="endpoint16" process-name="ResolveEPR" service-name="ns13:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="UpdateCoursePortTypeRole_myRole" file-path="UpdateCourse.bpel" interface-name="ns16:UpdateCoursePortType" name="endpoint17" process-name="UpdateCourse" service-name="ns15:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="DeleteCategoryPortTypeRole_myRole" file-path="DeleteCategory.bpel" interface-name="ns18:DeleteCategoryPortType" name="endpoint18" process-name="DeleteCategory" service-name="ns17:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="UpdateAccountPortTypeRole_myRole" file-path="UpdateAccount.bpel" interface-name="ns20:UpdateAccountPortType" name="endpoint19" process-name="UpdateAccount" service-name="ns19:IliasAdapter"/>
+ <endpoint display-name="IliasAdpater" endpoint-name="UpdateCategoryPortTypeRole_myRole" file-path="UpdateCategory.bpel" interface-name="ns22:UpdateCategoryPortType" name="endpoint20" process-name="UpdateCategory" service-name="ns21:IliasAdpater"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="DeleteCoursePortTypeRole_myRole" file-path="DeleteCourse.bpel" interface-name="ns24:DeleteCoursePortType" name="endpoint21" process-name="DeleteCourse" service-name="ns23:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="AddAccountPortTypeRole_myRole" file-path="AddAccount.bpel" interface-name="ns26:AddAccountPortType" name="endpoint22" process-name="AddAccount" service-name="ns25:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="AddCategoryPortTypeRole_myRole" file-path="AddCategory.bpel" interface-name="ns28:AddCategoryPortType" name="endpoint23" process-name="AddCategory" service-name="ns27:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="AddCoursePortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns30:AddCoursePortType" name="endpoint24" process-name="AddCourse" service-name="ns29:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="DeleteAccountPortTypeRole_myRole" file-path="DeleteAccount.bpel" interface-name="ns32:DeleteAccountPortType" name="endpoint25" process-name="DeleteAccount" service-name="ns31:IliasAdapter"/>
+ <endpoint display-name="ILIASAdapter" endpoint-name="ILIASClientAdapterPortTypeRole_myRole" file-path="OutboundClientAdapter.bpel" interface-name="ns5:ILIASClientAdapterPortType" name="endpoint26" process-name="OutboundClientAdapter" service-name="ns33:ILIASAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="LoginPortTypeRole_myRole" file-path="Login.bpel" interface-name="ns35:LoginPortType" name="endpoint27" process-name="Login" service-name="ns34:IliasAdapter"/>
+ <endpoint display-name="ConfigurationManager" endpoint-name="ConfigurationManagerRole_partnerRole" file-path="ResolveEPR.bpel" interface-name="ns6:ConfigurationManager" name="endpoint28" process-name="ResolveEPR" service-name="ns13:ConfigurationManager"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint29" process-name="UpdateCourse" service-name="ns15:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint30" process-name="DeleteCategory" service-name="ns17:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint31" process-name="UpdateAccount" service-name="ns19:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint32" process-name="UpdateCategory" service-name="ns21:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint33" process-name="DeleteCourse" service-name="ns23:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint34" process-name="AddAccount" service-name="ns25:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint35" process-name="AddCategory" service-name="ns27:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint36" process-name="AddCourse" service-name="ns29:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint37" process-name="DeleteAccount" service-name="ns31:ILIAS"/>
+ <endpoint display-name="ResolveEPR" endpoint-name="ResolveEPRPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns14:ResolveEPRPortType" name="endpoint38" process-name="OutboundClientAdapter" service-name="ns33:ResolveEPR"/>
+ <endpoint display-name="Login" endpoint-name="LoginPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns35:LoginPortType" name="endpoint39" process-name="OutboundClientAdapter" service-name="ns33:Login"/>
+ <endpoint display-name="AddCourse" endpoint-name="AddCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns30:AddCoursePortType" name="endpoint40" process-name="OutboundClientAdapter" service-name="ns33:AddCourse"/>
+ <endpoint display-name="UpdateCourse" endpoint-name="UpdateCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns16:UpdateCoursePortType" name="endpoint41" process-name="OutboundClientAdapter" service-name="ns33:UpdateCourse"/>
+ <endpoint display-name="DeleteCourse" endpoint-name="DeleteCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns24:DeleteCoursePortType" name="endpoint42" process-name="OutboundClientAdapter" service-name="ns33:DeleteCourse"/>
+ <endpoint display-name="AddCategory" endpoint-name="AddCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns28:AddCategoryPortType" name="endpoint43" process-name="OutboundClientAdapter" service-name="ns33:AddCategory"/>
+ <endpoint display-name="UpdateCategory" endpoint-name="UpdateCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns22:UpdateCategoryPortType" name="endpoint44" process-name="OutboundClientAdapter" service-name="ns33:UpdateCategory"/>
+ <endpoint display-name="DeleteCategory" endpoint-name="DeleteCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns18:DeleteCategoryPortType" name="endpoint45" process-name="OutboundClientAdapter" service-name="ns33:DeleteCategory"/>
+ <endpoint display-name="AddAccount" endpoint-name="AddAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns26:AddAccountPortType" name="endpoint46" process-name="OutboundClientAdapter" service-name="ns33:AddAccount"/>
+ <endpoint display-name="UpdateAccount" endpoint-name="UpdateAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns20:UpdateAccountPortType" name="endpoint47" process-name="OutboundClientAdapter" service-name="ns33:UpdateAccount"/>
+ <endpoint display-name="DeleteAccount" endpoint-name="DeleteAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns32:DeleteAccountPortType" name="endpoint48" process-name="OutboundClientAdapter" service-name="ns33:DeleteAccount"/>
+ <endpoint display-name="ReplyProcessor" endpoint-name="ReplyProcessorPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns36:ReplyProcessorPortType" name="endpoint49" process-name="OutboundClientAdapter" service-name="ns33:ReplyProcessor"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint50" process-name="OutboundClientAdapter" service-name="ns33:ILIAS"/>
+ <endpoint display-name="ConfigurationManager" endpoint-name="ConfigurationManagerRole_partnerRole" file-path="Login.bpel" interface-name="ns6:ConfigurationManager" name="endpoint51" process-name="Login" service-name="ns34:ConfigurationManager"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="Login.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint52" process-name="Login" service-name="ns34:ILIAS"/>
+ <endpoint display-name="ClientAdapter" endpoint-name="ObjectProcessorPortTypeRole_myRole" file-path="InboundObjectProcessor.bpel" interface-name="ns4:ObjectProcessorPortType" name="endpoint53" process-name="InboundObjectProcessor" service-name="ns37:ClientAdapter"/>
+ <endpoint display-name="ClientAdapter" endpoint-name="ReplyProcessorPortTypeRole_myRole" file-path="ReplyProcessor.bpel" interface-name="ns36:ReplyProcessorPortType" name="endpoint54" process-name="ReplyProcessor" service-name="ns38:ClientAdapter"/>
+ <endpoint display-name="ClientAdapter" endpoint-name="AddCoursePortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns9:AddCoursePortType" name="endpoint55" process-name="AddCourse" service-name="ns39:ClientAdapter"/>
+ <endpoint display-name="DependencyManager" endpoint-name="DependencyManagerNotificationPortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns12:DependencyManagerNotificationPortType" name="endpoint56" process-name="AddCourse" service-name="ns39:DependencyManager"/>
+ <endpoint display-name="IdentityMapper" endpoint-name="IdentityMapperPortTypeRole_partnerRole" file-path="InboundObjectProcessor.bpel" interface-name="ns2:IdentityMapperPortType" name="endpoint57" process-name="InboundObjectProcessor" service-name="ns37:IdentityMapper"/>
+ <endpoint display-name="EntityManager" endpoint-name="EntityManagerRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns10:EntityManager" name="endpoint58" process-name="AddCourse" service-name="ns39:EntityManager"/>
+ <endpoint display-name="RelationManager" endpoint-name="RelationManagerRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns7:RelationManager" name="endpoint59" process-name="AddCourse" service-name="ns39:RelationManager"/>
+ <endpoint display-name="IdentityManager" endpoint-name="IdentityManagerRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns11:IdentityManager" name="endpoint60" process-name="AddCourse" service-name="ns39:IdentityManager"/>
+ <endpoint endpoint-name="javaee_IdentityMapperPort" interface-name="ns2:IdentityMapperPortType" name="endpoint61" service-name="ns2:IdentityMapperService"/>
+ <endpoint endpoint-name="javaee_XSLTTransformPort" interface-name="ns3:XSLTTransformPortType" name="endpoint62" service-name="ns3:XSLTTransformService"/>
+ <endpoint display-name="LSF" endpoint-name="LSFClientAdapterPortTypeRole_myRole" file-path="InboundClientAdapter.bpel" interface-name="ns41:LSFClientAdapterPortType" name="endpoint63" process-name="InboundClientAdapter" service-name="ns40:LSF"/>
+ <endpoint display-name="XSLTTransform" endpoint-name="XSLTTransformPortTypeRole_partnerRole" file-path="InboundClientAdapter.bpel" interface-name="ns3:XSLTTransformPortType" name="endpoint64" process-name="InboundClientAdapter" service-name="ns40:XSLTTransform"/>
+ <endpoint display-name="ObjectProcessor" endpoint-name="ObjectProcessorPortTypeRole_partnerRole" file-path="InboundClientAdapter.bpel" interface-name="ns4:ObjectProcessorPortType" name="endpoint65" process-name="InboundClientAdapter" service-name="ns40:ObjectProcessor"/>
+ <endpoint endpoint-name="DependencyManagerNotificationPort" interface-name="ns12:DependencyManagerNotificationPortType" name="endpoint66" service-name="ns12:DependencyManagerNotificationService"/>
</endpoints>
<service-units>
- <service-engine-service-unit artifacts-zip="CSECore-ejb.jar" component-name="sun-javaee-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-CSECore-ejb" unit-name="CSECore-ejb" unknown="false" x="138" y="97">
+ <service-engine-service-unit artifacts-zip="CSECore-ejb.jar" component-name="sun-javaee-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-CSECore-ejb" unit-name="CSECore-ejb" unknown="false" x="93" y="97">
<provides endpoint="endpoint12"/>
<provides endpoint="endpoint13"/>
<provides endpoint="endpoint14"/>
+ <consumes endpoint="endpoint15"/>
</service-engine-service-unit>
- <service-engine-service-unit artifacts-zip="ILIASClientAdapter.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-ILIASClientAdapter" unit-name="ILIASClientAdapter" unknown="false" x="130" y="256">
- <provides endpoint="endpoint15"/>
+ <service-engine-service-unit artifacts-zip="ILIASClientAdapter.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-ILIASClientAdapter" unit-name="ILIASClientAdapter" unknown="false" x="130" y="278">
<provides endpoint="endpoint16"/>
<provides endpoint="endpoint17"/>
<provides endpoint="endpoint18"/>
@@ -84,7 +87,7 @@
<provides endpoint="endpoint24"/>
<provides endpoint="endpoint25"/>
<provides endpoint="endpoint26"/>
- <consumes endpoint="endpoint27"/>
+ <provides endpoint="endpoint27"/>
<consumes endpoint="endpoint28"/>
<consumes endpoint="endpoint29"/>
<consumes endpoint="endpoint30"/>
@@ -109,27 +112,29 @@
<consumes endpoint="endpoint49"/>
<consumes endpoint="endpoint50"/>
<consumes endpoint="endpoint51"/>
+ <consumes endpoint="endpoint52"/>
</service-engine-service-unit>
- <service-engine-service-unit artifacts-zip="Common.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-Common" unit-name="Common" unknown="false" x="160" y="1415"/>
- <service-engine-service-unit artifacts-zip="ObjectProcessor.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-ObjectProcessor" unit-name="ObjectProcessor" unknown="false" x="133" y="1498">
- <provides endpoint="endpoint52"/>
+ <service-engine-service-unit artifacts-zip="Common.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-Common" unit-name="Common" unknown="false" x="160" y="1437"/>
+ <service-engine-service-unit artifacts-zip="ObjectProcessor.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-ObjectProcessor" unit-name="ObjectProcessor" unknown="false" x="133" y="1520">
<provides endpoint="endpoint53"/>
<provides endpoint="endpoint54"/>
- <consumes endpoint="endpoint55"/>
- <consumes endpoint="endpoint56"/>
+ <provides endpoint="endpoint55"/>
+ <provides endpoint="endpoint56"/>
<consumes endpoint="endpoint57"/>
<consumes endpoint="endpoint58"/>
+ <consumes endpoint="endpoint59"/>
+ <consumes endpoint="endpoint60"/>
</service-engine-service-unit>
- <service-engine-service-unit artifacts-zip="IdentityMapper.jar" component-name="sun-javaee-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-IdentityMapper" unit-name="IdentityMapper" unknown="false" x="133" y="1808">
- <provides endpoint="endpoint59"/>
+ <service-engine-service-unit artifacts-zip="IdentityMapper.jar" component-name="sun-javaee-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-IdentityMapper" unit-name="IdentityMapper" unknown="false" x="133" y="1852">
+ <provides endpoint="endpoint61"/>
</service-engine-service-unit>
- <service-engine-service-unit artifacts-zip="XSLTTransform.jar" component-name="sun-javaee-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-XSLTTransform" unit-name="XSLTTransform" unknown="false" x="133" y="1923">
- <provides endpoint="endpoint60"/>
+ <service-engine-service-unit artifacts-zip="XSLTTransform.jar" component-name="sun-javaee-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-XSLTTransform" unit-name="XSLTTransform" unknown="false" x="133" y="1967">
+ <provides endpoint="endpoint62"/>
</service-engine-service-unit>
- <service-engine-service-unit artifacts-zip="LSFClientAdapter.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-LSFClientAdapter" unit-name="LSFClientAdapter" unknown="false" x="135" y="2038">
- <provides endpoint="endpoint61"/>
- <consumes endpoint="endpoint62"/>
- <consumes endpoint="endpoint63"/>
+ <service-engine-service-unit artifacts-zip="LSFClientAdapter.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-LSFClientAdapter" unit-name="LSFClientAdapter" unknown="false" x="135" y="2082">
+ <provides endpoint="endpoint63"/>
+ <consumes endpoint="endpoint64"/>
+ <consumes endpoint="endpoint65"/>
</service-engine-service-unit>
<binding-component-service-unit artifacts-zip="sun-http-binding.jar" component-name="sun-http-binding" description="Represents this Service Unit" name="CSEIPCA-sun-http-binding" unit-name="sun-http-binding">
<ports>
@@ -138,7 +143,7 @@
<consumes endpoint="endpoint8"/>
<provides endpoint="endpoint8"/>
</port>
- <port x="67" y="37">
+ <port x="67" y="114">
<link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ilias-3.10.5.wsdl#xpointer(/definitions/service[@name='ILIASSoapWebservice']/port[@name='ILIASSoapWebservicePort'])" xlink:type="simple"/>
<consumes endpoint="endpoint1"/>
<provides endpoint="endpoint1"/>
@@ -153,6 +158,11 @@
<consumes endpoint="endpoint6"/>
<provides endpoint="endpoint6"/>
</port>
+ <port x="67" y="37">
+ <link xlink:href="../jbiServiceUnits/Common/DependencyManagerNotification.wsdl#xpointer(/definitions/service[@name='DependencyManagerNotificationService']/port[@name='DependencyManagerNotificationPort'])" xlink:type="simple"/>
+ <consumes endpoint="endpoint66"/>
+ <provides endpoint="endpoint66"/>
+ </port>
<port state="deleted" x="67" y="191">
<link xlink:href="../jbiServiceUnits/Common/IdentityManager.wsdl#xpointer(/definitions/service[@name='IdentityManagerWSService']/port[@name='IdentityManagerPort'])" xlink:type="simple"/>
<consumes endpoint="endpoint11"/>
@@ -192,7 +202,6 @@
</binding-component-service-unit>
</service-units>
<connections>
- <connection consumer="endpoint28" provider="endpoint1" state="unchanged"/>
<connection consumer="endpoint29" provider="endpoint1" state="unchanged"/>
<connection consumer="endpoint30" provider="endpoint1" state="unchanged"/>
<connection consumer="endpoint31" provider="endpoint1" state="unchanged"/>
@@ -201,41 +210,44 @@
<connection consumer="endpoint34" provider="endpoint1" state="unchanged"/>
<connection consumer="endpoint35" provider="endpoint1" state="unchanged"/>
<connection consumer="endpoint36" provider="endpoint1" state="unchanged"/>
- <connection consumer="endpoint49" provider="endpoint1" state="unchanged"/>
- <connection consumer="endpoint51" provider="endpoint1" state="unchanged"/>
- <connection consumer="endpoint44" provider="endpoint17" state="unchanged"/>
- <connection consumer="endpoint38" provider="endpoint26" state="unchanged"/>
- <connection consumer="endpoint37" provider="endpoint15" state="unchanged"/>
- <connection consumer="endpoint55" provider="endpoint59" state="unchanged"/>
- <connection consumer="endpoint9" provider="endpoint54" state="unchanged"/>
- <connection consumer="endpoint42" provider="endpoint22" state="unchanged"/>
- <connection consumer="endpoint43" provider="endpoint19" state="unchanged"/>
- <connection consumer="endpoint46" provider="endpoint18" state="unchanged"/>
- <connection consumer="endpoint27" provider="endpoint6" state="unchanged"/>
- <connection consumer="endpoint50" provider="endpoint6" state="unchanged"/>
- <connection consumer="endpoint39" provider="endpoint23" state="unchanged"/>
- <connection consumer="endpoint41" provider="endpoint20" state="unchanged"/>
- <connection consumer="endpoint57" provider="endpoint14" state="unchanged"/>
- <connection consumer="endpoint62" provider="endpoint60" state="unchanged"/>
- <connection consumer="endpoint58" provider="endpoint12" state="unchanged"/>
- <connection consumer="endpoint56" provider="endpoint13" state="unchanged"/>
- <connection consumer="endpoint63" provider="endpoint52" state="unchanged"/>
- <connection consumer="endpoint45" provider="endpoint21" state="unchanged"/>
- <connection consumer="endpoint8" provider="endpoint25" state="new"/>
- <connection consumer="endpoint40" provider="endpoint16" state="unchanged"/>
- <connection consumer="endpoint47" provider="endpoint24" state="unchanged"/>
- <connection consumer="endpoint48" provider="endpoint53" state="unchanged"/>
+ <connection consumer="endpoint37" provider="endpoint1" state="unchanged"/>
+ <connection consumer="endpoint50" provider="endpoint1" state="unchanged"/>
+ <connection consumer="endpoint52" provider="endpoint1" state="unchanged"/>
+ <connection consumer="endpoint45" provider="endpoint18" state="unchanged"/>
+ <connection consumer="endpoint39" provider="endpoint27" state="unchanged"/>
+ <connection consumer="endpoint38" provider="endpoint16" state="unchanged"/>
+ <connection consumer="endpoint57" provider="endpoint61" state="unchanged"/>
+ <connection consumer="endpoint9" provider="endpoint55" state="unchanged"/>
+ <connection consumer="endpoint43" provider="endpoint23" state="unchanged"/>
+ <connection consumer="endpoint66" provider="endpoint56" state="unchanged"/>
+ <connection consumer="endpoint15" provider="endpoint56" state="unchanged"/>
+ <connection consumer="endpoint44" provider="endpoint20" state="unchanged"/>
+ <connection consumer="endpoint47" provider="endpoint19" state="unchanged"/>
+ <connection consumer="endpoint28" provider="endpoint6" state="unchanged"/>
+ <connection consumer="endpoint51" provider="endpoint6" state="unchanged"/>
+ <connection consumer="endpoint40" provider="endpoint24" state="unchanged"/>
+ <connection consumer="endpoint42" provider="endpoint21" state="unchanged"/>
+ <connection consumer="endpoint59" provider="endpoint14" state="unchanged"/>
+ <connection consumer="endpoint64" provider="endpoint62" state="unchanged"/>
+ <connection consumer="endpoint60" provider="endpoint12" state="unchanged"/>
+ <connection consumer="endpoint58" provider="endpoint13" state="unchanged"/>
+ <connection consumer="endpoint65" provider="endpoint53" state="unchanged"/>
+ <connection consumer="endpoint46" provider="endpoint22" state="unchanged"/>
+ <connection consumer="endpoint8" provider="endpoint26" state="new"/>
+ <connection consumer="endpoint41" provider="endpoint17" state="unchanged"/>
+ <connection consumer="endpoint48" provider="endpoint25" state="unchanged"/>
+ <connection consumer="endpoint49" provider="endpoint54" state="unchanged"/>
+ <connection consumer="endpoint10" provider="endpoint13" state="deleted"/>
+ <connection consumer="endpoint11" provider="endpoint12" state="deleted"/>
+ <connection consumer="endpoint5" provider="endpoint26" state="deleted"/>
+ <connection consumer="endpoint2" provider="endpoint61" state="deleted"/>
+ <connection consumer="endpoint3" provider="endpoint62" state="deleted"/>
+ <connection consumer="endpoint4" provider="endpoint53" state="deleted"/>
+ <connection consumer="endpoint5" provider="endpoint26" state="deleted"/>
+ <connection consumer="endpoint2" provider="endpoint61" state="deleted"/>
+ <connection consumer="endpoint3" provider="endpoint62" state="deleted"/>
+ <connection consumer="endpoint4" provider="endpoint55" state="deleted"/>
<connection consumer="endpoint7" provider="endpoint14" state="deleted"/>
- <connection consumer="endpoint4" provider="endpoint54" state="deleted"/>
- <connection consumer="endpoint3" provider="endpoint60" state="deleted"/>
- <connection consumer="endpoint2" provider="endpoint59" state="deleted"/>
- <connection consumer="endpoint5" provider="endpoint25" state="deleted"/>
- <connection consumer="endpoint4" provider="endpoint52" state="deleted"/>
- <connection consumer="endpoint3" provider="endpoint60" state="deleted"/>
- <connection consumer="endpoint2" provider="endpoint59" state="deleted"/>
- <connection consumer="endpoint5" provider="endpoint25" state="deleted"/>
- <connection consumer="endpoint11" provider="endpoint12" state="deleted"/>
- <connection consumer="endpoint10" provider="endpoint13" state="deleted"/>
</connections>
<porttypes>
<link xlink:href="../jbiasa/CSEIPCA.wsdl#xpointer(/definitions/portType[@name='dummyCasaPortType'])" xlink:type="simple"/>
@@ -255,6 +267,7 @@
<link xlink:href="../jbiServiceUnits/ILIASClientAdapter/AddAccount.wsdl#xpointer(/definitions/portType[@name='AddAccountPortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ilias-3.10.5-fixed.wsdl#xpointer(/definitions/portType[@name='ILIASSoapWebservicePortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/Common/ConfigurationManager.wsdl#xpointer(/definitions/portType[@name='ConfigurationManager'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/Common/DependencyManagerNotification.wsdl#xpointer(/definitions/portType[@name='DependencyManagerNotificationPortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/Common/IdentityManager.wsdl#xpointer(/definitions/portType[@name='IdentityManager'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/Common/EntityManager.wsdl#xpointer(/definitions/portType[@name='EntityManager'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/Common/RelationManager.wsdl#xpointer(/definitions/portType[@name='RelationManager'])" xlink:type="simple"/>
@@ -265,12 +278,14 @@
<link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/_references/_projects/Common/src/ConfigurationManager.wsdl#xpointer(/definitions/portType[@name='ConfigurationManager'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/_references/_projects/ObjectProcessor/src/ReplyProcessor.wsdl#xpointer(/definitions/portType[@name='ReplyProcessorPortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/LSFClientAdapter/src/_references/_projects/ObjectProcessor/src/InboundObjectProcessor.wsdl#xpointer(/definitions/portType[@name='ObjectProcessorPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/DependencyManagerNotification.wsdl#xpointer(/definitions/portType[@name='DependencyManagerNotificationPortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/IdentityManager.wsdl#xpointer(/definitions/portType[@name='IdentityManager'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/EntityManager.wsdl#xpointer(/definitions/portType[@name='EntityManager'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/RelationManager.wsdl#xpointer(/definitions/portType[@name='RelationManager'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/IdentityMapper/src/conf/wsdl/IdentityMapperWS/IdentityMapper.wsdl#xpointer(/definitions/portType[@name='IdentityMapperPortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/IdentityMapper/META-INF/wsdl/IdentityMapperWS/IdentityMapper.wsdl#xpointer(/definitions/portType[@name='IdentityMapperPortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/IdentityMapper/IdentityMapper.wsdl#xpointer(/definitions/portType[@name='IdentityMapperPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/CSECore-ejb/META-INF/wsdl/client/DependencyManagerNotification/DependencyManagerNotification.wsdl#xpointer(/definitions/portType[@name='DependencyManagerNotificationPortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/XSLTTransform/META-INF/wsdl/XSLTTransform/XSLTTransform.wsdl#xpointer(/definitions/portType[@name='XSLTTransformPortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/ObjectProcessor/AddCourse.wsdl#xpointer(/definitions/portType[@name='AddCoursePortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/ObjectProcessor/InboundObjectProcessor.wsdl#xpointer(/definitions/portType[@name='ObjectProcessorPortType'])" xlink:type="simple"/>
@@ -282,6 +297,7 @@
<link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ILIASClientAdapter.wsdl#xpointer(/definitions/binding[@name='ILIASClientAdapterBinding'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ilias-3.10.5-fixed.wsdl#xpointer(/definitions/binding[@name='ILIASSoapWebserviceBinding'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/Common/ConfigurationManager.wsdl#xpointer(/definitions/binding[@name='ConfigurationManagerPortBinding'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/Common/DependencyManagerNotification.wsdl#xpointer(/definitions/binding[@name='DependencyManagerNotificationBinding'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/Common/IdentityManager.wsdl#xpointer(/definitions/binding[@name='IdentityManagerPortBinding'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/Common/EntityManager.wsdl#xpointer(/definitions/binding[@name='EntityManagerPortBinding'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/Common/RelationManager.wsdl#xpointer(/definitions/binding[@name='RelationManagerPortBinding'])" xlink:type="simple"/>
@@ -291,12 +307,14 @@
<link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/ilias-3.10.5.wsdl#xpointer(/definitions/binding[@name='ILIASSoapWebserviceBinding'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/_references/_projects/Common/src/ConfigurationManager.wsdl#xpointer(/definitions/binding[@name='ConfigurationManagerPortBinding'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/LSFClientAdapter/src/_references/_projects/ObjectProcessor/src/InboundObjectProcessor.wsdl#xpointer(/definitions/binding[@name='ObjectProcessorPortTypeBinding'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/DependencyManagerNotification.wsdl#xpointer(/definitions/binding[@name='DependencyManagerNotificationBinding'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/IdentityManager.wsdl#xpointer(/definitions/binding[@name='IdentityManagerPortBinding'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/EntityManager.wsdl#xpointer(/definitions/binding[@name='EntityManagerPortBinding'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/RelationManager.wsdl#xpointer(/definitions/binding[@name='RelationManagerPortBinding'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/IdentityMapper/src/conf/wsdl/IdentityMapperWS/IdentityMapper.wsdl#xpointer(/definitions/binding[@name='IdentityMapperBinding'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/IdentityMapper/META-INF/wsdl/IdentityMapperWS/IdentityMapper.wsdl#xpointer(/definitions/binding[@name='IdentityMapperBinding'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/IdentityMapper/IdentityMapper.wsdl#xpointer(/definitions/binding[@name='IdentityMapperBinding'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/CSECore-ejb/META-INF/wsdl/client/DependencyManagerNotification/DependencyManagerNotification.wsdl#xpointer(/definitions/binding[@name='DependencyManagerNotificationBinding'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/XSLTTransform/META-INF/wsdl/XSLTTransform/XSLTTransform.wsdl#xpointer(/definitions/binding[@name='XSLTTransformBinding'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/ObjectProcessor/AddCourse.wsdl#xpointer(/definitions/binding[@name='AddCourseBinding'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/ObjectProcessor/InboundObjectProcessor.wsdl#xpointer(/definitions/binding[@name='ObjectProcessorPortTypeBinding'])" xlink:type="simple"/>
@@ -307,6 +325,7 @@
<link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ILIASClientAdapter.wsdl#xpointer(/definitions/service[@name='ILIASClientAdapterService'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ilias-3.10.5-fixed.wsdl#xpointer(/definitions/service[@name='ILIASSoapWebservice'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/Common/ConfigurationManager.wsdl#xpointer(/definitions/service[@name='ConfigurationManagerWSService'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/Common/DependencyManagerNotification.wsdl#xpointer(/definitions/service[@name='DependencyManagerNotificationService'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/Common/IdentityManager.wsdl#xpointer(/definitions/service[@name='IdentityManagerWSService'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/Common/EntityManager.wsdl#xpointer(/definitions/service[@name='EntityManagerWSService'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/Common/RelationManager.wsdl#xpointer(/definitions/service[@name='RelationManagerWSService'])" xlink:type="simple"/>
@@ -315,12 +334,14 @@
<link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/ilias-3.10.5.wsdl#xpointer(/definitions/service[@name='ILIASSoapWebservice'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/_references/_projects/Common/src/ConfigurationManager.wsdl#xpointer(/definitions/service[@name='ConfigurationManagerWSService'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/LSFClientAdapter/src/_references/_projects/ObjectProcessor/src/InboundObjectProcessor.wsdl#xpointer(/definitions/service[@name='ObjectProcessorService'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/DependencyManagerNotification.wsdl#xpointer(/definitions/service[@name='DependencyManagerNotificationService'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/IdentityManager.wsdl#xpointer(/definitions/service[@name='IdentityManagerWSService'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/EntityManager.wsdl#xpointer(/definitions/service[@name='EntityManagerWSService'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/RelationManager.wsdl#xpointer(/definitions/service[@name='RelationManagerWSService'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/IdentityMapper/src/conf/wsdl/IdentityMapperWS/IdentityMapper.wsdl#xpointer(/definitions/service[@name='IdentityMapperService'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/IdentityMapper/META-INF/wsdl/IdentityMapperWS/IdentityMapper.wsdl#xpointer(/definitions/service[@name='IdentityMapperService'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/IdentityMapper/IdentityMapper.wsdl#xpointer(/definitions/service[@name='IdentityMapperService'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/CSECore-ejb/META-INF/wsdl/client/DependencyManagerNotification/DependencyManagerNotification.wsdl#xpointer(/definitions/service[@name='DependencyManagerNotificationService'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/XSLTTransform/META-INF/wsdl/XSLTTransform/XSLTTransform.wsdl#xpointer(/definitions/service[@name='XSLTTransformService'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/ObjectProcessor/AddCourse.wsdl#xpointer(/definitions/service[@name='AddCourseService'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/ObjectProcessor/InboundObjectProcessor.wsdl#xpointer(/definitions/service[@name='ObjectProcessorService'])" xlink:type="simple"/>
Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/java-cfg-CSECore-ejb.xml
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/java-cfg-CSECore-ejb.xml 2009-07-27 22:15:24 UTC (rev 382)
+++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/java-cfg-CSECore-ejb.xml 2009-07-27 22:16:47 UTC (rev 383)
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<javaee-project xmlns="http://java.sun.c...
[truncated message content] |
|
From: <pka...@us...> - 2009-07-27 22:15:37
|
Revision: 382
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=382&view=rev
Author: pkasprzak
Date: 2009-07-27 22:15:24 +0000 (Mon, 27 Jul 2009)
Log Message:
-----------
* Stuff :)
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml
trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel
Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-07-27 22:14:42 UTC (rev 381)
+++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-07-27 22:15:24 UTC (rev 382)
@@ -6,4 +6,5 @@
<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"/>
</catalog>
Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-07-27 22:14:42 UTC (rev 381)
+++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-07-27 22:15:24 UTC (rev 382)
@@ -15,26 +15,37 @@
<import namespace="http://cse.campussource.de/ejb/EntityManager" location="Common/EntityManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<import namespace="http://cse.campussource.de/ejb/RelationManager" location="Common/RelationManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
<import namespace="http://cse.campussource.de/ejb/IdentityManager" location="Common/IdentityManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+ <import namespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" location="Common/DependencyManagerNotification.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+ <partnerLinks>
+ <partnerLink name="EntityManager" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" partnerLinkType="tns:EntityManagerLinkType"
+ partnerRole="EntityManagerRole"/>
- <partnerLinks>
- <partnerLink name="EntityManager" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" partnerLinkType="tns:EntityManagerLinkType" partnerRole="EntityManagerRole"/>
- <partnerLink name="RelationManager" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" partnerLinkType="tns:RelationManagerLinkType" partnerRole="RelationManagerRole"/>
- <partnerLink name="IdentityManager" xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" partnerLinkType="tns:IdentityManagerLinkType" partnerRole="IdentityManagerRole"/>
- <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" partnerLinkType="tns:AddCourse" myRole="AddCoursePortTypeRole"/>
+ <partnerLink name="RelationManager" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" partnerLinkType="tns:RelationManagerLinkType"
+ partnerRole="RelationManagerRole"/>
+
+ <partnerLink name="IdentityManager" xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" partnerLinkType="tns:IdentityManagerLinkType"
+ partnerRole="IdentityManagerRole"/>
+
+ <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" partnerLinkType="tns:AddCourse"
+ myRole="AddCoursePortTypeRole"/>
+ <partnerLink name="DependencyManager" xmlns:tns="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" partnerLinkType="tns:DependencyManagerNotification" myRole="DependencyManagerNotificationPortTypeRole"/>
</partnerLinks>
<variables>
- <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="PersistCourseOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCourseResponse"/>
- <variable name="PersistCourseIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCourse"/>
- <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="ProcessCourseIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" messageType="tns:processCourseRequest"/>
+ <variable name="NotifyIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" messageType="tns:notifyRequest"/>
+ <variable name="ProcessCourseRelationsOut" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" messageType="tns:processCourseRelationsResponse"/>
+ <variable name="ProcessCourseRelationsIn" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" messageType="tns:processCourseRelations"/>
+ <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="PersistCourseOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCourseResponse"/>
+ <variable name="PersistCourseIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCourse"/>
+ <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="ProcessCourseIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" messageType="tns:processCourseRequest"/>
<!-- CSE-id of the course -->
- <variable name="CseId" type="xsd:integer"/>
+ <variable name="CseId" type="xsd:integer"/>
</variables>
<sequence>
@@ -56,7 +67,7 @@
</copy>
</assign>
- <invoke name="checkIfCourseExists" partnerLink="EntityManager" operation="exists"
+ <invoke name="checkIfCourseExists" partnerLink="EntityManager" operation="exists"
xmlns:tns="http://cse.campussource.de/ejb/EntityManager"
portType="tns:EntityManager"
inputVariable="ExistsIn"
@@ -132,15 +143,15 @@
if not changed => check if relations have changed (if they have => update; else process finished)</documentation>
</empty>
-
-
+
+
<assign name="prepareUpdateAttributes">
<copy>
<from>x:doXslTransform('urn:stylesheets:toEntity.xsl', $ProcessCourseIn.courseMessage/dt:course)</from>
<to>$UpdateAttributesIn.parameters/entity</to>
</copy>
</assign>
-
+
<invoke name="updateAttributes" partnerLink="EntityManager" operation="updateAttributes"
xmlns:tns="http://cse.campussource.de/ejb/EntityManager"
portType="tns:EntityManager"
@@ -151,30 +162,44 @@
</if>
- <empty name="checkRelations">
- <documentation>check if relations have changed (and persist changes);
+ <assign name="prepareProcessRelations">
+ <copy>
+ <from>$CseId</from>
+ <to>$ProcessCourseRelationsIn.parameters/cseId</to>
+ </copy>
+ <copy>
+ <from>$ProcessCourseIn.courseMessage/dt:course</from>
+ <to>$ProcessCourseRelationsIn.parameters/course</to>
+ </copy>
+ <copy>
+ <from>$ProcessCourseIn.courseMessage/dt:source</from>
+ <to>$ProcessCourseRelationsIn.parameters/system</to>
+ </copy>
+ </assign>
-if they have => UPDATE event
-else: => keep current event</documentation>
- </empty>
- <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>
+ <invoke name="processRelations" partnerLink="RelationManager" operation="processCourseRelations"
+ xmlns:tns="http://cse.campussource.de/ejb/RelationManager"
+ portType="tns:RelationManager"
+ inputVariable="ProcessCourseRelationsIn"
+ outputVariable="ProcessCourseRelationsOut"/>
<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>
+ <pick name="Pick1">
+ <onMessage partnerLink="DependencyManager" operation="notify" xmlns:tns="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" portType="tns:DependencyManagerNotificationPortType" variable="NotifyIn">
+ <sequence name="Sequence1">
+ <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>
+ </sequence>
+ </onMessage>
+ </pick>
<empty name="finish"/>
</sequence>
</process>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-27 22:14:59
|
Revision: 381
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=381&view=rev
Author: pkasprzak
Date: 2009-07-27 22:14:42 +0000 (Mon, 27 Jul 2009)
Log Message:
-----------
* Stuff :)
Added Paths:
-----------
trunk/sandbox/lsf-adapter-demo/Common/src/DependencyManagerNotification.wsdl
Added: trunk/sandbox/lsf-adapter-demo/Common/src/DependencyManagerNotification.wsdl
===================================================================
--- trunk/sandbox/lsf-adapter-demo/Common/src/DependencyManagerNotification.wsdl (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/Common/src/DependencyManagerNotification.wsdl 2009-07-27 22:14:42 UTC (rev 381)
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="windows-1252"?>
+<definitions name="DependencyManagerNotification" targetNamespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification"
+ 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/Common/DependencyManagerNotification" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:vprop="http://docs.oasis-open.org/wsbpel/2.0/varprop">
+ <types/>
+ <message name="notifyRequest">
+ <part name="entityId" type="xsd:int"/>
+ <part name="system" type="xsd:string"/>
+ </message>
+ <portType name="DependencyManagerNotificationPortType">
+ <operation name="notify">
+ <input name="input1" message="tns:notifyRequest"/>
+ </operation>
+ </portType>
+ <binding name="DependencyManagerNotificationBinding" type="tns:DependencyManagerNotificationPortType">
+ <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="notify">
+ <soap:operation/>
+ <input name="input1">
+ <soap:body use="literal" namespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification"/>
+ </input>
+ </operation>
+ </binding>
+ <service name="DependencyManagerNotificationService">
+ <port name="DependencyManagerNotificationPort" binding="tns:DependencyManagerNotificationBinding">
+ <soap:address location="http://localhost:${HttpDefaultPort}/DependencyManagerNotificationService/DependencyManagerNotificationPort"/>
+ </port>
+ </service>
+
+ <plnk:partnerLinkType name="DependencyManagerNotification">
+ <plnk:role name="DependencyManagerNotificationPortTypeRole" portType="tns:DependencyManagerNotificationPortType"/>
+ </plnk:partnerLinkType>
+
+ <vprop:property name="EntityId" type="xsd:int"/>
+ <vprop:property name="System" type="xsd:string"/>
+ <vprop:propertyAlias propertyName="tns:EntityId" messageType="tns:notifyRequest" part="entityId"/>
+ <vprop:propertyAlias propertyName="tns:System" messageType="tns:notifyRequest" part="system"/>
+
+</definitions>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-27 22:09:24
|
Revision: 380
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=380&view=rev
Author: pkasprzak
Date: 2009-07-27 22:09:18 +0000 (Mon, 27 Jul 2009)
Log Message:
-----------
* Stuff :)
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyManager.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyManagerImpl.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Entity.java
Added Paths:
-----------
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManager.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManagerImpl.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManagerRemote.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Dependency.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/DependencyStatus.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/WaitingProcess.java
Removed Paths:
-------------
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/Dependency.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyStatus.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyType.java
Deleted: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/Dependency.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/Dependency.java 2009-07-27 22:07:54 UTC (rev 379)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/Dependency.java 2009-07-27 22:09:18 UTC (rev 380)
@@ -1,93 +0,0 @@
-/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
-
-package de.campussource.cse.core;
-
-import java.io.Serializable;
-import javax.persistence.Entity;
-import javax.persistence.GeneratedValue;
-import javax.persistence.GenerationType;
-import javax.persistence.Id;
-
-/**
- *
- *
- * @author pete
- */
-@Entity
-public class Dependency implements Serializable {
-
- private static final long serialVersionUID = 1L;
-
- @Id
- @GeneratedValue(strategy = GenerationType.AUTO)
- private Long id;
-
- /* ObjectId (= BPEL ProcessId) */
- private Long objectId;
-
- /* Dependency-Type */
- private DependencyType type;
-
- /* Dependency-Status */
- private DependencyStatus status;
-
- @Override
- public int hashCode() {
- int hash = 0;
- hash += (id != null ? id.hashCode() : 0);
- return hash;
- }
-
- @Override
- public boolean equals(Object object) {
- // TODO: Warning - this method won't work in the case the id fields are not set
- if (!(object instanceof Dependency)) {
- return false;
- }
- Dependency other = (Dependency) object;
- if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
- return false;
- }
- return true;
- }
-
- @Override
- public String toString() {
- return "de.campussource.cse.core.Dependency[id=" + id + "]";
- }
-
- public Long getId() {
- return id;
- }
-
- public void setId(Long id) {
- this.id = id;
- }
-
- public Long getObjectId() {
- return objectId;
- }
-
- public void setObjectId(Long objectId) {
- this.objectId = objectId;
- }
-
- public DependencyStatus getStatus() {
- return status;
- }
-
- public void setStatus(DependencyStatus status) {
- this.status = status;
- }
-
- public DependencyType getType() {
- return type;
- }
-
- public void setType(DependencyType type) {
- this.type = type;
- }
-}
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyManager.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyManager.java 2009-07-27 22:07:54 UTC (rev 379)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyManager.java 2009-07-27 22:09:18 UTC (rev 380)
@@ -14,5 +14,7 @@
@Local
public interface DependencyManager {
- public void checkDependencies(int objectId, DependencyType dependencyType);
+ public void waitForDependencies(int entityId);
+
+ public void satisfyDependencies(int entityId, String system);
}
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyManagerImpl.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyManagerImpl.java 2009-07-27 22:07:54 UTC (rev 379)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyManagerImpl.java 2009-07-27 22:09:18 UTC (rev 380)
@@ -1,13 +1,20 @@
-/*
- * To change this template, choose Tools | Templates
- * and open the template in the editor.
- */
-
package de.campussource.cse.core;
+import de.campussource.cse.core.pdm.Dependency;
+import de.campussource.cse.core.pdm.DependencyStatus;
+import de.campussource.cse.core.pdm.Entity;
+import de.campussource.cse.core.pdm.EntityType;
+import de.campussource.cse.core.pdm.Relation;
+import de.campussource.cse.core.pdm.RelationType;
+import de.campussource.cse.core.pdm.WaitingProcess;
+import java.util.HashSet;
+import java.util.List;
+import java.util.logging.Logger;
+import javax.ejb.EJB;
import javax.ejb.Stateless;
-import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
+import javax.xml.ws.WebServiceRef;
+import org.netbeans.j2ee.wsdl.common.dependencymanagernotification.DependencyManagerNotificationService;
/**
*
@@ -15,17 +22,177 @@
*/
@Stateless(mappedName = "cse/DependencyManager")
public class DependencyManagerImpl implements DependencyManagerRemote, DependencyManager {
+ @WebServiceRef(wsdlLocation = "META-INF/wsdl/client/DependencyManagerNotification/DependencyManagerNotification.wsdl")
+ private DependencyManagerNotificationService service;
@PersistenceContext
- private EntityManager em;
+ private javax.persistence.EntityManager em;
- public void checkDependencies(int objectId, DependencyType dependencyType) {
- throw new UnsupportedOperationException("Not supported yet.");
+ @EJB
+ private RelationManager relationManager;
+
+ @EJB
+ private EntityManager entityManager;
+
+ @EJB
+ private IdentityManager identityManager;
+
+ @EJB
+ private SystemManager systemManager;
+
+ private final static Logger logger = Logger.getLogger("de.campussource.cse.core.DependencyManager");
+
+ // ----------------------------------------------------------------------------------------------------------------
+ protected boolean updateDependencies(WaitingProcess process) {
+
+ boolean satisfied = true;
+ process = em.merge(process);
+ for (Dependency dependency : process.getDependencies()) {
+ if (dependency.getStatus() == DependencyStatus.UNSATISFIED) {
+ if (identityManager.getSystemIdById(process.getSystem(), dependency.getEntityId()) != null) {
+ /* Entity has a valid mapping => dependency satisfied */
+ dependency.setStatus(DependencyStatus.SATISFIED);
+ } else {
+ satisfied = false;
+ }
+ }
+ }
+ return satisfied;
}
- public void persist(Object object) {
- em.persist(object);
+ // ----------------------------------------------------------------------------------------------------------------
+ protected void createDependency(WaitingProcess process, int entityId) {
+
+ /* Check, if dependency does not already exist */
+ for (Dependency dependency : process.getDependencies()) {
+ if (dependency.getEntityId() == entityId) {
+ return;
+ }
+ }
+
+ /* Create new dependency */
+ Dependency dependency = new Dependency();
+ dependency.setProcess(process);
+ dependency.setEntityId(entityId);
+ dependency.setStatus(DependencyStatus.UNSATISFIED);
+ process.getDependencies().add(dependency);
}
-
-
+
+ // ----------------------------------------------------------------------------------------------------------------
+ protected WaitingProcess getWaitingProcess(int entityId, String system) {
+
+ WaitingProcess process = (WaitingProcess) em.createNamedQuery(WaitingProcess.QUERY_getByEntityIdAndSystem). setParameter("system", system).
+ setParameter("entityId", entityId).
+ getSingleResult();
+ if (process == null) {
+ /* No existing process found => create a new one */
+ process = new WaitingProcess();
+ process.setEntityId(entityId);
+ process.setSystem(system);
+ em.persist(process);
+ }
+
+ return process;
+ }
+
+ // ----------------------------------------------------------------------------------------------------------------
+ public void waitForDependencies(int cseId) {
+
+ Entity entity = em.find(Entity.class, cseId);
+
+ for (String system : systemManager.getOutboundSystems()) {
+
+ /* Create entity type dependent dependencies */
+
+ WaitingProcess process = getWaitingProcess(cseId, system);
+
+ if (entity.getType().equals(EntityType.ACCOUNT.toString())) {
+ /* No dependencies for account objects */
+ }
+
+ if (entity.getType().equals(EntityType.COURSE.toString())) {
+ /* Create dependencies based on category -> course relations (course is child) */
+ List<Relation> relations = relationManager.getByChildIdAndType(cseId, RelationType.CATEGORY_TO_COURSE);
+ for (Relation relation : relations) {
+ createDependency(process, relation.getParentId());
+ }
+ }
+
+ if (entity.getType().equals(EntityType.CATEGORY.toString())) {
+ /* Create dependencies based von category -> course relations (category is parent) */
+ List<Relation> relations = relationManager.getByParentIdAndType(cseId, RelationType.CATEGORY_TO_COURSE);
+ for (Relation relation : relations) {
+ WaitingProcess childProcess = getWaitingProcess(relation.getChildId(), system);
+ createDependency(childProcess, cseId);
+ }
+
+ /* Create dependencies based von category -> catgeory relations (category is parent) */
+ relations = relationManager.getByParentIdAndType(cseId, RelationType.CATEGORY_TO_COURSE);
+ for (Relation relation : relations) {
+ WaitingProcess childProcess = getWaitingProcess(relation.getChildId(), system);
+ createDependency(childProcess, cseId);
+ }
+ }
+
+ /* At this point all dependencies for the current entity + system have been generated => so update them */
+ if (updateDependencies(process)) {
+ wakeUpWaitingProcess(process);
+ }
+ }
+ }
+
+ // ----------------------------------------------------------------------------------------------------------------
+ protected List<Dependency> getByEntityIdAndSystem(int entityId, String system) {
+
+ List<Dependency> dependencies = em.createNamedQuery(Dependency.QUERY_getByEntityIdAndSystem). setParameter("system", system).
+ setParameter("entityId", entityId).
+ getResultList();
+
+ return dependencies;
+ }
+
+ // ----------------------------------------------------------------------------------------------------------------
+ protected void wakeUpWaitingProcess(WaitingProcess process) {
+
+ /* Call process */
+ try {
+ org.netbeans.j2ee.wsdl.common.dependencymanagernotification.DependencyManagerNotificationPortType port = service.getDependencyManagerNotificationPort();
+
+ int entityId = process.getEntityId();
+ String system = process.getSystem();
+
+ port.notify(entityId, system);
+
+ } catch (Exception ex) {
+ logger.info("Exception while trying to notify process: " + ex.getMessage());
+ }
+
+ /* Remove dependencies */
+ process = em.merge(process);
+ em.remove(process);
+ }
+
+ // ----------------------------------------------------------------------------------------------------------------
+ /**
+ * Satisfy all dependencies waiting for the given entity.
+ *
+ * @param entityId
+ */
+ public void satisfyDependencies(int entityId, String system) {
+
+ HashSet<WaitingProcess> processesToTest = new HashSet<WaitingProcess>();
+
+ /* Tag appropriate dependencies as satisfied */
+ for (Dependency dependency : getByEntityIdAndSystem(entityId, system)) {
+ processesToTest.add(em.merge(dependency.getProcess()));
+ dependency.setStatus(DependencyStatus.SATISFIED);
+ }
+
+ /* Wake-up waiting processes with all dependencies satisfied */
+ for (WaitingProcess process : processesToTest) {
+ if (updateDependencies(process)) {
+ wakeUpWaitingProcess(process);
+ }
+ }
+ }
}
Deleted: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyStatus.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyStatus.java 2009-07-27 22:07:54 UTC (rev 379)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyStatus.java 2009-07-27 22:09:18 UTC (rev 380)
@@ -1,9 +0,0 @@
-package de.campussource.cse.core;
-
-/**
- *
- * @author pete
- */
-public enum DependencyStatus {
- SATISFIED, UNSATISFIED
-}
Deleted: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyType.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyType.java 2009-07-27 22:07:54 UTC (rev 379)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/DependencyType.java 2009-07-27 22:09:18 UTC (rev 380)
@@ -1,9 +0,0 @@
-package de.campussource.cse.core;
-
-/**
- *
- * @author pete
- */
-public enum DependencyType {
- NONE, COURSE, CATEGORY
-}
Added: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManager.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManager.java (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManager.java 2009-07-27 22:09:18 UTC (rev 380)
@@ -0,0 +1,19 @@
+/*
+ * To change this template, choose Tools | Templates
+ * and open the template in the editor.
+ */
+
+package de.campussource.cse.core;
+
+import java.util.List;
+import javax.ejb.Local;
+
+/**
+ *
+ * @author pete
+ */
+@Local
+public interface SystemManager {
+
+ public List<String> getOutboundSystems();
+}
Added: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManagerImpl.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManagerImpl.java (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManagerImpl.java 2009-07-27 22:09:18 UTC (rev 380)
@@ -0,0 +1,28 @@
+package de.campussource.cse.core;
+
+import java.util.LinkedList;
+import java.util.List;
+import javax.ejb.Stateless;
+import javax.persistence.EntityManager;
+import javax.persistence.PersistenceContext;
+
+/**
+ *
+ * @author pete
+ */
+
+@Stateless
+public class SystemManagerImpl implements SystemManagerRemote, SystemManager {
+
+ @PersistenceContext
+ private EntityManager em;
+
+ public List<String> getOutboundSystems() {
+
+ List<String> systems = new LinkedList<String>();
+ systems.add("Ilias");
+
+ return systems;
+ }
+
+}
Added: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManagerRemote.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManagerRemote.java (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/SystemManagerRemote.java 2009-07-27 22:09:18 UTC (rev 380)
@@ -0,0 +1,12 @@
+package de.campussource.cse.core;
+
+import javax.ejb.Remote;
+
+/**
+ *
+ * @author pete
+ */
+@Remote
+public interface SystemManagerRemote extends SystemManager {
+
+}
Added: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Dependency.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Dependency.java (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Dependency.java 2009-07-27 22:09:18 UTC (rev 380)
@@ -0,0 +1,103 @@
+package de.campussource.cse.core.pdm;
+
+import java.io.Serializable;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.JoinColumn;
+import javax.persistence.ManyToOne;
+import javax.persistence.NamedQueries;
+import javax.persistence.NamedQuery;
+
+/**
+ *
+ * @author pete
+ */
+
+@NamedQueries({
+
+ @NamedQuery( name = "Dependency.getByEntityIdAndSystem",
+ query = "SELECT d FROM Dependency WHERE d.process.system = :system AND d.entityId = :entityId")
+})
+
+@Entity
+public class Dependency implements Serializable {
+
+ public static final String QUERY_getByEntityIdAndSystem = "Dependency.getByEntityIdAndSystem";
+
+ private static final long serialVersionUID = 1L;
+
+ @Id
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ private Long id;
+
+ /* Process associated with (= waiting on) this dependency */
+ @ManyToOne(fetch = FetchType.EAGER)
+ @JoinColumn(name = "processId")
+ private WaitingProcess process;
+
+ /* Entity this dependency refers to */
+ private int entityId;
+
+ /* Current status of this dependency */
+ private DependencyStatus status;
+
+ @Override
+ public int hashCode() {
+ int hash = 0;
+ hash += (id != null ? id.hashCode() : 0);
+ return hash;
+ }
+
+ @Override
+ public boolean equals(Object object) {
+ // TODO: Warning - this method won't work in the case the id fields are not set
+ if (!(object instanceof Dependency)) {
+ return false;
+ }
+ Dependency other = (Dependency) object;
+ if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
+ return false;
+ }
+ return true;
+ }
+
+ @Override
+ public String toString() {
+ return "de.campussource.cse.core.pdm.Dependency[id=" + id + "]";
+ }
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public WaitingProcess getProcess() {
+ return process;
+ }
+
+ public void setProcess(WaitingProcess process) {
+ this.process = process;
+ }
+
+ public DependencyStatus getStatus() {
+ return status;
+ }
+
+ public void setStatus(DependencyStatus status) {
+ this.status = status;
+ }
+
+ public int getEntityId() {
+ return entityId;
+ }
+
+ public void setEntityId(int entityId) {
+ this.entityId = entityId;
+ }
+}
Added: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/DependencyStatus.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/DependencyStatus.java (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/DependencyStatus.java 2009-07-27 22:09:18 UTC (rev 380)
@@ -0,0 +1,9 @@
+package de.campussource.cse.core.pdm;
+
+/**
+ *
+ * @author pete
+ */
+public enum DependencyStatus {
+ SATISFIED, UNSATISFIED
+}
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Entity.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Entity.java 2009-07-27 22:07:54 UTC (rev 379)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Entity.java 2009-07-27 22:09:18 UTC (rev 380)
@@ -33,7 +33,7 @@
private boolean proxy;
/* List of attributes of this object */
- @OneToMany(mappedBy="entity", cascade = CascadeType.ALL, fetch = FetchType.EAGER)
+ @OneToMany(mappedBy = "entityId", cascade = CascadeType.ALL, fetch = FetchType.EAGER)
private Collection<Attribute> attributes = new ArrayList<Attribute>();
@Override
Added: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/WaitingProcess.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/WaitingProcess.java (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/WaitingProcess.java 2009-07-27 22:09:18 UTC (rev 380)
@@ -0,0 +1,107 @@
+package de.campussource.cse.core.pdm;
+
+import java.io.Serializable;
+import java.util.Collection;
+import java.util.LinkedList;
+import javax.persistence.CascadeType;
+import javax.persistence.Entity;
+import javax.persistence.FetchType;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.NamedQueries;
+import javax.persistence.NamedQuery;
+import javax.persistence.OneToMany;
+
+/**
+ *
+ * @author pete
+ */
+
+@NamedQueries({
+
+ @NamedQuery( name = "WaitingProcess.getByEntityIdAndSystem",
+ query = "SELECT p FROM WaitingProcess p WHERE p.system = :system AND p.entityId = :entityId")
+})
+
+@Entity
+public class WaitingProcess implements Serializable {
+
+ public final static String QUERY_getByEntityIdAndSystem = "WaitingProcess.getByEntityIdAndSystem";
+
+ private static final long serialVersionUID = 1L;
+
+ @Id
+ @GeneratedValue(strategy = GenerationType.AUTO)
+ private Long id;
+
+ /* Concrete dependencies associated with represented process instance */
+ @OneToMany(mappedBy = "processId", cascade = CascadeType.ALL, fetch = FetchType.EAGER)
+ private Collection<Dependency> dependencies = new LinkedList<Dependency>();
+
+ /**
+ * Id of the associated process (will be used as correlation id for process-wakeup to identify
+ * the process instance)
+ */
+ private int entityId;
+
+ /* The system this process + associated dependencies relate to */
+ private String system;
+
+ @Override
+ public int hashCode() {
+ int hash = 0;
+ hash += (id != null ? id.hashCode() : 0);
+ return hash;
+ }
+
+ @Override
+ public boolean equals(Object object) {
+ // TODO: Warning - this method won't work in the case the id fields are not set
+ if (!(object instanceof WaitingProcess)) {
+ return false;
+ }
+ WaitingProcess other = (WaitingProcess) object;
+ if ((this.id == null && other.id != null) || (this.id != null && !this.id.equals(other.id))) {
+ return false;
+ }
+ return true;
+ }
+
+ @Override
+ public String toString() {
+ return "de.campussource.cse.core.pdm.WaitingProcess[id=" + id + "]";
+ }
+
+ public Long getId() {
+ return id;
+ }
+
+ public void setId(Long id) {
+ this.id = id;
+ }
+
+ public Collection<Dependency> getDependencies() {
+ return dependencies;
+ }
+
+ public void setDependencies(Collection<Dependency> dependencies) {
+ this.dependencies = dependencies;
+ }
+
+ public int getEntityId() {
+ return entityId;
+ }
+
+ public void setEntityId(int entityId) {
+ this.entityId = entityId;
+ }
+
+ public String getSystem() {
+ return system;
+ }
+
+ public void setSystem(String system) {
+ this.system = system;
+ }
+}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-27 22:08:12
|
Revision: 379
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=379&view=rev
Author: pkasprzak
Date: 2009-07-27 22:07:54 +0000 (Mon, 27 Jul 2009)
Log Message:
-----------
* Stuff :)
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/catalog.xml
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/build-impl.xml
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/genfiles.properties
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jax-ws.xml
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jaxws-build.xml
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/project.xml
Added Paths:
-----------
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/DependencyManagerNotification/
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/DependencyManagerNotification/DependencyManagerNotification.wsdl
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/DependencyManagerNotification/
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/catalog.xml
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/catalog.xml 2009-07-25 09:17:44 UTC (rev 378)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/catalog.xml 2009-07-27 22:07:54 UTC (rev 379)
@@ -1,4 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system">
<system systemId="file:/home/pete/dipl/devel/cse-ip/CSECore-ejb/../Common/src/CDDM.xsd" uri="src/conf/xml-resources/jaxb/cddm/CDDM.xsd"/>
+ <system systemId="file:/home/pete/dipl/devel/cse-ip/Common/src/DependencyManagerNotification.wsdl" uri="src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl"/>
</catalog>
\ No newline at end of file
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/build-impl.xml
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/build-impl.xml 2009-07-25 09:17:44 UTC (rev 378)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/build-impl.xml 2009-07-27 22:07:54 UTC (rev 379)
@@ -290,7 +290,7 @@
<target depends="init" if="no.dist.ear.dir" name="-deps-module-jar" unless="no.deps"/>
<target depends="init" if="dist.ear.dir" name="-deps-ear-jar" unless="no.deps"/>
<target depends="init, -deps-module-jar, -deps-ear-jar" name="deps-jar"/>
- <target depends="init,deps-jar,jaxb-code-generation" name="-pre-pre-compile">
+ <target depends="init,deps-jar,wsimport-client-generate,jaxb-code-generation" name="-pre-pre-compile">
<mkdir dir="${build.classes.dir}"/>
<mkdir dir="${build.ear.classes.dir}"/>
</target>
@@ -315,7 +315,7 @@
<fileset dir="${meta.inf}" excludes="**/*.dbschema **/xml-resources/** ${meta.inf.excludes}"/>
</copy>
</target>
- <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-copy-meta-inf" if="have.sources" name="-do-compile">
+ <target depends="init,deps-jar,-pre-pre-compile,-pre-compile,-copy-meta-inf,wsimport-client-compile" if="have.sources" name="-do-compile">
<ejbjarproject2:javac destdir="${classes.dir}"/>
<copy todir="${classes.dir}">
<fileset dir="${src.dir}" excludes="${build.classes.excludes},${excludes}" includes="${includes}"/>
@@ -330,7 +330,7 @@
<!-- Empty placeholder for easier customization. -->
<!-- You can override this target in the ../build.xml file. -->
</target>
- <target depends="init,deps-jar,-pre-pre-compile" name="-do-compile-single">
+ <target depends="init,deps-jar,-pre-pre-compile,wsimport-client-compile" name="-do-compile-single">
<fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
<ejbjarproject2:javac excludes="" includes="${javac.includes}"/>
</target>
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/genfiles.properties
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/genfiles.properties 2009-07-25 09:17:44 UTC (rev 378)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/genfiles.properties 2009-07-27 22:07:54 UTC (rev 379)
@@ -1,9 +1,9 @@
-build.xml.data.CRC32=8344d0cf
+build.xml.data.CRC32=c7301153
build.xml.script.CRC32=54243c03
build.xml.stylesheet.CRC32=e5f4c432
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
-nbproject/build-impl.xml.data.CRC32=8344d0cf
-nbproject/build-impl.xml.script.CRC32=91803eb0
+nbproject/build-impl.xml.data.CRC32=c7301153
+nbproject/build-impl.xml.script.CRC32=1447b5e1
nbproject/build-impl.xml.stylesheet.CRC32=36c39d59
nbproject/jaxws-build.xml.stylesheet.CRC32=f49c6152
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jax-ws.xml
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jax-ws.xml 2009-07-25 09:17:44 UTC (rev 378)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jax-ws.xml 2009-07-27 22:07:54 UTC (rev 379)
@@ -11,5 +11,30 @@
<implementation-class>de.campussource.cse.core.RelationManagerWS</implementation-class>
</service>
</services>
- <clients/>
+ <clients>
+ <client name="DependencyManagerNotification">
+ <wsdl-url>file:/home/pete/dipl/devel/cse-ip/Common/src/DependencyManagerNotification.wsdl</wsdl-url>
+ <local-wsdl-file>DependencyManagerNotification.wsdl</local-wsdl-file>
+ <package-name>org.netbeans.j2ee.wsdl.common.dependencymanagernotification</package-name>
+ <catalog-file>catalog.xml</catalog-file>
+ <wsimport-options>
+ <wsimport-option>
+ <wsimport-option-name>extension</wsimport-option-name>
+ <wsimport-option-value>true</wsimport-option-value>
+ </wsimport-option>
+ <wsimport-option>
+ <wsimport-option-name>verbose</wsimport-option-name>
+ <wsimport-option-value>true</wsimport-option-value>
+ </wsimport-option>
+ <wsimport-option>
+ <wsimport-option-name>wsdlLocation</wsimport-option-name>
+ <wsimport-option-value>file:/home/pete/dipl/devel/cse-ip/Common/src/DependencyManagerNotification.wsdl</wsimport-option-value>
+ </wsimport-option>
+ <wsimport-option>
+ <wsimport-option-name>xnocompile</wsimport-option-name>
+ <wsimport-option-value>true</wsimport-option-value>
+ </wsimport-option>
+ </wsimport-options>
+ </client>
+ </clients>
</jax-ws>
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jaxws-build.xml
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jaxws-build.xml 2009-07-25 09:17:44 UTC (rev 378)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jaxws-build.xml 2009-07-27 22:07:54 UTC (rev 379)
@@ -36,4 +36,31 @@
JAX-WS WSIMPORT SECTION
===================
-->
+ <target name="wsimport-init" depends="init">
+ <mkdir dir="${build.generated.dir}/wsimport/client"/>
+ <mkdir dir="${build.generated.dir}/wsimport/binaries"/>
+ <mkdir dir="${classes.dir}"/>
+ <taskdef name="wsimport" classname="com.sun.tools.ws.ant.WsImport">
+ <classpath path="${j2ee.platform.wsimport.classpath}"/>
+ </taskdef>
+ </target>
+ <target name="wsimport-client-check-DependencyManagerNotification" depends="wsimport-init">
+ <condition property="wsimport-client-DependencyManagerNotification.notRequired">
+ <available file="${build.generated.dir}/wsimport/client/org/netbeans/j2ee/wsdl/common/dependencymanagernotification/DependencyManagerNotification.java"/>
+ </condition>
+ </target>
+ <target name="wsimport-client-DependencyManagerNotification" depends="wsimport-init,wsimport-client-check-DependencyManagerNotification" unless="wsimport-client-DependencyManagerNotification.notRequired">
+ <property name="wsdl-DependencyManagerNotification" location="${meta.inf}/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl"/>
+ <wsimport sourcedestdir="${build.generated.dir}/wsimport/client" destdir="${build.generated.dir}/wsimport/binaries" wsdl="${wsdl-DependencyManagerNotification}" catalog="catalog.xml" extension="true" verbose="true" wsdlLocation="file:/home/pete/dipl/devel/cse-ip/Common/src/DependencyManagerNotification.wsdl" xnocompile="true"/>
+ </target>
+ <target name="wsimport-client-clean-DependencyManagerNotification" depends="-init-project">
+ <delete dir="${build.generated.dir}/wsimport/client/org/netbeans/j2ee/wsdl/common/dependencymanagernotification"/>
+ </target>
+ <target name="wsimport-client-generate" depends="wsimport-client-DependencyManagerNotification"/>
+ <target name="wsimport-client-compile" depends="wsimport-client-generate">
+ <ejbjarproject2:javac srcdir="${build.generated.dir}/wsimport/client" classpath="${j2ee.platform.wsimport.classpath}:${javac.classpath}" destdir="${classes.dir}"/>
+ <copy todir="${classes.dir}">
+ <fileset dir="${build.generated.dir}/wsimport/binaries" includes="**/*.xml"/>
+ </copy>
+ </target>
</project>
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/project.xml
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/project.xml 2009-07-25 09:17:44 UTC (rev 378)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/project.xml 2009-07-27 22:07:54 UTC (rev 379)
@@ -3,7 +3,11 @@
<type>org.netbeans.modules.j2ee.ejbjarproject</type>
<configuration>
<buildExtensions xmlns="http://www.netbeans.org/ns/ant-build-extender/1">
- <extension file="jaxws-build.xml" id="jaxws"/>
+ <extension file="jaxws-build.xml" id="jaxws">
+ <dependency dependsOn="wsimport-client-compile" target="-do-compile"/>
+ <dependency dependsOn="wsimport-client-compile" target="-do-compile-single"/>
+ <dependency dependsOn="wsimport-client-generate" target="-pre-pre-compile"/>
+ </extension>
<extension file="xml_binding_build.xml" id="jaxb">
<dependency dependsOn="jaxb-code-generation" target="-pre-pre-compile"/>
</extension>
Added: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/DependencyManagerNotification/DependencyManagerNotification.wsdl
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/DependencyManagerNotification/DependencyManagerNotification.wsdl (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/wsdl/client/DependencyManagerNotification/DependencyManagerNotification.wsdl 2009-07-27 22:07:54 UTC (rev 379)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="windows-1252"?>
+<definitions name="DependencyManagerNotification" targetNamespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification"
+ 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/Common/DependencyManagerNotification" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+ <types/>
+ <message name="notifyRequest">
+ <part name="entityId" type="xsd:int"/>
+ <part name="system" type="xsd:string"/>
+ </message>
+ <portType name="DependencyManagerNotificationPortType">
+ <operation name="notify">
+ <input name="input1" message="tns:notifyRequest"/>
+ </operation>
+ </portType>
+ <binding name="DependencyManagerNotificationBinding" type="tns:DependencyManagerNotificationPortType">
+ <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="notify">
+ <soap:operation/>
+ <input name="input1">
+ <soap:body use="literal" namespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification"/>
+ </input>
+ </operation>
+ </binding>
+ <service name="DependencyManagerNotificationService">
+ <port name="DependencyManagerNotificationPort" binding="tns:DependencyManagerNotificationBinding">
+ <soap:address location="http://localhost:${HttpDefaultPort}/DependencyManagerNotificationService/DependencyManagerNotificationPort"/>
+ </port>
+ </service>
+ <plnk:partnerLinkType name="DependencyManagerNotification">
+ <!-- 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="DependencyManagerNotificationPortTypeRole" portType="tns:DependencyManagerNotificationPortType"/>
+ </plnk:partnerLinkType>
+</definitions>
Added: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/conf/xml-resources/web-service-references/DependencyManagerNotification/wsdl/DependencyManagerNotification.wsdl 2009-07-27 22:07:54 UTC (rev 379)
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="windows-1252"?>
+<definitions name="DependencyManagerNotification" targetNamespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification"
+ 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/Common/DependencyManagerNotification" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
+ <types/>
+ <message name="notifyRequest">
+ <part name="entityId" type="xsd:int"/>
+ <part name="system" type="xsd:string"/>
+ </message>
+ <portType name="DependencyManagerNotificationPortType">
+ <operation name="notify">
+ <input name="input1" message="tns:notifyRequest"/>
+ </operation>
+ </portType>
+ <binding name="DependencyManagerNotificationBinding" type="tns:DependencyManagerNotificationPortType">
+ <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
+ <operation name="notify">
+ <soap:operation/>
+ <input name="input1">
+ <soap:body use="literal" namespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification"/>
+ </input>
+ </operation>
+ </binding>
+ <service name="DependencyManagerNotificationService">
+ <port name="DependencyManagerNotificationPort" binding="tns:DependencyManagerNotificationBinding">
+ <soap:address location="http://localhost:${HttpDefaultPort}/DependencyManagerNotificationService/DependencyManagerNotificationPort"/>
+ </port>
+ </service>
+ <plnk:partnerLinkType name="DependencyManagerNotification">
+ <!-- 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="DependencyManagerNotificationPortTypeRole" portType="tns:DependencyManagerNotificationPortType"/>
+ </plnk:partnerLinkType>
+</definitions>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-25 09:17:55
|
Revision: 378
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=378&view=rev
Author: pkasprzak
Date: 2009-07-25 09:17:44 +0000 (Sat, 25 Jul 2009)
Log Message:
-----------
* Make relation management logic available to bpel processes
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa
trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/jbiasa/CSEIPCA.wsdl
Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa 2009-07-25 09:17:32 UTC (rev 377)
+++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa 2009-07-25 09:17:44 UTC (rev 378)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<casa xmlns="http://java.sun.com/xml/ns/casa" xmlns:ns1="urn:ilUserAdministration" xmlns:ns10="http://cse.campussource.de/ejb/EntityManager" xmlns:ns11="http://cse.campussource.de/ejb/IdentityManager" xmlns:ns12="http://cse.campussource.de/bpel/ILIASClientAdapter/Login" xmlns:ns13="http://cse.campussource.de/wsdl/ILIASClientAdapter/Login" xmlns:ns14="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateAccount" xmlns:ns15="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateAccount" xmlns:ns16="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateCategory" xmlns:ns17="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateCategory" xmlns:ns18="http://cse.campussource.de/bpel/ILIASClientAdapter/DeleteCategory" xmlns:ns19="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCategory" xmlns:ns2="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" xmlns:ns20="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCourse" xmlns:ns21="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" xmlns:ns22="http://cse.campussource.de/bpel/ILIASClientAdapter/UpdateCourse" xmlns:ns23="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateCourse" xmlns:ns24="http://cse.campussource.de/bpel/ILIASClientAdapter/DeleteAccount" xmlns:ns25="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteAccount" xmlns:ns26="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCategory" xmlns:ns27="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCategory" xmlns:ns28="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCourse" xmlns:ns29="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCourse" xmlns:ns3="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" xmlns:ns30="http://cse.campussource.de/bpel/ILIASClientAdapter/ResolveEPR" xmlns:ns31="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" xmlns:ns32="http://cse.campussource.de/bpel/ILIASClientAdapter/OutboundClientAdapter" xmlns:ns33="http://cse.campussource.de/bpel/ILIASClientAdapter/AddAccount" xmlns:ns34="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddAccount" xmlns:ns35="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" xmlns:ns36="http://enterprise.netbeans.org/bpel/ObjectProcessor/ReplyProcessor" xmlns:ns37="http://enterprise.netbeans.org/bpel/ObjectProcessor/AddCourse" xmlns:ns38="http://enterprise.netbeans.org/bpel/ObjectProcessor/newProcess" xmlns:ns39="http://enterprise.netbeans.org/bpel/LSFClientAdapter/InboundClientAdapter" xmlns:ns4="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" xmlns:ns40="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/LSFClientAdapter" xmlns:ns5="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:ns6="http://cse.campussource.de/ejb/ConfigurationManager" xmlns:ns7="LSFClientAdapterCA" xmlns:ns8="http://cse.campussource.de/ejb/RelationManager" xmlns:ns9="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" xmlns:xlink="http://www.w3.org/2000/xlink">
+<casa xmlns="http://java.sun.com/xml/ns/casa" xmlns:ns1="urn:ilUserAdministration" xmlns:ns10="http://cse.campussource.de/ejb/EntityManager" xmlns:ns11="http://cse.campussource.de/ejb/IdentityManager" xmlns:ns12="http://cse.campussource.de/bpel/ILIASClientAdapter/ResolveEPR" xmlns:ns13="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" xmlns:ns14="http://cse.campussource.de/bpel/ILIASClientAdapter/UpdateCourse" xmlns:ns15="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateCourse" xmlns:ns16="http://cse.campussource.de/bpel/ILIASClientAdapter/DeleteCategory" xmlns:ns17="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCategory" xmlns:ns18="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateAccount" xmlns:ns19="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateAccount" xmlns:ns2="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" xmlns:ns20="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateCategory" xmlns:ns21="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateCategory" xmlns:ns22="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCourse" xmlns:ns23="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCourse" xmlns:ns24="http://cse.campussource.de/bpel/ILIASClientAdapter/AddAccount" xmlns:ns25="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddAccount" xmlns:ns26="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCategory" xmlns:ns27="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCategory" xmlns:ns28="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCourse" xmlns:ns29="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" xmlns:ns3="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" xmlns:ns30="http://cse.campussource.de/bpel/ILIASClientAdapter/DeleteAccount" xmlns:ns31="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteAccount" xmlns:ns32="http://cse.campussource.de/bpel/ILIASClientAdapter/OutboundClientAdapter" xmlns:ns33="http://cse.campussource.de/bpel/ILIASClientAdapter/Login" xmlns:ns34="http://cse.campussource.de/wsdl/ILIASClientAdapter/Login" xmlns:ns35="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" xmlns:ns36="http://enterprise.netbeans.org/bpel/ObjectProcessor/newProcess" xmlns:ns37="http://enterprise.netbeans.org/bpel/ObjectProcessor/ReplyProcessor" xmlns:ns38="http://enterprise.netbeans.org/bpel/ObjectProcessor/AddCourse" xmlns:ns39="http://enterprise.netbeans.org/bpel/LSFClientAdapter/InboundClientAdapter" xmlns:ns4="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" xmlns:ns40="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/LSFClientAdapter" xmlns:ns5="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:ns6="http://cse.campussource.de/ejb/ConfigurationManager" xmlns:ns7="http://cse.campussource.de/ejb/RelationManager" xmlns:ns8="LSFClientAdapterCA" xmlns:ns9="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" xmlns:xlink="http://www.w3.org/2000/xlink">
<endpoints>
<endpoint endpoint-name="ILIASSoapWebservicePort" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint1" service-name="ns1:ILIASSoapWebservice"/>
<endpoint endpoint-name="IdentityMapperPort" interface-name="ns2:IdentityMapperPortType" name="endpoint2" service-name="ns2:IdentityMapperService"/>
@@ -7,72 +7,72 @@
<endpoint endpoint-name="ObjectProcessorPortTypeBindingPort" interface-name="ns4:ObjectProcessorPortType" name="endpoint4" service-name="ns4:ObjectProcessorService"/>
<endpoint endpoint-name="ILIASClientAdapterPort" interface-name="ns5:ILIASClientAdapterPortType" name="endpoint5" service-name="ns5:ILIASClientAdapterService"/>
<endpoint endpoint-name="ConfigurationManagerPort" interface-name="ns6:ConfigurationManager" name="endpoint6" service-name="ns6:ConfigurationManagerWSService"/>
- <endpoint endpoint-name="Test_RelationManager" interface-name="ns8:RelationManager" name="endpoint7" service-name="ns7:casaService1"/>
- <endpoint endpoint-name="RelationManagerPort" interface-name="ns8:RelationManager" name="endpoint8" service-name="ns8:RelationManagerWSService"/>
- <endpoint endpoint-name="Test_ILIASClientAdapter" interface-name="ns5:ILIASClientAdapterPortType" name="endpoint9" service-name="ns7:casaService2"/>
- <endpoint endpoint-name="AddCoursePort" interface-name="ns9:AddCoursePortType" name="endpoint10" service-name="ns9:AddCourseService"/>
- <endpoint endpoint-name="EntityManagerPort" interface-name="ns10:EntityManager" name="endpoint11" service-name="ns10:EntityManagerWSService"/>
- <endpoint endpoint-name="IdentityManagerPort" interface-name="ns11:IdentityManager" name="endpoint12" service-name="ns11:IdentityManagerWSService"/>
- <endpoint endpoint-name="javaee_IdentityManagerPort" interface-name="ns11:IdentityManager" name="endpoint13" service-name="ns11:IdentityManagerWSService"/>
- <endpoint endpoint-name="javaee_EntityManagerPort" interface-name="ns10:EntityManager" name="endpoint14" service-name="ns10:EntityManagerWSService"/>
- <endpoint endpoint-name="javaee_RelationManagerPort" interface-name="ns8:RelationManager" name="endpoint15" service-name="ns8:RelationManagerWSService"/>
- <endpoint display-name="IliasAdapter" endpoint-name="LoginPortTypeRole_myRole" file-path="Login.bpel" interface-name="ns13:LoginPortType" name="endpoint16" process-name="Login" service-name="ns12:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="UpdateAccountPortTypeRole_myRole" file-path="UpdateAccount.bpel" interface-name="ns15:UpdateAccountPortType" name="endpoint17" process-name="UpdateAccount" service-name="ns14:IliasAdapter"/>
- <endpoint display-name="IliasAdpater" endpoint-name="UpdateCategoryPortTypeRole_myRole" file-path="UpdateCategory.bpel" interface-name="ns17:UpdateCategoryPortType" name="endpoint18" process-name="UpdateCategory" service-name="ns16:IliasAdpater"/>
- <endpoint display-name="IliasAdapter" endpoint-name="DeleteCategoryPortTypeRole_myRole" file-path="DeleteCategory.bpel" interface-name="ns19:DeleteCategoryPortType" name="endpoint19" process-name="DeleteCategory" service-name="ns18:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="AddCoursePortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns21:AddCoursePortType" name="endpoint20" process-name="AddCourse" service-name="ns20:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="UpdateCoursePortTypeRole_myRole" file-path="UpdateCourse.bpel" interface-name="ns23:UpdateCoursePortType" name="endpoint21" process-name="UpdateCourse" service-name="ns22:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="DeleteAccountPortTypeRole_myRole" file-path="DeleteAccount.bpel" interface-name="ns25:DeleteAccountPortType" name="endpoint22" process-name="DeleteAccount" service-name="ns24:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="AddCategoryPortTypeRole_myRole" file-path="AddCategory.bpel" interface-name="ns27:AddCategoryPortType" name="endpoint23" process-name="AddCategory" service-name="ns26:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="DeleteCoursePortTypeRole_myRole" file-path="DeleteCourse.bpel" interface-name="ns29:DeleteCoursePortType" name="endpoint24" process-name="DeleteCourse" service-name="ns28:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="ResolveEPRPortTypeRole_myRole" file-path="ResolveEPR.bpel" interface-name="ns31:ResolveEPRPortType" name="endpoint25" process-name="ResolveEPR" service-name="ns30:IliasAdapter"/>
- <endpoint display-name="ILIASAdapter" endpoint-name="ILIASClientAdapterPortTypeRole_myRole" file-path="OutboundClientAdapter.bpel" interface-name="ns5:ILIASClientAdapterPortType" name="endpoint26" process-name="OutboundClientAdapter" service-name="ns32:ILIASAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="AddAccountPortTypeRole_myRole" file-path="AddAccount.bpel" interface-name="ns34:AddAccountPortType" name="endpoint27" process-name="AddAccount" service-name="ns33:IliasAdapter"/>
- <endpoint display-name="ConfigurationManager" endpoint-name="ConfigurationManagerRole_partnerRole" file-path="Login.bpel" interface-name="ns6:ConfigurationManager" name="endpoint28" process-name="Login" service-name="ns12:ConfigurationManager"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="Login.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint29" process-name="Login" service-name="ns12:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint30" process-name="UpdateAccount" service-name="ns14:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint31" process-name="UpdateCategory" service-name="ns16:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint32" process-name="DeleteCategory" service-name="ns18:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint33" process-name="AddCourse" service-name="ns20:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint34" process-name="UpdateCourse" service-name="ns22:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint35" process-name="DeleteAccount" service-name="ns24:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint36" process-name="AddCategory" service-name="ns26:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint37" process-name="DeleteCourse" service-name="ns28:ILIAS"/>
- <endpoint display-name="ConfigurationManager" endpoint-name="ConfigurationManagerRole_partnerRole" file-path="ResolveEPR.bpel" interface-name="ns6:ConfigurationManager" name="endpoint38" process-name="ResolveEPR" service-name="ns30:ConfigurationManager"/>
- <endpoint display-name="ResolveEPR" endpoint-name="ResolveEPRPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns31:ResolveEPRPortType" name="endpoint39" process-name="OutboundClientAdapter" service-name="ns32:ResolveEPR"/>
- <endpoint display-name="Login" endpoint-name="LoginPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns13:LoginPortType" name="endpoint40" process-name="OutboundClientAdapter" service-name="ns32:Login"/>
- <endpoint display-name="AddCourse" endpoint-name="AddCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns21:AddCoursePortType" name="endpoint41" process-name="OutboundClientAdapter" service-name="ns32:AddCourse"/>
- <endpoint display-name="UpdateCourse" endpoint-name="UpdateCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns23:UpdateCoursePortType" name="endpoint42" process-name="OutboundClientAdapter" service-name="ns32:UpdateCourse"/>
- <endpoint display-name="DeleteCourse" endpoint-name="DeleteCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns29:DeleteCoursePortType" name="endpoint43" process-name="OutboundClientAdapter" service-name="ns32:DeleteCourse"/>
- <endpoint display-name="AddCategory" endpoint-name="AddCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns27:AddCategoryPortType" name="endpoint44" process-name="OutboundClientAdapter" service-name="ns32:AddCategory"/>
- <endpoint display-name="UpdateCategory" endpoint-name="UpdateCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns17:UpdateCategoryPortType" name="endpoint45" process-name="OutboundClientAdapter" service-name="ns32:UpdateCategory"/>
- <endpoint display-name="DeleteCategory" endpoint-name="DeleteCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns19:DeleteCategoryPortType" name="endpoint46" process-name="OutboundClientAdapter" service-name="ns32:DeleteCategory"/>
- <endpoint display-name="AddAccount" endpoint-name="AddAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns34:AddAccountPortType" name="endpoint47" process-name="OutboundClientAdapter" service-name="ns32:AddAccount"/>
- <endpoint display-name="UpdateAccount" endpoint-name="UpdateAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns15:UpdateAccountPortType" name="endpoint48" process-name="OutboundClientAdapter" service-name="ns32:UpdateAccount"/>
- <endpoint display-name="DeleteAccount" endpoint-name="DeleteAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns25:DeleteAccountPortType" name="endpoint49" process-name="OutboundClientAdapter" service-name="ns32:DeleteAccount"/>
- <endpoint display-name="ReplyProcessor" endpoint-name="ReplyProcessorPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns35:ReplyProcessorPortType" name="endpoint50" process-name="OutboundClientAdapter" service-name="ns32:ReplyProcessor"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint51" process-name="OutboundClientAdapter" service-name="ns32:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint52" process-name="AddAccount" service-name="ns33:ILIAS"/>
- <endpoint display-name="ClientAdapter" endpoint-name="ReplyProcessorPortTypeRole_myRole" file-path="ReplyProcessor.bpel" interface-name="ns35:ReplyProcessorPortType" name="endpoint53" process-name="ReplyProcessor" service-name="ns36:ClientAdapter"/>
- <endpoint display-name="ClientAdapter" endpoint-name="AddCoursePortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns9:AddCoursePortType" name="endpoint54" process-name="AddCourse" service-name="ns37:ClientAdapter"/>
- <endpoint display-name="ClientAdapter" endpoint-name="ObjectProcessorPortTypeRole_myRole" file-path="InboundObjectProcessor.bpel" interface-name="ns4:ObjectProcessorPortType" name="endpoint55" process-name="InboundObjectProcessor" service-name="ns38:ClientAdapter"/>
- <endpoint display-name="EntityManager" endpoint-name="EntityManagerRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns10:EntityManager" name="endpoint56" process-name="AddCourse" service-name="ns37:EntityManager"/>
- <endpoint display-name="RelationManager" endpoint-name="RelationManagerRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns8:RelationManager" name="endpoint57" process-name="AddCourse" service-name="ns37:RelationManager"/>
- <endpoint display-name="IdentityManager" endpoint-name="IdentityManagerRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns11:IdentityManager" name="endpoint58" process-name="AddCourse" service-name="ns37:IdentityManager"/>
- <endpoint display-name="IdentityMapper" endpoint-name="IdentityMapperPortTypeRole_partnerRole" file-path="InboundObjectProcessor.bpel" interface-name="ns2:IdentityMapperPortType" name="endpoint59" process-name="InboundObjectProcessor" service-name="ns38:IdentityMapper"/>
- <endpoint endpoint-name="javaee_IdentityMapperPort" interface-name="ns2:IdentityMapperPortType" name="endpoint60" service-name="ns2:IdentityMapperService"/>
- <endpoint endpoint-name="javaee_XSLTTransformPort" interface-name="ns3:XSLTTransformPortType" name="endpoint61" service-name="ns3:XSLTTransformService"/>
- <endpoint display-name="LSF" endpoint-name="LSFClientAdapterPortTypeRole_myRole" file-path="InboundClientAdapter.bpel" interface-name="ns40:LSFClientAdapterPortType" name="endpoint62" process-name="InboundClientAdapter" service-name="ns39:LSF"/>
- <endpoint display-name="XSLTTransform" endpoint-name="XSLTTransformPortTypeRole_partnerRole" file-path="InboundClientAdapter.bpel" interface-name="ns3:XSLTTransformPortType" name="endpoint63" process-name="InboundClientAdapter" service-name="ns39:XSLTTransform"/>
- <endpoint display-name="ObjectProcessor" endpoint-name="ObjectProcessorPortTypeRole_partnerRole" file-path="InboundClientAdapter.bpel" interface-name="ns4:ObjectProcessorPortType" name="endpoint64" process-name="InboundClientAdapter" service-name="ns39:ObjectProcessor"/>
+ <endpoint endpoint-name="RelationManagerPort" interface-name="ns7:RelationManager" name="endpoint7" service-name="ns7:RelationManagerWSService"/>
+ <endpoint endpoint-name="Test_ILIASClientAdapter" interface-name="ns5:ILIASClientAdapterPortType" name="endpoint8" service-name="ns8:casaService2"/>
+ <endpoint endpoint-name="AddCoursePort" interface-name="ns9:AddCoursePortType" name="endpoint9" service-name="ns9:AddCourseService"/>
+ <endpoint endpoint-name="EntityManagerPort" interface-name="ns10:EntityManager" name="endpoint10" service-name="ns10:EntityManagerWSService"/>
+ <endpoint endpoint-name="IdentityManagerPort" interface-name="ns11:IdentityManager" name="endpoint11" service-name="ns11:IdentityManagerWSService"/>
+ <endpoint endpoint-name="javaee_IdentityManagerPort" interface-name="ns11:IdentityManager" name="endpoint12" service-name="ns11:IdentityManagerWSService"/>
+ <endpoint endpoint-name="javaee_EntityManagerPort" interface-name="ns10:EntityManager" name="endpoint13" service-name="ns10:EntityManagerWSService"/>
+ <endpoint endpoint-name="javaee_RelationManagerPort" interface-name="ns7:RelationManager" name="endpoint14" service-name="ns7:RelationManagerWSService"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="ResolveEPRPortTypeRole_myRole" file-path="ResolveEPR.bpel" interface-name="ns13:ResolveEPRPortType" name="endpoint15" process-name="ResolveEPR" service-name="ns12:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="UpdateCoursePortTypeRole_myRole" file-path="UpdateCourse.bpel" interface-name="ns15:UpdateCoursePortType" name="endpoint16" process-name="UpdateCourse" service-name="ns14:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="DeleteCategoryPortTypeRole_myRole" file-path="DeleteCategory.bpel" interface-name="ns17:DeleteCategoryPortType" name="endpoint17" process-name="DeleteCategory" service-name="ns16:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="UpdateAccountPortTypeRole_myRole" file-path="UpdateAccount.bpel" interface-name="ns19:UpdateAccountPortType" name="endpoint18" process-name="UpdateAccount" service-name="ns18:IliasAdapter"/>
+ <endpoint display-name="IliasAdpater" endpoint-name="UpdateCategoryPortTypeRole_myRole" file-path="UpdateCategory.bpel" interface-name="ns21:UpdateCategoryPortType" name="endpoint19" process-name="UpdateCategory" service-name="ns20:IliasAdpater"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="DeleteCoursePortTypeRole_myRole" file-path="DeleteCourse.bpel" interface-name="ns23:DeleteCoursePortType" name="endpoint20" process-name="DeleteCourse" service-name="ns22:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="AddAccountPortTypeRole_myRole" file-path="AddAccount.bpel" interface-name="ns25:AddAccountPortType" name="endpoint21" process-name="AddAccount" service-name="ns24:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="AddCategoryPortTypeRole_myRole" file-path="AddCategory.bpel" interface-name="ns27:AddCategoryPortType" name="endpoint22" process-name="AddCategory" service-name="ns26:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="AddCoursePortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns29:AddCoursePortType" name="endpoint23" process-name="AddCourse" service-name="ns28:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="DeleteAccountPortTypeRole_myRole" file-path="DeleteAccount.bpel" interface-name="ns31:DeleteAccountPortType" name="endpoint24" process-name="DeleteAccount" service-name="ns30:IliasAdapter"/>
+ <endpoint display-name="ILIASAdapter" endpoint-name="ILIASClientAdapterPortTypeRole_myRole" file-path="OutboundClientAdapter.bpel" interface-name="ns5:ILIASClientAdapterPortType" name="endpoint25" process-name="OutboundClientAdapter" service-name="ns32:ILIASAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="LoginPortTypeRole_myRole" file-path="Login.bpel" interface-name="ns34:LoginPortType" name="endpoint26" process-name="Login" service-name="ns33:IliasAdapter"/>
+ <endpoint display-name="ConfigurationManager" endpoint-name="ConfigurationManagerRole_partnerRole" file-path="ResolveEPR.bpel" interface-name="ns6:ConfigurationManager" name="endpoint27" process-name="ResolveEPR" service-name="ns12:ConfigurationManager"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint28" process-name="UpdateCourse" service-name="ns14:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint29" process-name="DeleteCategory" service-name="ns16:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint30" process-name="UpdateAccount" service-name="ns18:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint31" process-name="UpdateCategory" service-name="ns20:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint32" process-name="DeleteCourse" service-name="ns22:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint33" process-name="AddAccount" service-name="ns24:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint34" process-name="AddCategory" service-name="ns26:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint35" process-name="AddCourse" service-name="ns28:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint36" process-name="DeleteAccount" service-name="ns30:ILIAS"/>
+ <endpoint display-name="ResolveEPR" endpoint-name="ResolveEPRPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns13:ResolveEPRPortType" name="endpoint37" process-name="OutboundClientAdapter" service-name="ns32:ResolveEPR"/>
+ <endpoint display-name="Login" endpoint-name="LoginPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns34:LoginPortType" name="endpoint38" process-name="OutboundClientAdapter" service-name="ns32:Login"/>
+ <endpoint display-name="AddCourse" endpoint-name="AddCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns29:AddCoursePortType" name="endpoint39" process-name="OutboundClientAdapter" service-name="ns32:AddCourse"/>
+ <endpoint display-name="UpdateCourse" endpoint-name="UpdateCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns15:UpdateCoursePortType" name="endpoint40" process-name="OutboundClientAdapter" service-name="ns32:UpdateCourse"/>
+ <endpoint display-name="DeleteCourse" endpoint-name="DeleteCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns23:DeleteCoursePortType" name="endpoint41" process-name="OutboundClientAdapter" service-name="ns32:DeleteCourse"/>
+ <endpoint display-name="AddCategory" endpoint-name="AddCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns27:AddCategoryPortType" name="endpoint42" process-name="OutboundClientAdapter" service-name="ns32:AddCategory"/>
+ <endpoint display-name="UpdateCategory" endpoint-name="UpdateCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns21:UpdateCategoryPortType" name="endpoint43" process-name="OutboundClientAdapter" service-name="ns32:UpdateCategory"/>
+ <endpoint display-name="DeleteCategory" endpoint-name="DeleteCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns17:DeleteCategoryPortType" name="endpoint44" process-name="OutboundClientAdapter" service-name="ns32:DeleteCategory"/>
+ <endpoint display-name="AddAccount" endpoint-name="AddAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns25:AddAccountPortType" name="endpoint45" process-name="OutboundClientAdapter" service-name="ns32:AddAccount"/>
+ <endpoint display-name="UpdateAccount" endpoint-name="UpdateAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns19:UpdateAccountPortType" name="endpoint46" process-name="OutboundClientAdapter" service-name="ns32:UpdateAccount"/>
+ <endpoint display-name="DeleteAccount" endpoint-name="DeleteAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns31:DeleteAccountPortType" name="endpoint47" process-name="OutboundClientAdapter" service-name="ns32:DeleteAccount"/>
+ <endpoint display-name="ReplyProcessor" endpoint-name="ReplyProcessorPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns35:ReplyProcessorPortType" name="endpoint48" process-name="OutboundClientAdapter" service-name="ns32:ReplyProcessor"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint49" process-name="OutboundClientAdapter" service-name="ns32:ILIAS"/>
+ <endpoint display-name="ConfigurationManager" endpoint-name="ConfigurationManagerRole_partnerRole" file-path="Login.bpel" interface-name="ns6:ConfigurationManager" name="endpoint50" process-name="Login" service-name="ns33:ConfigurationManager"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="Login.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint51" process-name="Login" service-name="ns33:ILIAS"/>
+ <endpoint display-name="ClientAdapter" endpoint-name="ObjectProcessorPortTypeRole_myRole" file-path="InboundObjectProcessor.bpel" interface-name="ns4:ObjectProcessorPortType" name="endpoint52" process-name="InboundObjectProcessor" service-name="ns36:ClientAdapter"/>
+ <endpoint display-name="ClientAdapter" endpoint-name="ReplyProcessorPortTypeRole_myRole" file-path="ReplyProcessor.bpel" interface-name="ns35:ReplyProcessorPortType" name="endpoint53" process-name="ReplyProcessor" service-name="ns37:ClientAdapter"/>
+ <endpoint display-name="ClientAdapter" endpoint-name="AddCoursePortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns9:AddCoursePortType" name="endpoint54" process-name="AddCourse" service-name="ns38:ClientAdapter"/>
+ <endpoint display-name="IdentityMapper" endpoint-name="IdentityMapperPortTypeRole_partnerRole" file-path="InboundObjectProcessor.bpel" interface-name="ns2:IdentityMapperPortType" name="endpoint55" process-name="InboundObjectProcessor" service-name="ns36:IdentityMapper"/>
+ <endpoint display-name="EntityManager" endpoint-name="EntityManagerRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns10:EntityManager" name="endpoint56" process-name="AddCourse" service-name="ns38:EntityManager"/>
+ <endpoint display-name="RelationManager" endpoint-name="RelationManagerRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns7:RelationManager" name="endpoint57" process-name="AddCourse" service-name="ns38:RelationManager"/>
+ <endpoint display-name="IdentityManager" endpoint-name="IdentityManagerRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns11:IdentityManager" name="endpoint58" process-name="AddCourse" service-name="ns38:IdentityManager"/>
+ <endpoint endpoint-name="javaee_IdentityMapperPort" interface-name="ns2:IdentityMapperPortType" name="endpoint59" service-name="ns2:IdentityMapperService"/>
+ <endpoint endpoint-name="javaee_XSLTTransformPort" interface-name="ns3:XSLTTransformPortType" name="endpoint60" service-name="ns3:XSLTTransformService"/>
+ <endpoint display-name="LSF" endpoint-name="LSFClientAdapterPortTypeRole_myRole" file-path="InboundClientAdapter.bpel" interface-name="ns40:LSFClientAdapterPortType" name="endpoint61" process-name="InboundClientAdapter" service-name="ns39:LSF"/>
+ <endpoint display-name="XSLTTransform" endpoint-name="XSLTTransformPortTypeRole_partnerRole" file-path="InboundClientAdapter.bpel" interface-name="ns3:XSLTTransformPortType" name="endpoint62" process-name="InboundClientAdapter" service-name="ns39:XSLTTransform"/>
+ <endpoint display-name="ObjectProcessor" endpoint-name="ObjectProcessorPortTypeRole_partnerRole" file-path="InboundClientAdapter.bpel" interface-name="ns4:ObjectProcessorPortType" name="endpoint63" process-name="InboundClientAdapter" service-name="ns39:ObjectProcessor"/>
</endpoints>
<service-units>
<service-engine-service-unit artifacts-zip="CSECore-ejb.jar" component-name="sun-javaee-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-CSECore-ejb" unit-name="CSECore-ejb" unknown="false" x="138" y="97">
+ <provides endpoint="endpoint12"/>
<provides endpoint="endpoint13"/>
<provides endpoint="endpoint14"/>
- <provides endpoint="endpoint15"/>
</service-engine-service-unit>
<service-engine-service-unit artifacts-zip="ILIASClientAdapter.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-ILIASClientAdapter" unit-name="ILIASClientAdapter" unknown="false" x="130" y="256">
+ <provides endpoint="endpoint15"/>
<provides endpoint="endpoint16"/>
<provides endpoint="endpoint17"/>
<provides endpoint="endpoint18"/>
@@ -84,7 +84,7 @@
<provides endpoint="endpoint24"/>
<provides endpoint="endpoint25"/>
<provides endpoint="endpoint26"/>
- <provides endpoint="endpoint27"/>
+ <consumes endpoint="endpoint27"/>
<consumes endpoint="endpoint28"/>
<consumes endpoint="endpoint29"/>
<consumes endpoint="endpoint30"/>
@@ -109,95 +109,90 @@
<consumes endpoint="endpoint49"/>
<consumes endpoint="endpoint50"/>
<consumes endpoint="endpoint51"/>
- <consumes endpoint="endpoint52"/>
</service-engine-service-unit>
<service-engine-service-unit artifacts-zip="Common.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-Common" unit-name="Common" unknown="false" x="160" y="1415"/>
<service-engine-service-unit artifacts-zip="ObjectProcessor.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-ObjectProcessor" unit-name="ObjectProcessor" unknown="false" x="133" y="1498">
+ <provides endpoint="endpoint52"/>
<provides endpoint="endpoint53"/>
<provides endpoint="endpoint54"/>
- <provides endpoint="endpoint55"/>
+ <consumes endpoint="endpoint55"/>
<consumes endpoint="endpoint56"/>
<consumes endpoint="endpoint57"/>
<consumes endpoint="endpoint58"/>
- <consumes endpoint="endpoint59"/>
</service-engine-service-unit>
- <service-engine-service-unit artifacts-zip="IdentityMapper.jar" component-name="sun-javaee-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-IdentityMapper" unit-name="IdentityMapper" unknown="false" x="133" y="1786">
+ <service-engine-service-unit artifacts-zip="IdentityMapper.jar" component-name="sun-javaee-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-IdentityMapper" unit-name="IdentityMapper" unknown="false" x="133" y="1808">
+ <provides endpoint="endpoint59"/>
+ </service-engine-service-unit>
+ <service-engine-service-unit artifacts-zip="XSLTTransform.jar" component-name="sun-javaee-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-XSLTTransform" unit-name="XSLTTransform" unknown="false" x="133" y="1923">
<provides endpoint="endpoint60"/>
</service-engine-service-unit>
- <service-engine-service-unit artifacts-zip="XSLTTransform.jar" component-name="sun-javaee-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-XSLTTransform" unit-name="XSLTTransform" unknown="false" x="133" y="1901">
+ <service-engine-service-unit artifacts-zip="LSFClientAdapter.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-LSFClientAdapter" unit-name="LSFClientAdapter" unknown="false" x="135" y="2038">
<provides endpoint="endpoint61"/>
- </service-engine-service-unit>
- <service-engine-service-unit artifacts-zip="LSFClientAdapter.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-LSFClientAdapter" unit-name="LSFClientAdapter" unknown="false" x="135" y="2016">
- <provides endpoint="endpoint62"/>
+ <consumes endpoint="endpoint62"/>
<consumes endpoint="endpoint63"/>
- <consumes endpoint="endpoint64"/>
</service-engine-service-unit>
<binding-component-service-unit artifacts-zip="sun-http-binding.jar" component-name="sun-http-binding" description="Represents this Service Unit" name="CSEIPCA-sun-http-binding" unit-name="sun-http-binding">
<ports>
- <port bindingType="soap" x="67" y="345">
- <link xlink:href="../jbiasa/CSEIPCA.wsdl#xpointer(/definitions/service[@name='casaService1']/port[@name='Test_RelationManager'])" xlink:type="simple"/>
- <consumes endpoint="endpoint7"/>
- <provides endpoint="endpoint7"/>
- </port>
<port bindingType="soap" x="67" y="422">
<link xlink:href="../jbiasa/CSEIPCA.wsdl#xpointer(/definitions/service[@name='casaService2']/port[@name='Test_ILIASClientAdapter'])" xlink:type="simple"/>
- <consumes endpoint="endpoint9"/>
- <provides endpoint="endpoint9"/>
- </port>
- <port state="deleted" x="67" y="191">
- <link xlink:href="../jbiServiceUnits/Common/IdentityManager.wsdl#xpointer(/definitions/service[@name='IdentityManagerWSService']/port[@name='IdentityManagerPort'])" xlink:type="simple"/>
- <consumes endpoint="endpoint12"/>
- <provides endpoint="endpoint12"/>
- </port>
- <port state="deleted" x="67" y="37">
- <link xlink:href="../jbiServiceUnits/Common/RelationManager.wsdl#xpointer(/definitions/service[@name='RelationManagerWSService']/port[@name='RelationManagerPort'])" xlink:type="simple"/>
<consumes endpoint="endpoint8"/>
<provides endpoint="endpoint8"/>
</port>
- <port state="deleted" x="67" y="114">
- <link xlink:href="../jbiServiceUnits/Common/EntityManager.wsdl#xpointer(/definitions/service[@name='EntityManagerWSService']/port[@name='EntityManagerPort'])" xlink:type="simple"/>
- <consumes endpoint="endpoint11"/>
- <provides endpoint="endpoint11"/>
+ <port x="67" y="37">
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ilias-3.10.5.wsdl#xpointer(/definitions/service[@name='ILIASSoapWebservice']/port[@name='ILIASSoapWebservicePort'])" xlink:type="simple"/>
+ <consumes endpoint="endpoint1"/>
+ <provides endpoint="endpoint1"/>
</port>
+ <port state="deleted" x="67" y="274">
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ILIASClientAdapter.wsdl#xpointer(/definitions/service[@name='ILIASClientAdapterService']/port[@name='ILIASClientAdapterPort'])" xlink:type="simple"/>
+ <consumes endpoint="endpoint5"/>
+ <provides endpoint="endpoint5"/>
+ </port>
<port x="67" y="688">
<link xlink:href="../jbiServiceUnits/Common/ConfigurationManager.wsdl#xpointer(/definitions/service[@name='ConfigurationManagerWSService']/port[@name='ConfigurationManagerPort'])" xlink:type="simple"/>
<consumes endpoint="endpoint6"/>
<provides endpoint="endpoint6"/>
</port>
+ <port state="deleted" x="67" y="191">
+ <link xlink:href="../jbiServiceUnits/Common/IdentityManager.wsdl#xpointer(/definitions/service[@name='IdentityManagerWSService']/port[@name='IdentityManagerPort'])" xlink:type="simple"/>
+ <consumes endpoint="endpoint11"/>
+ <provides endpoint="endpoint11"/>
+ </port>
+ <port state="deleted" x="67" y="114">
+ <link xlink:href="../jbiServiceUnits/Common/EntityManager.wsdl#xpointer(/definitions/service[@name='EntityManagerWSService']/port[@name='EntityManagerPort'])" xlink:type="simple"/>
+ <consumes endpoint="endpoint10"/>
+ <provides endpoint="endpoint10"/>
+ </port>
+ <port state="deleted" x="67" y="37">
+ <link xlink:href="../jbiServiceUnits/Common/RelationManager.wsdl#xpointer(/definitions/service[@name='RelationManagerWSService']/port[@name='RelationManagerPort'])" xlink:type="simple"/>
+ <consumes endpoint="endpoint7"/>
+ <provides endpoint="endpoint7"/>
+ </port>
<port state="deleted" x="67" y="507">
<link xlink:href="../jbiServiceUnits/LSFClientAdapter/XSLTTransform.wsdl#xpointer(/definitions/service[@name='XSLTTransformService']/port[@name='XSLTTransformPort'])" xlink:type="simple"/>
<consumes endpoint="endpoint3"/>
<provides endpoint="endpoint3"/>
</port>
<port state="deleted" x="0" y="-1">
- <link xlink:href="../jbiServiceUnits/ObjectProcessor/InboundObjectProcessor.wsdl#xpointer(/definitions/service[@name='ObjectProcessorService']/port[@name='ObjectProcessorPortTypeBindingPort'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/META-INF/LSFClientAdapter/src/_references/_projects/ObjectProcessor/src/InboundObjectProcessor.wsdl#xpointer(/definitions/service[@name='ObjectProcessorService']/port[@name='ObjectProcessorPortTypeBindingPort'])" xlink:type="simple"/>
<consumes endpoint="endpoint4"/>
<provides endpoint="endpoint4"/>
</port>
- <port x="67" y="223">
- <link xlink:href="../jbiServiceUnits/ObjectProcessor/AddCourse.wsdl#xpointer(/definitions/service[@name='AddCourseService']/port[@name='AddCoursePort'])" xlink:type="simple"/>
- <consumes endpoint="endpoint10"/>
- <provides endpoint="endpoint10"/>
- </port>
<port state="deleted" x="67" y="413">
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/IdentityMapper/src/conf/wsdl/IdentityMapperWS/IdentityMapper.wsdl#xpointer(/definitions/service[@name='IdentityMapperService']/port[@name='IdentityMapperPort'])" xlink:type="simple"/>
<consumes endpoint="endpoint2"/>
<provides endpoint="endpoint2"/>
</port>
- <port x="67" y="37">
- <link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/ilias-3.10.5.wsdl#xpointer(/definitions/service[@name='ILIASSoapWebservice']/port[@name='ILIASSoapWebservicePort'])" xlink:type="simple"/>
- <consumes endpoint="endpoint1"/>
- <provides endpoint="endpoint1"/>
+ <port x="67" y="223">
+ <link xlink:href="../jbiServiceUnits/ObjectProcessor/AddCourse.wsdl#xpointer(/definitions/service[@name='AddCourseService']/port[@name='AddCoursePort'])" xlink:type="simple"/>
+ <consumes endpoint="endpoint9"/>
+ <provides endpoint="endpoint9"/>
</port>
- <port state="deleted" x="67" y="274">
- <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ILIASClientAdapter.wsdl#xpointer(/definitions/service[@name='ILIASClientAdapterService']/port[@name='ILIASClientAdapterPort'])" xlink:type="simple"/>
- <consumes endpoint="endpoint5"/>
- <provides endpoint="endpoint5"/>
- </port>
</ports>
</binding-component-service-unit>
</service-units>
<connections>
+ <connection consumer="endpoint28" provider="endpoint1" state="unchanged"/>
<connection consumer="endpoint29" provider="endpoint1" state="unchanged"/>
<connection consumer="endpoint30" provider="endpoint1" state="unchanged"/>
<connection consumer="endpoint31" provider="endpoint1" state="unchanged"/>
@@ -206,134 +201,129 @@
<connection consumer="endpoint34" provider="endpoint1" state="unchanged"/>
<connection consumer="endpoint35" provider="endpoint1" state="unchanged"/>
<connection consumer="endpoint36" provider="endpoint1" state="unchanged"/>
- <connection consumer="endpoint37" provider="endpoint1" state="unchanged"/>
+ <connection consumer="endpoint49" provider="endpoint1" state="unchanged"/>
<connection consumer="endpoint51" provider="endpoint1" state="unchanged"/>
- <connection consumer="endpoint52" provider="endpoint1" state="unchanged"/>
- <connection consumer="endpoint46" provider="endpoint19" state="unchanged"/>
- <connection consumer="endpoint59" provider="endpoint60" state="unchanged"/>
- <connection consumer="endpoint39" provider="endpoint25" state="unchanged"/>
- <connection consumer="endpoint40" provider="endpoint16" state="unchanged"/>
- <connection consumer="endpoint10" provider="endpoint54" state="unchanged"/>
- <connection consumer="endpoint44" provider="endpoint23" state="unchanged"/>
- <connection consumer="endpoint45" provider="endpoint18" state="unchanged"/>
- <connection consumer="endpoint48" provider="endpoint17" state="unchanged"/>
- <connection consumer="endpoint28" provider="endpoint6" state="unchanged"/>
- <connection consumer="endpoint38" provider="endpoint6" state="unchanged"/>
+ <connection consumer="endpoint44" provider="endpoint17" state="unchanged"/>
+ <connection consumer="endpoint38" provider="endpoint26" state="unchanged"/>
+ <connection consumer="endpoint37" provider="endpoint15" state="unchanged"/>
+ <connection consumer="endpoint55" provider="endpoint59" state="unchanged"/>
+ <connection consumer="endpoint9" provider="endpoint54" state="unchanged"/>
+ <connection consumer="endpoint42" provider="endpoint22" state="unchanged"/>
+ <connection consumer="endpoint43" provider="endpoint19" state="unchanged"/>
+ <connection consumer="endpoint46" provider="endpoint18" state="unchanged"/>
+ <connection consumer="endpoint27" provider="endpoint6" state="unchanged"/>
+ <connection consumer="endpoint50" provider="endpoint6" state="unchanged"/>
+ <connection consumer="endpoint39" provider="endpoint23" state="unchanged"/>
<connection consumer="endpoint41" provider="endpoint20" state="unchanged"/>
- <connection consumer="endpoint43" provider="endpoint24" state="unchanged"/>
- <connection consumer="endpoint63" provider="endpoint61" state="unchanged"/>
- <connection consumer="endpoint56" provider="endpoint14" state="unchanged"/>
- <connection consumer="endpoint58" provider="endpoint13" state="unchanged"/>
- <connection consumer="endpoint64" provider="endpoint55" state="unchanged"/>
- <connection consumer="endpoint47" provider="endpoint27" state="unchanged"/>
- <connection consumer="endpoint9" provider="endpoint26" state="new"/>
- <connection consumer="endpoint42" provider="endpoint21" state="unchanged"/>
- <connection consumer="endpoint49" provider="endpoint22" state="unchanged"/>
- <connection consumer="endpoint50" provider="endpoint53" state="unchanged"/>
- <connection consumer="endpoint7" provider="endpoint15" state="unchanged"/>
- <connection consumer="endpoint8" provider="endpoint15" state="deleted"/>
+ <connection consumer="endpoint57" provider="endpoint14" state="unchanged"/>
+ <connection consumer="endpoint62" provider="endpoint60" state="unchanged"/>
+ <connection consumer="endpoint58" provider="endpoint12" state="unchanged"/>
+ <connection consumer="endpoint56" provider="endpoint13" state="unchanged"/>
+ <connection consumer="endpoint63" provider="endpoint52" state="unchanged"/>
+ <connection consumer="endpoint45" provider="endpoint21" state="unchanged"/>
+ <connection consumer="endpoint8" provider="endpoint25" state="new"/>
+ <connection consumer="endpoint40" provider="endpoint16" state="unchanged"/>
+ <connection consumer="endpoint47" provider="endpoint24" state="unchanged"/>
+ <connection consumer="endpoint48" provider="endpoint53" state="unchanged"/>
+ <connection consumer="endpoint7" provider="endpoint14" state="deleted"/>
<connection consumer="endpoint4" provider="endpoint54" state="deleted"/>
- <connection consumer="endpoint3" provider="endpoint61" state="deleted"/>
- <connection consumer="endpoint2" provider="endpoint60" state="deleted"/>
- <connection consumer="endpoint5" provider="endpoint26" state="deleted"/>
- <connection consumer="endpoint4" provider="endpoint55" state="deleted"/>
- <connection consumer="endpoint3" provider="endpoint61" state="deleted"/>
- <connection consumer="endpoint2" provider="endpoint60" state="deleted"/>
- <connection consumer="endpoint5" provider="endpoint26" state="deleted"/>
- <connection consumer="endpoint12" provider="endpoint13" state="deleted"/>
- <connection consumer="endpoint11" provider="endpoint14" state="deleted"/>
+ <connection consumer="endpoint3" provider="endpoint60" state="deleted"/>
+ <connection consumer="endpoint2" provider="endpoint59" state="deleted"/>
+ <connection consumer="endpoint5" provider="endpoint25" state="deleted"/>
+ <connection consumer="endpoint4" provider="endpoint52" state="deleted"/>
+ <connection consumer="endpoint3" provider="endpoint60" state="deleted"/>
+ <connection consumer="endpoint2" provider="endpoint59" state="deleted"/>
+ <connection consumer="endpoint5" provider="endpoint25" state="deleted"/>
+ <connection consumer="endpoint11" provider="endpoint12" state="deleted"/>
+ <connection consumer="endpoint10" provider="endpoint13" state="deleted"/>
</connections>
<porttypes>
<link xlink:href="../jbiasa/CSEIPCA.wsdl#xpointer(/definitions/portType[@name='dummyCasaPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/faultHandlingMsg.wsdl#xpointer(/definitions/portType[@name='faultHandlingMsgPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/DeleteAccount.wsdl#xpointer(/definitions/portType[@name='DeleteAccountPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/AddCourse.wsdl#xpointer(/definitions/portType[@name='AddCoursePortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ilias-3.10.5.wsdl#xpointer(/definitions/portType[@name='ILIASSoapWebservicePortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/DeleteCategory.wsdl#xpointer(/definitions/portType[@name='DeleteCategoryPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ResolveEPR.wsdl#xpointer(/definitions/portType[@name='ResolveEPRPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/UpdateAccount.wsdl#xpointer(/definitions/portType[@name='UpdateAccountPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/UpdateCategory.wsdl#xpointer(/definitions/portType[@name='UpdateCategoryPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ILIASClientAdapter.wsdl#xpointer(/definitions/portType[@name='ILIASClientAdapterPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/DeleteCourse.wsdl#xpointer(/definitions/portType[@name='DeleteCoursePortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/AddCategory.wsdl#xpointer(/definitions/portType[@name='AddCategoryPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/Login.wsdl#xpointer(/definitions/portType[@name='LoginPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/UpdateCourse.wsdl#xpointer(/definitions/portType[@name='UpdateCoursePortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/AddAccount.wsdl#xpointer(/definitions/portType[@name='AddAccountPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ilias-3.10.5-fixed.wsdl#xpointer(/definitions/portType[@name='ILIASSoapWebservicePortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/Common/ConfigurationManager.wsdl#xpointer(/definitions/portType[@name='ConfigurationManager'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/Common/IdentityManager.wsdl#xpointer(/definitions/portType[@name='IdentityManager'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/Common/RelationManager.wsdl#xpointer(/definitions/portType[@name='RelationManager'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/Common/EntityManager.wsdl#xpointer(/definitions/portType[@name='EntityManager'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/Common/ConfigurationManager.wsdl#xpointer(/definitions/portType[@name='ConfigurationManager'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/Common/RelationManager.wsdl#xpointer(/definitions/portType[@name='RelationManager'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/LSFClientAdapter/LSFClientAdapter.wsdl#xpointer(/definitions/portType[@name='LSFClientAdapterPortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/LSFClientAdapter/XSLTTransform.wsdl#xpointer(/definitions/portType[@name='XSLTTransformPortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/ObjectProcessor/InboundObjectProcessor.wsdl#xpointer(/definitions/portType[@name='ObjectProcessorPortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/ObjectProcessor/ReplyProcessor.wsdl#xpointer(/definitions/portType[@name='ReplyProcessorPortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/ObjectProcessor/AddCourse.wsdl#xpointer(/definitions/portType[@name='AddCoursePortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/XSLTTransform/META-INF/wsdl/XSLTTransform/XSLTTransform.wsdl#xpointer(/definitions/portType[@name='XSLTTransformPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/CSEIPCA.wsdl#xpointer(/definitions/portType[@name='dummyCasaPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/ilias-3.10.5.wsdl#xpointer(/definitions/portType[@name='ILIASSoapWebservicePortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/_references/_projects/Common/src/ConfigurationManager.wsdl#xpointer(/definitions/portType[@name='ConfigurationManager'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/_references/_projects/ObjectProcessor/src/ReplyProcessor.wsdl#xpointer(/definitions/portType[@name='ReplyProcessorPortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/LSFClientAdapter/src/_references/_projects/ObjectProcessor/src/InboundObjectProcessor.wsdl#xpointer(/definitions/portType[@name='ObjectProcessorPortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/IdentityManager.wsdl#xpointer(/definitions/portType[@name='IdentityManager'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/RelationManager.wsdl#xpointer(/definitions/portType[@name='RelationManager'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/EntityManager.wsdl#xpointer(/definitions/portType[@name='EntityManager'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/RelationManager.wsdl#xpointer(/definitions/portType[@name='RelationManager'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/IdentityMapper/src/conf/wsdl/IdentityMapperWS/IdentityMapper.wsdl#xpointer(/definitions/portType[@name='IdentityMapperPortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/META-INF/ILIA...
[truncated message content] |
|
From: <pka...@us...> - 2009-07-25 09:17:39
|
Revision: 377
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=377&view=rev
Author: pkasprzak
Date: 2009-07-25 09:17:32 +0000 (Sat, 25 Jul 2009)
Log Message:
-----------
* Make relation management logic available to bpel processes
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/build-impl.xml
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/genfiles.properties
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManager.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManagerImpl.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManagerWS.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Relation.java
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/build-impl.xml
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/build-impl.xml 2009-07-25 09:17:13 UTC (rev 376)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/build-impl.xml 2009-07-25 09:17:32 UTC (rev 377)
@@ -16,8 +16,8 @@
-->
<project xmlns:ejbjarproject1="http://www.netbeans.org/ns/j2ee-ejbjarproject/1" xmlns:ejbjarproject2="http://www.netbeans.org/ns/j2ee-ejbjarproject/2" xmlns:ejbjarproject3="http://www.netbeans.org/ns/j2ee-ejbjarproject/3" basedir=".." default="default" name="CSECore-ejb-impl">
+ <import file="xml_binding_build.xml"/>
<import file="jaxws-build.xml"/>
- <import file="xml_binding_build.xml"/>
<import file="ant-deploy.xml"/>
<target depends="dist,javadoc" description="Build whole project." name="default"/>
<!--
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/genfiles.properties
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/genfiles.properties 2009-07-25 09:17:13 UTC (rev 376)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/genfiles.properties 2009-07-25 09:17:32 UTC (rev 377)
@@ -4,6 +4,6 @@
# This file is used by a NetBeans-based IDE to track changes in generated files such as build-impl.xml.
# Do not edit this file. You may delete it but then the IDE will never regenerate such files for you.
nbproject/build-impl.xml.data.CRC32=8344d0cf
-nbproject/build-impl.xml.script.CRC32=7e7d23ca
+nbproject/build-impl.xml.script.CRC32=91803eb0
nbproject/build-impl.xml.stylesheet.CRC32=36c39d59
nbproject/jaxws-build.xml.stylesheet.CRC32=f49c6152
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManager.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManager.java 2009-07-25 09:17:13 UTC (rev 376)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManager.java 2009-07-25 09:17:32 UTC (rev 377)
@@ -29,9 +29,11 @@
public void deleteByParentId(int parentId);
- public void createRelationsFromAccount(int cseId, de.campussource.cse.core.cdm.AccountType account, String system);
+ public void delete(int childId, int parentId, RelationType type);
- public void createRelationsFromCourse(int cseId, de.campussource.cse.core.cdm.CourseType course, String system);
+ public boolean processAccountRelations(int cseId, de.campussource.cse.core.cdm.AccountType account, java.lang.String system);
- public void createRelationsFromCategory(int cseId, de.campussource.cse.core.cdm.CategoryType category, String system);
+ public boolean processCourseRelations(int cseId, de.campussource.cse.core.cdm.CourseType course, java.lang.String system);
+
+ public boolean processCategoryRelations(int cseId, de.campussource.cse.core.cdm.CategoryType category, java.lang.String system);
}
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManagerImpl.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManagerImpl.java 2009-07-25 09:17:13 UTC (rev 376)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManagerImpl.java 2009-07-25 09:17:32 UTC (rev 377)
@@ -7,6 +7,7 @@
import de.campussource.cse.core.pdm.EntityType;
import de.campussource.cse.core.pdm.Relation;
import de.campussource.cse.core.pdm.RelationType;
+import java.util.HashSet;
import java.util.List;
import java.util.logging.Logger;
import javax.ejb.EJB;
@@ -43,59 +44,140 @@
}
// ----------------------------------------------------------------------------------------------------------------
- public void createRelationsFromAccount(int cseId, AccountType account, String system) {
+ public boolean processAccountRelations(int cseId, AccountType account, String system) {
+
logger.info("Creating relations from account for account:" + Utils.dumpEntity(account, true));
+ return false;
}
// ----------------------------------------------------------------------------------------------------------------
- public void createRelationsFromCourse(int cseId, CourseType course, String system) {
+ public boolean processCourseRelations(int cseId, CourseType course, String system) {
- /* Handle category -> course relations */
- for (String relationId : course.getCategories().getCategory()) {
+ boolean relationsUpdated = false;
+ /* Handle category -> course relations (this course is child) */
+
+ HashSet<Integer> persistedRelationSet = new HashSet<Integer>();
+ HashSet<Integer> xmlRelationsSet = new HashSet<Integer>();
+
+ for (Relation relation : getByChildIdAndType(cseId, RelationType.CATEGORY_TO_COURSE)) {
+ persistedRelationSet.add(relation.getParentId());
+ }
+
+ for (String categoryId : course.getCategories().getCategory()) {
+
/* Try to resolve partner entity id */
- Integer partnerId = identityManager.getIdBySystemId(system, relationId);
+ Integer partnerId = identityManager.getIdBySystemId(system, categoryId);
if (partnerId == null) {
/* Object does not exist => create proxy */
partnerId = entityManager.createProxy(EntityType.CATEGORY.toString());
}
- /* Create relation */
- createRelation(cseId, partnerId, RelationType.CATEGORY_TO_COURSE);
+ /* Keep track of xml relations for later */
+ xmlRelationsSet.add(partnerId);
+
+ /* Create relation if new */
+ if (!persistedRelationSet.contains(partnerId)) {
+ /* Relation new => create */
+ createRelation(cseId, partnerId, RelationType.CATEGORY_TO_COURSE);
+ relationsUpdated = true;
+ }
}
+
+ /* Check for relations to be deleted */
+ persistedRelationSet.removeAll(xmlRelationsSet);
+ if (!persistedRelationSet.isEmpty()) {
+ relationsUpdated = true;
+ for (Integer parentId : persistedRelationSet) {
+ delete(cseId, parentId, RelationType.CATEGORY_TO_COURSE);
+ }
+ }
+
+ return relationsUpdated;
}
// ----------------------------------------------------------------------------------------------------------------
- public void createRelationsFromCategory(int cseId, CategoryType category, String system) {
+ public boolean processCategoryRelations(int cseId, CategoryType category, String system) {
- /* Handle category -> course relations */
- for (String relationId : category.getCourses().getCourse()) {
+ boolean relationsUpdated = false;
+ /* Handle category -> course relations (this category is parent) */
+
+ HashSet<Integer> persistedRelationSet = new HashSet<Integer>();
+ HashSet<Integer> xmlRelationsSet = new HashSet<Integer>();
+
+ for (Relation relation : getByParentIdAndType(cseId, RelationType.CATEGORY_TO_COURSE)) {
+ persistedRelationSet.add(relation.getChildId());
+ }
+
+ for (String courseId : category.getCourses().getCourse()) {
+
/* Try to resolve partner entity id */
- Integer partnerId = identityManager.getIdBySystemId(system, relationId);
+ Integer partnerId = identityManager.getIdBySystemId(system, courseId);
if (partnerId == null) {
/* Object does not exist => create proxy */
partnerId = entityManager.createProxy(EntityType.COURSE.toString());
}
- /* Create relation */
- createRelation(partnerId, cseId, RelationType.CATEGORY_TO_COURSE);
+ /* Keep track of xml relations for later */
+ xmlRelationsSet.add(partnerId);
+
+ /* Create relation if new */
+ if (!persistedRelationSet.contains(partnerId)) {
+ /* Relation new => create */
+ createRelation(partnerId, cseId, RelationType.CATEGORY_TO_COURSE);
+ relationsUpdated = true;
+ }
}
- /* Handle category -> category relations */
- for (String relationId : category.getCategories().getCategory()) {
+ /* Check for relations to be deleted */
+ persistedRelationSet.removeAll(xmlRelationsSet);
+ if (!persistedRelationSet.isEmpty()) {
+ relationsUpdated = true;
+ for (Integer childId : persistedRelationSet) {
+ delete(childId, cseId, RelationType.CATEGORY_TO_COURSE);
+ }
+ }
+ /* Handle category -> category relations (this category is parent) */
+
+ xmlRelationsSet.clear();
+ persistedRelationSet.clear();
+
+ for (Relation relation : getByParentIdAndType(cseId, RelationType.CATEGORY_TO_CATEGORY)) {
+ persistedRelationSet.add(relation.getChildId());
+ }
+
+ for (String categoryId : category.getCategories().getCategory()) {
+
/* Try to resolve partner entity id */
- Integer partnerId = identityManager.getIdBySystemId(system, relationId);
+ Integer partnerId = identityManager.getIdBySystemId(system, categoryId);
if (partnerId == null) {
/* Object does not exist => create proxy */
partnerId = entityManager.createProxy(EntityType.CATEGORY.toString());
}
- /* Create relation */
- createRelation(partnerId, cseId, RelationType.CATEGORY_TO_CATEGORY);
+ /* Keep track of xml relations for later */
+ xmlRelationsSet.add(partnerId);
+
+ /* Create relation if new */
+ if (!persistedRelationSet.contains(partnerId)) {
+ /* Relation new => create */
+ createRelation(partnerId, cseId, RelationType.CATEGORY_TO_CATEGORY);
+ relationsUpdated = true;
+ }
}
+ /* Check for relations to be deleted */
+ persistedRelationSet.removeAll(xmlRelationsSet);
+ if (!persistedRelationSet.isEmpty()) {
+ relationsUpdated = true;
+ for (Integer childId : persistedRelationSet) {
+ delete(childId, cseId, RelationType.CATEGORY_TO_CATEGORY);
+ }
+ }
+
+ return relationsUpdated;
}
// ----------------------------------------------------------------------------------------------------------------
@@ -120,7 +202,6 @@
List<Relation> relations = em.createNamedQuery(Relation.QUERY_getByChildId). setParameter("childId", childId).
getResultList();
return relations;
-
}
// ----------------------------------------------------------------------------------------------------------------
@@ -129,7 +210,6 @@
List<Relation> relations = em.createNamedQuery(Relation.QUERY_getByChildIdAndType). setParameter("childId", childId).
getResultList();
return relations;
-
}
// ----------------------------------------------------------------------------------------------------------------
@@ -144,6 +224,14 @@
em.createNamedQuery(Relation.QUERY_deleteByParentId). setParameter("parentId", parentId).
executeUpdate();
+ }
+ // ----------------------------------------------------------------------------------------------------------------
+ public void delete(int childId, int parentId, RelationType type) {
+
+ em.createNamedQuery(Relation.QUERY_delete). setParameter("childId", childId).
+ setParameter("parentId", parentId).
+ setParameter("type", type).
+ executeUpdate();
}
}
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManagerWS.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManagerWS.java 2009-07-25 09:17:13 UTC (rev 376)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManagerWS.java 2009-07-25 09:17:32 UTC (rev 377)
@@ -3,6 +3,9 @@
import de.campussource.cse.core.cdm.AccountType;
import de.campussource.cse.core.cdm.CategoryType;
import de.campussource.cse.core.cdm.CourseType;
+import de.campussource.cse.core.pdm.Relation;
+import de.campussource.cse.core.pdm.RelationType;
+import java.util.List;
import javax.ejb.EJB;
import javax.jws.Oneway;
import javax.jws.WebMethod;
@@ -21,27 +24,77 @@
@EJB
private RelationManager ejbRef;
- @WebMethod(operationName = "createRelationsFromAccount")
+/*
+ @WebMethod(operationName = "getByParentId")
+ public List<Relation> getByParentId( @WebParam(name = "parentId") int parentId) {
+
+ return ejbRef.getByParentId(parentId);
+ }
+
+ @WebMethod(operationName = "getByParentIdAndType")
+ public List<Relation> getByParentIdAndType( @WebParam(name = "parentId") int parentId,
+ @WebParam(name = "type") RelationType type) {
+
+ return ejbRef.getByParentIdAndType(parentId, type);
+ }
+
+ @WebMethod(operationName = "getByChildId")
+ public List<Relation> getByChildId( @WebParam(name = "childId") int childId) {
+
+ return ejbRef.getByChildId(childId);
+ }
+
+ @WebMethod(operationName = "getByChildIdAndType")
+ public List<Relation> getByChildIdAndType( @WebParam(name = "childId") int childId,
+ @WebParam(name = "type") RelationType type) {
+
+ return ejbRef.getByChildIdAndType(childId, type);
+ }
+
+ @WebMethod(operationName = "deleteByChildId")
@Oneway
- public void createRelationsFromAccount( @WebParam(name = "cseId") int cseId,
- @WebParam(name = "account") AccountType account,
- @WebParam(name = "system") String system) {
- ejbRef.createRelationsFromAccount(cseId, account, system);
+ public void deleteByChildId( @WebParam(name = "childId") int childId) {
+
+ ejbRef.deleteByChildId(childId);
}
- @WebMethod(operationName = "createRelationsFromCourse")
+ @WebMethod(operationName = "deleteByParentId")
@Oneway
- public void createRelationsFromCourse( @WebParam(name = "cseId") int cseId,
- @WebParam(name = "course") CourseType course,
- @WebParam(name = "system") String system) {
- ejbRef.createRelationsFromCourse(cseId, course, system);
+ public void deleteByParentId( @WebParam(name = "parentId") int parentId) {
+
+ ejbRef.deleteByParentId(parentId);
}
- @WebMethod(operationName = "createRelationsFromCategory")
+ @WebMethod(operationName = "delete")
@Oneway
- public void createRelationsFromCategory( @WebParam(name = "cseId") int cseId,
- @WebParam(name = "category") CategoryType category,
- @WebParam(name = "system") String system) {
- ejbRef.createRelationsFromCategory(cseId, category, system);
+ public void delete( @WebParam(name = "childId") int childId,
+ @WebParam(name = "parentId") int parentId,
+ @WebParam(name = "type") RelationType type) {
+
+ ejbRef.delete(childId, parentId, type);
}
+*/
+ @WebMethod(operationName = "processAccountRelations")
+ public boolean processAccountRelations( @WebParam(name = "cseId") int cseId,
+ @WebParam(name = "account") AccountType account,
+ @WebParam(name = "system") String system) {
+
+ return ejbRef.processAccountRelations(cseId, account, system);
+ }
+
+ @WebMethod(operationName = "processCourseRelations")
+ public boolean processCourseRelations( @WebParam(name = "cseId") int cseId,
+ @WebParam(name = "course") CourseType course,
+ @WebParam(name = "system") String system) {
+
+ return ejbRef.processCourseRelations(cseId, course, system);
+ }
+
+ @WebMethod(operationName = "processCategoryRelations")
+ public boolean processCategoryRelations( @WebParam(name = "cseId") int cseId,
+ @WebParam(name = "category") CategoryType category,
+ @WebParam(name = "system") String system) {
+
+ return ejbRef.processCategoryRelations(cseId, category, system);
+ }
}
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Relation.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Relation.java 2009-07-25 09:17:13 UTC (rev 376)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Relation.java 2009-07-25 09:17:32 UTC (rev 377)
@@ -32,8 +32,10 @@
query = "DELETE FROM Relation r WHERE r.childId = :childId"),
@NamedQuery( name = "Relation.deleteByParentId",
- query = "DELETE FROM Relation r WHERE r.parentId = :parentId")
+ query = "DELETE FROM Relation r WHERE r.parentId = :parentId"),
+ @NamedQuery( name = "Relation.delete",
+ query = "DELETE FROM Relation r WHERE r.parentId = :parentId AND r.childId = :childId AND r.type = :type")
})
@Entity
@@ -45,6 +47,7 @@
public final static String QUERY_getByChildIdAndType = "Relation.getByChildIdAndType";
public final static String QUERY_deleteByChildId = "Relation.deleteByChildId";
public final static String QUERY_deleteByParentId = "Relation.deleteByParentId";
+ public final static String QUERY_delete = "Relation.delete";
private static final long serialVersionUID = 1L;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-25 09:17:21
|
Revision: 376
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=376&view=rev
Author: pkasprzak
Date: 2009-07-25 09:17:13 +0000 (Sat, 25 Jul 2009)
Log Message:
-----------
* Make relation management logic available to bpel processes
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/Common/src/RelationManager.wsdl
trunk/sandbox/lsf-adapter-demo/Common/src/RelationManager.xsd
Modified: trunk/sandbox/lsf-adapter-demo/Common/src/RelationManager.wsdl
===================================================================
--- trunk/sandbox/lsf-adapter-demo/Common/src/RelationManager.wsdl 2009-07-24 14:11:44 UTC (rev 375)
+++ trunk/sandbox/lsf-adapter-demo/Common/src/RelationManager.wsdl 2009-07-25 09:17:13 UTC (rev 376)
@@ -1,16 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. -->
<!-- Generated by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. -->
+
<definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://cse.campussource.de/ejb/RelationManager"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
targetNamespace="http://cse.campussource.de/ejb/RelationManager"
name="RelationManagerWSService">
- <ns1:Policy xmlns:ns1="http://www.w3.org/ns/ws-policy" wsu:Id="RelationManagerPortBinding_createRelationsFromCourse_WSAT_Policy">
+ <ns1:Policy xmlns:ns1="http://www.w3.org/ns/ws-policy" wsu:Id="RelationManagerPortBinding_processAccountRelations_WSAT_Policy">
<ns1:ExactlyOne>
<ns1:All>
<ns2:ATAlwaysCapability xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns2:ATAlwaysCapability>
@@ -18,7 +19,7 @@
</ns1:All>
</ns1:ExactlyOne>
</ns1:Policy>
- <ns5:Policy xmlns:ns5="http://www.w3.org/ns/ws-policy" wsu:Id="RelationManagerPortBinding_createRelationsFromAccount_WSAT_Policy">
+ <ns5:Policy xmlns:ns5="http://www.w3.org/ns/ws-policy" wsu:Id="RelationManagerPortBinding_processCourseRelations_WSAT_Policy">
<ns5:ExactlyOne>
<ns5:All>
<ns6:ATAlwaysCapability xmlns:ns6="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns6:ATAlwaysCapability>
@@ -27,7 +28,7 @@
</ns5:ExactlyOne>
</ns5:Policy>
- <ns9:Policy xmlns:ns9="http://www.w3.org/ns/ws-policy" wsu:Id="RelationManagerPortBinding_createRelationsFromCategory_WSAT_Policy">
+ <ns9:Policy xmlns:ns9="http://www.w3.org/ns/ws-policy" wsu:Id="RelationManagerPortBinding_processCategoryRelations_WSAT_Policy">
<ns9:ExactlyOne>
<ns9:All>
<ns10:ATAlwaysCapability xmlns:ns10="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns10:ATAlwaysCapability>
@@ -43,51 +44,73 @@
<xsd:import namespace="http://cse.campussource.de/ejb/RelationManager" schemaLocation="RelationManager.xsd"></xsd:import>
</xsd:schema>
</types>
- <message name="createRelationsFromAccount">
+ <message name="processAccountRelations">
- <part name="parameters" element="tns:createRelationsFromAccount"></part>
+ <part name="parameters" element="tns:processAccountRelations"></part>
</message>
- <message name="createRelationsFromCourse">
- <part name="parameters" element="tns:createRelationsFromCourse"></part>
+ <message name="processAccountRelationsResponse">
+ <part name="parameters" element="tns:processAccountRelationsResponse"></part>
</message>
- <message name="createRelationsFromCategory">
- <part name="parameters" element="tns:createRelationsFromCategory"></part>
+ <message name="processCourseRelations">
+ <part name="parameters" element="tns:processCourseRelations"></part>
</message>
+ <message name="processCourseRelationsResponse">
+ <part name="parameters" element="tns:processCourseRelationsResponse"></part>
+ </message>
+ <message name="processCategoryRelations">
+ <part name="parameters" element="tns:processCategoryRelations"></part>
+ </message>
+ <message name="processCategoryRelationsResponse">
+ <part name="parameters" element="tns:processCategoryRelationsResponse"></part>
+ </message>
+
<portType name="RelationManager">
- <operation name="createRelationsFromAccount">
- <input message="tns:createRelationsFromAccount"></input>
+ <operation name="processAccountRelations">
+ <input message="tns:processAccountRelations"></input>
+ <output message="tns:processAccountRelationsResponse"></output>
</operation>
- <operation name="createRelationsFromCourse">
- <input message="tns:createRelationsFromCourse"></input>
+ <operation name="processCourseRelations">
+ <input message="tns:processCourseRelations"></input>
+ <output message="tns:processCourseRelationsResponse"></output>
</operation>
- <operation name="createRelationsFromCategory">
- <input message="tns:createRelationsFromCategory"></input>
-
+ <operation name="processCategoryRelations">
+ <input message="tns:processCategoryRelations"></input>
+ <output message="tns:processCategoryRelationsResponse"></output>
</operation>
</portType>
<binding name="RelationManagerPortBinding" type="tns:RelationManager">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"></soap:binding>
- <operation name="createRelationsFromAccount">
- <ns13:PolicyReference xmlns:ns13="http://www.w3.org/ns/ws-policy" URI="#RelationManagerPortBinding_createRelationsFromAccount_WSAT_Policy"></ns13:PolicyReference>
+ <operation name="processAccountRelations">
+
+ <ns13:PolicyReference xmlns:ns13="http://www.w3.org/ns/ws-policy" URI="#RelationManagerPortBinding_processAccountRelations_WSAT_Policy"></ns13:PolicyReference>
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal"></soap:body>
</input>
+ <output>
+ <soap:body use="literal"></soap:body>
+ </output>
</operation>
- <operation name="createRelationsFromCourse">
- <ns14:PolicyReference xmlns:ns14="http://www.w3.org/ns/ws-policy" URI="#RelationManagerPortBinding_createRelationsFromCourse_WSAT_Policy"></ns14:PolicyReference>
+ <operation name="processCourseRelations">
+ <ns14:PolicyReference xmlns:ns14="http://www.w3.org/ns/ws-policy" URI="#RelationManagerPortBinding_processCourseRelations_WSAT_Policy"></ns14:PolicyReference>
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal"></soap:body>
</input>
+ <output>
+ <soap:body use="literal"></soap:body>
+ </output>
</operation>
- <operation name="createRelationsFromCategory">
- <ns15:PolicyReference xmlns:ns15="http://www.w3.org/ns/ws-policy" URI="#RelationManagerPortBinding_createRelationsFromCategory_WSAT_Policy"></ns15:PolicyReference>
+ <operation name="processCategoryRelations">
+ <ns15:PolicyReference xmlns:ns15="http://www.w3.org/ns/ws-policy" URI="#RelationManagerPortBinding_processCategoryRelations_WSAT_Policy"></ns15:PolicyReference>
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal"></soap:body>
</input>
+ <output>
+ <soap:body use="literal"></soap:body>
+ </output>
</operation>
</binding>
<service name="RelationManagerWSService">
Modified: trunk/sandbox/lsf-adapter-demo/Common/src/RelationManager.xsd
===================================================================
--- trunk/sandbox/lsf-adapter-demo/Common/src/RelationManager.xsd 2009-07-24 14:11:44 UTC (rev 375)
+++ trunk/sandbox/lsf-adapter-demo/Common/src/RelationManager.xsd 2009-07-25 09:17:13 UTC (rev 376)
@@ -1,5 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. -->
+<?xml version="1.0" encoding="UTF-8"?><!-- Published by JAX-WS RI at http://jax-ws.dev.java.net. RI's version is JAX-WS RI 2.1.3.1-hudson-749-SNAPSHOT. -->
<xs:schema xmlns:tns="http://cse.campussource.de/ejb/RelationManager"
xmlns:ns1="http://cse.campussource.de/schema/DataTypes"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
@@ -8,33 +7,58 @@
<xs:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="CDDM.xsd"></xs:import>
- <xs:element name="createRelationsFromAccount" type="tns:createRelationsFromAccount"></xs:element>
+ <xs:element name="processAccountRelations" type="tns:processAccountRelations"></xs:element>
- <xs:element name="createRelationsFromCategory" type="tns:createRelationsFromCategory"></xs:element>
+ <xs:element name="processAccountRelationsResponse" type="tns:processAccountRelationsResponse"></xs:element>
- <xs:element name="createRelationsFromCourse" type="tns:createRelationsFromCourse"></xs:element>
+ <xs:element name="processCategoryRelations" type="tns:processCategoryRelations"></xs:element>
- <xs:complexType name="createRelationsFromCategory">
+ <xs:element name="processCategoryRelationsResponse" type="tns:processCategoryRelationsResponse"></xs:element>
+
+ <xs:element name="processCourseRelations" type="tns:processCourseRelations"></xs:element>
+
+ <xs:element name="processCourseRelationsResponse" type="tns:processCourseRelationsResponse"></xs:element>
+
+ <xs:complexType name="processAccountRelations">
<xs:sequence>
<xs:element name="cseId" type="xs:int"></xs:element>
- <xs:element name="category" type="ns1:categoryType" minOccurs="0"></xs:element>
+ <xs:element name="account" type="ns1:accountType" minOccurs="0"></xs:element>
<xs:element name="system" type="xs:string" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="createRelationsFromCourse">
+ <xs:complexType name="processAccountRelationsResponse">
<xs:sequence>
+ <xs:element name="return" type="xs:boolean"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="processCourseRelations">
+ <xs:sequence>
<xs:element name="cseId" type="xs:int"></xs:element>
<xs:element name="course" type="ns1:courseType" minOccurs="0"></xs:element>
+
<xs:element name="system" type="xs:string" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="createRelationsFromAccount">
+ <xs:complexType name="processCourseRelationsResponse">
<xs:sequence>
+ <xs:element name="return" type="xs:boolean"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
+
+ <xs:complexType name="processCategoryRelations">
+ <xs:sequence>
<xs:element name="cseId" type="xs:int"></xs:element>
- <xs:element name="account" type="ns1:accountType" minOccurs="0"></xs:element>
+ <xs:element name="category" type="ns1:categoryType" minOccurs="0"></xs:element>
<xs:element name="system" type="xs:string" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
+
+ <xs:complexType name="processCategoryRelationsResponse">
+ <xs:sequence>
+ <xs:element name="return" type="xs:boolean"></xs:element>
+ </xs:sequence>
+ </xs:complexType>
</xs:schema>
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-24 14:11:52
|
Revision: 375
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=375&view=rev
Author: pkasprzak
Date: 2009-07-24 14:11:44 +0000 (Fri, 24 Jul 2009)
Log Message:
-----------
* Stuff :)
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml
Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-07-24 14:11:38 UTC (rev 374)
+++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-07-24 14:11:44 UTC (rev 375)
@@ -5,4 +5,5 @@
<system systemId="Common/CDDM.xsd" uri="nb-uri:Common#src/CDDM.xsd"/>
<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"/>
</catalog>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-24 14:11:49
|
Revision: 374
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=374&view=rev
Author: pkasprzak
Date: 2009-07-24 14:11:38 +0000 (Fri, 24 Jul 2009)
Log Message:
-----------
* Stuff :)
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa
Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa 2009-07-24 14:11:31 UTC (rev 373)
+++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa 2009-07-24 14:11:38 UTC (rev 374)
@@ -231,17 +231,17 @@
<connection consumer="endpoint49" provider="endpoint22" state="unchanged"/>
<connection consumer="endpoint50" provider="endpoint53" state="unchanged"/>
<connection consumer="endpoint7" provider="endpoint15" state="unchanged"/>
- <connection consumer="endpoint11" provider="endpoint14" state="deleted"/>
- <connection consumer="endpoint12" provider="endpoint13" state="deleted"/>
+ <connection consumer="endpoint8" provider="endpoint15" state="deleted"/>
+ <connection consumer="endpoint4" provider="endpoint54" state="deleted"/>
+ <connection consumer="endpoint3" provider="endpoint61" state="deleted"/>
+ <connection consumer="endpoint2" provider="endpoint60" state="deleted"/>
<connection consumer="endpoint5" provider="endpoint26" state="deleted"/>
+ <connection consumer="endpoint4" provider="endpoint55" state="deleted"/>
+ <connection consumer="endpoint3" provider="endpoint61" state="deleted"/>
<connection consumer="endpoint2" provider="endpoint60" state="deleted"/>
- <connection consumer="endpoint3" provider="endpoint61" state="deleted"/>
- <connection consumer="endpoint4" provider="endpoint55" state="deleted"/>
<connection consumer="endpoint5" provider="endpoint26" state="deleted"/>
- <connection consumer="endpoint2" provider="endpoint60" state="deleted"/>
- <connection consumer="endpoint3" provider="endpoint61" state="deleted"/>
- <connection consumer="endpoint4" provider="endpoint54" state="deleted"/>
- <connection consumer="endpoint8" provider="endpoint15" state="deleted"/>
+ <connection consumer="endpoint12" provider="endpoint13" state="deleted"/>
+ <connection consumer="endpoint11" provider="endpoint14" state="deleted"/>
</connections>
<porttypes>
<link xlink:href="../jbiasa/CSEIPCA.wsdl#xpointer(/definitions/portType[@name='dummyCasaPortType'])" xlink:type="simple"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-24 14:11:39
|
Revision: 373
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=373&view=rev
Author: pkasprzak
Date: 2009-07-24 14:11:31 +0000 (Fri, 24 Jul 2009)
Log Message:
-----------
* Stuff :)
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/CDDM.xsd
Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/CDDM.xsd
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/CDDM.xsd 2009-07-24 14:11:22 UTC (rev 372)
+++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/CDDM.xsd 2009-07-24 14:11:31 UTC (rev 373)
@@ -6,6 +6,7 @@
attributeFormDefault="qualified"
version="1.0">
+ <xs:element name="entity" type="tns:entityType"/>
<xs:element name="category" type="tns:categoryType"/>
<xs:element name="course" type="tns:courseType"/>
<xs:element name="account" type="tns:accountType"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-24 14:11:37
|
Revision: 372
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=372&view=rev
Author: pkasprzak
Date: 2009-07-24 14:11:22 +0000 (Fri, 24 Jul 2009)
Log Message:
-----------
* Stuff :)
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jax-ws.xml
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jaxws-build.xml
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jax-ws.xml
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jax-ws.xml 2009-07-24 14:11:06 UTC (rev 371)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jax-ws.xml 2009-07-24 14:11:22 UTC (rev 372)
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<jax-ws xmlns="http://www.netbeans.org/ns/jax-ws/1">
<services>
- <service name="EntityManagerWS">
+ <service name="EntityManager">
<implementation-class>de.campussource.cse.core.EntityManagerWS</implementation-class>
</service>
- <service name="IdentityManagerWS">
+ <service name="IdentityManager">
<implementation-class>de.campussource.cse.core.IdentityManagerWS</implementation-class>
</service>
- <service name="RelationManagerWS">
+ <service name="RelationManager">
<implementation-class>de.campussource.cse.core.RelationManagerWS</implementation-class>
</service>
</services>
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jaxws-build.xml
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jaxws-build.xml 2009-07-24 14:11:06 UTC (rev 371)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/nbproject/jaxws-build.xml 2009-07-24 14:11:22 UTC (rev 372)
@@ -13,20 +13,20 @@
<classpath path="${j2ee.platform.wsgen.classpath}"/>
</taskdef>
</target>
- <target name="wsgen-compile" depends="wsgen-EntityManagerWS, wsgen-IdentityManagerWS, wsgen-RelationManagerWS">
+ <target name="wsgen-compile" depends="wsgen-EntityManager, wsgen-IdentityManager, wsgen-RelationManager">
<ejbjarproject2:javac srcdir="${build.generated.dir}/wsgen/service" classpath="${j2ee.platform.wsgen.classpath}:${javac.classpath}" destdir="${classes.dir}"/>
</target>
- <target name="wsgen-EntityManagerWS" depends="wsgen-init, -do-compile">
+ <target name="wsgen-EntityManager" depends="wsgen-init, -do-compile">
<wsgen destdir="${build.generated.dir}/wsgen/binaries" sourcedestdir="${build.generated.dir}/wsgen/service" resourcedestdir="${build.generated.dir}/wsgen/service/resources/" xendorsed="true" keep="false" genwsdl="true" sei="de.campussource.cse.core.EntityManagerWS">
<classpath path="${java.home}/../lib/tools.jar:${classes.dir}:${j2ee.platform.wsgen.classpath}:${javac.classpath}"/>
</wsgen>
</target>
- <target name="wsgen-IdentityManagerWS" depends="wsgen-init, -do-compile">
+ <target name="wsgen-IdentityManager" depends="wsgen-init, -do-compile">
<wsgen destdir="${build.generated.dir}/wsgen/binaries" sourcedestdir="${build.generated.dir}/wsgen/service" resourcedestdir="${build.generated.dir}/wsgen/service/resources/" xendorsed="true" keep="false" genwsdl="true" sei="de.campussource.cse.core.IdentityManagerWS">
<classpath path="${java.home}/../lib/tools.jar:${classes.dir}:${j2ee.platform.wsgen.classpath}:${javac.classpath}"/>
</wsgen>
</target>
- <target name="wsgen-RelationManagerWS" depends="wsgen-init, -do-compile">
+ <target name="wsgen-RelationManager" depends="wsgen-init, -do-compile">
<wsgen destdir="${build.generated.dir}/wsgen/binaries" sourcedestdir="${build.generated.dir}/wsgen/service" resourcedestdir="${build.generated.dir}/wsgen/service/resources/" xendorsed="true" keep="false" genwsdl="true" sei="de.campussource.cse.core.RelationManagerWS">
<classpath path="${java.home}/../lib/tools.jar:${classes.dir}:${j2ee.platform.wsgen.classpath}:${javac.classpath}"/>
</wsgen>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-24 14:11:14
|
Revision: 371
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=371&view=rev
Author: pkasprzak
Date: 2009-07-24 14:11:06 +0000 (Fri, 24 Jul 2009)
Log Message:
-----------
* Stuff :)
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/Common/src/CDDM.xsd
Modified: trunk/sandbox/lsf-adapter-demo/Common/src/CDDM.xsd
===================================================================
--- trunk/sandbox/lsf-adapter-demo/Common/src/CDDM.xsd 2009-07-24 14:08:07 UTC (rev 370)
+++ trunk/sandbox/lsf-adapter-demo/Common/src/CDDM.xsd 2009-07-24 14:11:06 UTC (rev 371)
@@ -6,6 +6,7 @@
attributeFormDefault="qualified"
version="1.0">
+ <xs:element name="entity" type="tns:entityType"/>
<xs:element name="category" type="tns:categoryType"/>
<xs:element name="course" type="tns:courseType"/>
<xs:element name="account" type="tns:accountType"/>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-24 14:08:23
|
Revision: 370
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=370&view=rev
Author: pkasprzak
Date: 2009-07-24 14:08:07 +0000 (Fri, 24 Jul 2009)
Log Message:
-----------
* Use updateAttributes()
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel
Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-07-24 14:03:51 UTC (rev 369)
+++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-07-24 14:08:07 UTC (rev 370)
@@ -7,32 +7,34 @@
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:x="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/AddCourse">
- <import namespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" location="AddCourse.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
- <import namespace="http://cse.campussource.de/ejb/EntityManager" location="Common/EntityManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
- <import namespace="http://cse.campussource.de/ejb/RelationManager" location="Common/RelationManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
- <import namespace="http://cse.campussource.de/ejb/IdentityManager" location="Common/IdentityManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+ <import namespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" location="AddCourse.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+ <import namespace="http://cse.campussource.de/ejb/EntityManager" location="Common/EntityManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+ <import namespace="http://cse.campussource.de/ejb/RelationManager" location="Common/RelationManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+ <import namespace="http://cse.campussource.de/ejb/IdentityManager" location="Common/IdentityManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+
<partnerLinks>
- <partnerLink name="EntityManager" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" partnerLinkType="tns:EntityManagerLinkType" partnerRole="EntityManagerRole"/>
- <partnerLink name="RelationManager" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" partnerLinkType="tns:RelationManagerLinkType" partnerRole="RelationManagerRole"/>
- <partnerLink name="IdentityManager" xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" partnerLinkType="tns:IdentityManagerLinkType" partnerRole="IdentityManagerRole"/>
- <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" partnerLinkType="tns:AddCourse" myRole="AddCoursePortTypeRole"/>
+ <partnerLink name="EntityManager" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" partnerLinkType="tns:EntityManagerLinkType" partnerRole="EntityManagerRole"/>
+ <partnerLink name="RelationManager" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" partnerLinkType="tns:RelationManagerLinkType" partnerRole="RelationManagerRole"/>
+ <partnerLink name="IdentityManager" xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" partnerLinkType="tns:IdentityManagerLinkType" partnerRole="IdentityManagerRole"/>
+ <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" partnerLinkType="tns:AddCourse" myRole="AddCoursePortTypeRole"/>
</partnerLinks>
<variables>
- <variable name="TestOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:testResponse"/>
- <variable name="TestIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:test"/>
- <variable name="CreateMappingIn" xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" messageType="tns:createMapping"/>
- <variable name="PersistCourseOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCourseResponse"/>
- <variable name="PersistCourseIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCourse"/>
- <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="ProcessCourseIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" messageType="tns:processCourseRequest"/>
+ <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="PersistCourseOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCourseResponse"/>
+ <variable name="PersistCourseIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCourse"/>
+ <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="ProcessCourseIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" messageType="tns:processCourseRequest"/>
<!-- CSE-id of the course -->
- <variable name="CseId" type="xsd:integer"/>
+ <variable name="CseId" type="xsd:integer"/>
</variables>
<sequence>
@@ -120,6 +122,7 @@
<else>
<sequence name="CourseAlreadyExists">
+
<empty name="peristUpdatedAttributes">
<documentation>-> EntityManager: persist any attributes that have changed and report if attributes have changed
@@ -129,6 +132,20 @@
if not changed => check if relations have changed (if they have => update; else process finished)</documentation>
</empty>
+
+
+ <assign name="prepareUpdateAttributes">
+ <copy>
+ <from>x:doXslTransform('urn:stylesheets:toEntity.xsl', $ProcessCourseIn.courseMessage/dt:course)</from>
+ <to>$UpdateAttributesIn.parameters/entity</to>
+ </copy>
+ </assign>
+
+ <invoke name="updateAttributes" partnerLink="EntityManager" operation="updateAttributes"
+ xmlns:tns="http://cse.campussource.de/ejb/EntityManager"
+ portType="tns:EntityManager"
+ inputVariable="UpdateAttributesIn"
+ outputVariable="UpdateAttributesOut"/>
</sequence>
</else>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-24 14:04:00
|
Revision: 369
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=369&view=rev
Author: pkasprzak
Date: 2009-07-24 14:03:51 +0000 (Fri, 24 Jul 2009)
Log Message:
-----------
* Expose updateAttributes() as WS
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/Common/src/EntityManager.wsdl
trunk/sandbox/lsf-adapter-demo/Common/src/EntityManager.xsd
Modified: trunk/sandbox/lsf-adapter-demo/Common/src/EntityManager.wsdl
===================================================================
--- trunk/sandbox/lsf-adapter-demo/Common/src/EntityManager.wsdl 2009-07-24 14:02:02 UTC (rev 368)
+++ trunk/sandbox/lsf-adapter-demo/Common/src/EntityManager.wsdl 2009-07-24 14:03:51 UTC (rev 369)
@@ -5,12 +5,12 @@
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://cse.campussource.de/ejb/EntityManager"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+ xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
xmlns="http://schemas.xmlsoap.org/wsdl/"
- xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"
targetNamespace="http://cse.campussource.de/ejb/EntityManager"
name="EntityManagerWSService">
-
- <ns1:Policy xmlns:ns1="http://www.w3.org/ns/ws-policy" wsu:Id="EntityManagerPortBinding_exists_WSAT_Policy">
+
+ <ns1:Policy xmlns:ns1="http://www.w3.org/ns/ws-policy" wsu:Id="EntityManagerPortBinding_updateAttributes_WSAT_Policy">
<ns1:ExactlyOne>
<ns1:All>
<ns2:ATAlwaysCapability xmlns:ns2="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns2:ATAlwaysCapability>
@@ -18,7 +18,7 @@
</ns1:All>
</ns1:ExactlyOne>
</ns1:Policy>
- <ns5:Policy xmlns:ns5="http://www.w3.org/ns/ws-policy" wsu:Id="EntityManagerPortBinding_persistCourse_WSAT_Policy">
+ <ns5:Policy xmlns:ns5="http://www.w3.org/ns/ws-policy" wsu:Id="EntityManagerPortBinding_exists_WSAT_Policy">
<ns5:ExactlyOne>
<ns5:All>
<ns6:ATAlwaysCapability xmlns:ns6="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns6:ATAlwaysCapability>
@@ -27,7 +27,7 @@
</ns5:ExactlyOne>
</ns5:Policy>
- <ns9:Policy xmlns:ns9="http://www.w3.org/ns/ws-policy" wsu:Id="EntityManagerPortBinding_test_WSAT_Policy">
+ <ns9:Policy xmlns:ns9="http://www.w3.org/ns/ws-policy" wsu:Id="EntityManagerPortBinding_persistCourse_WSAT_Policy">
<ns9:ExactlyOne>
<ns9:All>
<ns10:ATAlwaysCapability xmlns:ns10="http://schemas.xmlsoap.org/ws/2004/10/wsat"></ns10:ATAlwaysCapability>
@@ -74,18 +74,12 @@
<message name="existsResponse">
<part name="parameters" element="tns:existsResponse"></part>
</message>
- <message name="test">
- <part name="parameters" element="tns:test"></part>
- </message>
- <message name="testResponse">
- <part name="parameters" element="tns:testResponse"></part>
-
- </message>
<message name="persistAccount">
<part name="parameters" element="tns:persistAccount"></part>
</message>
<message name="persistAccountResponse">
<part name="parameters" element="tns:persistAccountResponse"></part>
+
</message>
<message name="persistCourse">
<part name="parameters" element="tns:persistCourse"></part>
@@ -97,29 +91,31 @@
<part name="parameters" element="tns:persistCategory"></part>
</message>
<message name="persistCategoryResponse">
-
<part name="parameters" element="tns:persistCategoryResponse"></part>
</message>
<message name="persistProxy">
<part name="parameters" element="tns:persistProxy"></part>
</message>
<message name="persistProxyResponse">
+
<part name="parameters" element="tns:persistProxyResponse"></part>
</message>
+ <message name="updateAttributes">
+ <part name="parameters" element="tns:updateAttributes"></part>
+ </message>
+ <message name="updateAttributesResponse">
+ <part name="parameters" element="tns:updateAttributesResponse"></part>
+ </message>
<portType name="EntityManager">
<operation name="exists">
<input message="tns:exists"></input>
<output message="tns:existsResponse"></output>
</operation>
- <operation name="test">
- <input message="tns:test"></input>
- <output message="tns:testResponse"></output>
- </operation>
-
<operation name="persistAccount">
<input message="tns:persistAccount"></input>
<output message="tns:persistAccountResponse"></output>
</operation>
+
<operation name="persistCourse">
<input message="tns:persistCourse"></input>
<output message="tns:persistCourseResponse"></output>
@@ -132,6 +128,10 @@
<input message="tns:persistProxy"></input>
<output message="tns:persistProxyResponse"></output>
</operation>
+ <operation name="updateAttributes">
+ <input message="tns:updateAttributes"></input>
+ <output message="tns:updateAttributesResponse"></output>
+ </operation>
</portType>
<binding name="EntityManagerPortBinding" type="tns:EntityManager">
@@ -146,8 +146,8 @@
<soap:body use="literal"></soap:body>
</output>
</operation>
- <operation name="test">
- <ns26:PolicyReference xmlns:ns26="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_test_WSAT_Policy"></ns26:PolicyReference>
+ <operation name="persistAccount">
+ <ns26:PolicyReference xmlns:ns26="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_persistAccount_WSAT_Policy"></ns26:PolicyReference>
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal"></soap:body>
@@ -157,8 +157,8 @@
<soap:body use="literal"></soap:body>
</output>
</operation>
- <operation name="persistAccount">
- <ns27:PolicyReference xmlns:ns27="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_persistAccount_WSAT_Policy"></ns27:PolicyReference>
+ <operation name="persistCourse">
+ <ns27:PolicyReference xmlns:ns27="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_persistCourse_WSAT_Policy"></ns27:PolicyReference>
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal"></soap:body>
@@ -167,8 +167,8 @@
<soap:body use="literal"></soap:body>
</output>
</operation>
- <operation name="persistCourse">
- <ns28:PolicyReference xmlns:ns28="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_persistCourse_WSAT_Policy"></ns28:PolicyReference>
+ <operation name="persistCategory">
+ <ns28:PolicyReference xmlns:ns28="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_persistCategory_WSAT_Policy"></ns28:PolicyReference>
<soap:operation soapAction=""></soap:operation>
<input>
@@ -178,8 +178,8 @@
<soap:body use="literal"></soap:body>
</output>
</operation>
- <operation name="persistCategory">
- <ns29:PolicyReference xmlns:ns29="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_persistCategory_WSAT_Policy"></ns29:PolicyReference>
+ <operation name="persistProxy">
+ <ns29:PolicyReference xmlns:ns29="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_persistProxy_WSAT_Policy"></ns29:PolicyReference>
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal"></soap:body>
@@ -189,8 +189,8 @@
</output>
</operation>
- <operation name="persistProxy">
- <ns30:PolicyReference xmlns:ns30="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_persistProxy_WSAT_Policy"></ns30:PolicyReference>
+ <operation name="updateAttributes">
+ <ns30:PolicyReference xmlns:ns30="http://www.w3.org/ns/ws-policy" URI="#EntityManagerPortBinding_updateAttributes_WSAT_Policy"></ns30:PolicyReference>
<soap:operation soapAction=""></soap:operation>
<input>
<soap:body use="literal"></soap:body>
Modified: trunk/sandbox/lsf-adapter-demo/Common/src/EntityManager.xsd
===================================================================
--- trunk/sandbox/lsf-adapter-demo/Common/src/EntityManager.xsd 2009-07-24 14:02:02 UTC (rev 368)
+++ trunk/sandbox/lsf-adapter-demo/Common/src/EntityManager.xsd 2009-07-24 14:03:51 UTC (rev 369)
@@ -24,9 +24,9 @@
<xs:element name="persistProxyResponse" type="tns:persistProxyResponse"></xs:element>
- <xs:element name="test" type="tns:test"></xs:element>
+ <xs:element name="updateAttributes" type="tns:updateAttributes"></xs:element>
- <xs:element name="testResponse" type="tns:testResponse"></xs:element>
+ <xs:element name="updateAttributesResponse" type="tns:updateAttributesResponse"></xs:element>
<xs:complexType name="persistProxy">
<xs:sequence>
@@ -64,16 +64,16 @@
</xs:sequence>
</xs:complexType>
- <xs:complexType name="test">
+ <xs:complexType name="updateAttributes">
<xs:sequence>
<xs:element name="entity" type="ns1:entityType" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
- <xs:complexType name="testResponse">
+ <xs:complexType name="updateAttributesResponse">
<xs:sequence>
- <xs:element name="return" type="xs:int"></xs:element>
+ <xs:element name="return" type="xs:boolean"></xs:element>
</xs:sequence>
</xs:complexType>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-24 14:02:11
|
Revision: 368
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=368&view=rev
Author: pkasprzak
Date: 2009-07-24 14:02:02 +0000 (Fri, 24 Jul 2009)
Log Message:
-----------
* EntityManager: expose updateAttributes() as WS
* RelationManager: new methods for relation management
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Relation.java
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Relation.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Relation.java 2009-07-24 13:58:14 UTC (rev 367)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Relation.java 2009-07-24 14:02:02 UTC (rev 368)
@@ -5,14 +5,47 @@
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
+import javax.persistence.NamedQueries;
+import javax.persistence.NamedQuery;
/**
*
* @author pete
*/
+
+@NamedQueries({
+
+ @NamedQuery( name = "Relation.getByParentId",
+ query = "SELECT r FROM Relation r WHERE r.parentId = :parentId"),
+
+ @NamedQuery( name = "Relation.getByParentIdAndType",
+ query = "SELECT r FROM Relation r WHERE r.parentId = :parentId and r.type = :type"),
+
+
+ @NamedQuery( name = "Relation.getByChildId",
+ query = "SELECT r FROM Relation r WHERE r.childId = :childId"),
+
+ @NamedQuery( name = "Relation.getByChildIdAndType",
+ query = "SELECT r FROM Relation r WHERE r.childId = :childId and r.type = :type"),
+
+ @NamedQuery( name = "Relation.deleteByChildId",
+ query = "DELETE FROM Relation r WHERE r.childId = :childId"),
+
+ @NamedQuery( name = "Relation.deleteByParentId",
+ query = "DELETE FROM Relation r WHERE r.parentId = :parentId")
+
+})
+
@Entity
public class Relation implements Serializable {
+ public final static String QUERY_getByParentId = "Relation.getByParentId";
+ public final static String QUERY_getByParentIdAndType = "Relation.getByParentIdAndType";
+ public final static String QUERY_getByChildId = "Relation.getByChildId";
+ public final static String QUERY_getByChildIdAndType = "Relation.getByChildIdAndType";
+ public final static String QUERY_deleteByChildId = "Relation.deleteByChildId";
+ public final static String QUERY_deleteByParentId = "Relation.deleteByParentId";
+
private static final long serialVersionUID = 1L;
@Id
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-24 13:58:30
|
Revision: 367
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=367&view=rev
Author: pkasprzak
Date: 2009-07-24 13:58:14 +0000 (Fri, 24 Jul 2009)
Log Message:
-----------
* EntityManager: expose updateAttributes() as WS
* RelationManager: new methods for relation management
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManagerImpl.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManagerWS.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManager.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManagerImpl.java
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManagerImpl.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManagerImpl.java 2009-07-24 11:58:32 UTC (rev 366)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManagerImpl.java 2009-07-24 13:58:14 UTC (rev 367)
@@ -119,11 +119,6 @@
}
// ----------------------------------------------------------------------------------------------------------------
- public int test(de.campussource.cse.core.cdm.EntityType entity) {
- return 1;
- }
-
- // ----------------------------------------------------------------------------------------------------------------
public int createProxy(String type) {
Entity entity = createProxy();
@@ -152,6 +147,7 @@
}
Entity entity = em.find(Entity.class, xmlEntity.getBusId());
+ entity.setProxy(false);
/* Check for changes (value changed, attribute deleted) */
LinkedList<Attribute> newAttributes = new LinkedList<Attribute>();
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManagerWS.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManagerWS.java 2009-07-24 11:58:32 UTC (rev 366)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManagerWS.java 2009-07-24 13:58:14 UTC (rev 367)
@@ -22,29 +22,33 @@
private EntityManager ejbRef;
@WebMethod(operationName = "exists")
- public int exists( @WebParam(name = "system") String system,
- @WebParam(name = "systemId") String systemId) {
+ public int exists( @WebParam(name = "system") String system,
+ @WebParam(name = "systemId") String systemId) {
return ejbRef.exists(system, systemId);
}
@WebMethod(operationName = "persistAccount")
- public int persistAccount( @WebParam(name = "account") AccountType account) {
+ public int persistAccount( @WebParam(name = "account") AccountType account) {
return ejbRef.createAccount(account);
}
@WebMethod(operationName = "persistCourse")
- public int persistCourse( @WebParam(name = "course") CourseType course) {
+ public int persistCourse( @WebParam(name = "course") CourseType course) {
return ejbRef.createCourse(course);
}
@WebMethod(operationName = "persistCategory")
- public int persistCategory( @WebParam(name = "category") CategoryType category) {
+ public int persistCategory( @WebParam(name = "category") CategoryType category) {
return ejbRef.createCategory(category);
}
@WebMethod(operationName = "persistProxy")
- public int persistProxy( @WebParam(name = "type") String type) {
+ public int persistProxy( @WebParam(name = "type") String type) {
return ejbRef.createProxy(type);
}
+ @WebMethod(operationName = "updateAttributes")
+ public boolean updateAttributes(@WebParam(name = "entity") EntityType entity) {
+ return ejbRef.updateAttributes(entity);
+ }
}
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManager.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManager.java 2009-07-24 11:58:32 UTC (rev 366)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManager.java 2009-07-24 13:58:14 UTC (rev 367)
@@ -5,6 +5,9 @@
package de.campussource.cse.core;
+import de.campussource.cse.core.pdm.Relation;
+import de.campussource.cse.core.pdm.RelationType;
+import java.util.List;
import javax.ejb.Local;
/**
@@ -14,9 +17,21 @@
@Local
public interface RelationManager {
- public void createRelationsFromAccount(int cseId, de.campussource.cse.core.cdm.AccountType account, String system);
+ public List<Relation> getByParentId(int parentId);
- public void createRelationsFromCourse(int cseId, de.campussource.cse.core.cdm.CourseType course, String system);
+ public List<Relation> getByParentIdAndType(int parentId, RelationType type);
- public void createRelationsFromCategory(int cseId, de.campussource.cse.core.cdm.CategoryType category, String system);
+ public List<Relation> getByChildId(int childId);
+
+ public List<Relation> getByChildIdAndType(int childId, RelationType type);
+
+ public void deleteByChildId(int childId);
+
+ public void deleteByParentId(int parentId);
+
+ public void createRelationsFromAccount(int cseId, de.campussource.cse.core.cdm.AccountType account, String system);
+
+ public void createRelationsFromCourse(int cseId, de.campussource.cse.core.cdm.CourseType course, String system);
+
+ public void createRelationsFromCategory(int cseId, de.campussource.cse.core.cdm.CategoryType category, String system);
}
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManagerImpl.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManagerImpl.java 2009-07-24 11:58:32 UTC (rev 366)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/RelationManagerImpl.java 2009-07-24 13:58:14 UTC (rev 367)
@@ -7,6 +7,7 @@
import de.campussource.cse.core.pdm.EntityType;
import de.campussource.cse.core.pdm.Relation;
import de.campussource.cse.core.pdm.RelationType;
+import java.util.List;
import java.util.logging.Logger;
import javax.ejb.EJB;
import javax.ejb.Stateless;
@@ -96,4 +97,53 @@
}
}
+
+ // ----------------------------------------------------------------------------------------------------------------
+ public List<Relation> getByParentId(int parentId) {
+
+ List<Relation> relations = em.createNamedQuery(Relation.QUERY_getByParentId). setParameter("parentId", parentId).
+ getResultList();
+ return relations;
+ }
+
+ // ----------------------------------------------------------------------------------------------------------------
+ public List<Relation> getByParentIdAndType(int parentId, RelationType type) {
+
+ List<Relation> relations = em.createNamedQuery(Relation.QUERY_getByParentIdAndType).setParameter("parentId", parentId).
+ getResultList();
+ return relations;
+ }
+
+ // ----------------------------------------------------------------------------------------------------------------
+ public List<Relation> getByChildId(int childId) {
+
+ List<Relation> relations = em.createNamedQuery(Relation.QUERY_getByChildId). setParameter("childId", childId).
+ getResultList();
+ return relations;
+
+ }
+
+ // ----------------------------------------------------------------------------------------------------------------
+ public List<Relation> getByChildIdAndType(int childId, RelationType type) {
+
+ List<Relation> relations = em.createNamedQuery(Relation.QUERY_getByChildIdAndType). setParameter("childId", childId).
+ getResultList();
+ return relations;
+
+ }
+
+ // ----------------------------------------------------------------------------------------------------------------
+ public void deleteByChildId(int childId) {
+
+ em.createNamedQuery(Relation.QUERY_deleteByChildId). setParameter("childId", childId).
+ executeUpdate();
+ }
+
+ // ----------------------------------------------------------------------------------------------------------------
+ public void deleteByParentId(int parentId) {
+
+ em.createNamedQuery(Relation.QUERY_deleteByParentId). setParameter("parentId", parentId).
+ executeUpdate();
+
+ }
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-24 11:58:51
|
Revision: 366
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=366&view=rev
Author: pkasprzak
Date: 2009-07-24 11:58:32 +0000 (Fri, 24 Jul 2009)
Log Message:
-----------
* Further work on AddCourse.bpel (still unfinished)
* Added XSLT: Category / Course / Account -> Entity (for generic attribute updates)
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel
Added Paths:
-----------
trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/course-example.xml
trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/toEntity.xsl
Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-07-24 11:55:46 UTC (rev 365)
+++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-07-24 11:58:32 UTC (rev 366)
@@ -7,65 +7,157 @@
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:dt="http://cse.campussource.de/schema/DataTypes"
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/"/>
- <import namespace="http://cse.campussource.de/ejb/EntityManager" location="Common/EntityManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
- <import namespace="http://cse.campussource.de/ejb/RelationManager" location="Common/RelationManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+ <import namespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" location="AddCourse.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+ <import namespace="http://cse.campussource.de/ejb/EntityManager" location="Common/EntityManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+ <import namespace="http://cse.campussource.de/ejb/RelationManager" location="Common/RelationManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+ <import namespace="http://cse.campussource.de/ejb/IdentityManager" location="Common/IdentityManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/>
+ <partnerLinks>
+ <partnerLink name="EntityManager" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" partnerLinkType="tns:EntityManagerLinkType" partnerRole="EntityManagerRole"/>
+ <partnerLink name="RelationManager" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" partnerLinkType="tns:RelationManagerLinkType" partnerRole="RelationManagerRole"/>
+ <partnerLink name="IdentityManager" xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" partnerLinkType="tns:IdentityManagerLinkType" partnerRole="IdentityManagerRole"/>
+ <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" partnerLinkType="tns:AddCourse" myRole="AddCoursePortTypeRole"/>
+ </partnerLinks>
- <partnerLinks>
- <partnerLink name="EntityManager" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" partnerLinkType="tns:EntityManagerLinkType" partnerRole="EntityManagerRole"/>
- <partnerLink name="RelationManager" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" partnerLinkType="tns:RelationManagerLinkType" partnerRole="RelationManagerRole"/>
- <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" partnerLinkType="tns:AddCourse" myRole="AddCoursePortTypeRole"/>
- </partnerLinks>
+ <variables>
+ <variable name="TestOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:testResponse"/>
+ <variable name="TestIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:test"/>
+ <variable name="CreateMappingIn" xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" messageType="tns:createMapping"/>
+ <variable name="PersistCourseOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCourseResponse"/>
+ <variable name="PersistCourseIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCourse"/>
+ <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="ProcessCourseIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" messageType="tns:processCourseRequest"/>
- <variables>
- <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="ProcessCourseIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" messageType="tns:processCourseRequest"/>
- </variables>
+ <!-- CSE-id of the course -->
+ <variable name="CseId" type="xsd:integer"/>
+ </variables>
- <sequence>
- <receive name="start" createInstance="yes" partnerLink="ClientAdapter" operation="processCourse"
+ <sequence>
+ <receive name="start" createInstance="yes" partnerLink="ClientAdapter" operation="processCourse"
xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse"
portType="tns:AddCoursePortType"
variable="ProcessCourseIn"/>
-<!--
- <assign name="Assign1">
- <copy>
- </assign>
--->
- <invoke name="checkIfAlreadyExists" partnerLink="EntityManager" operation="exists"
+ <assign name="prepareCheckIfAlreadyExists">
+ <!-- Set system -->
+ <copy>
+ <from>$ProcessCourseIn.courseMessage/dt:source</from>
+ <to>$ExistsIn.parameters/system</to>
+ </copy>
+ <!-- Set systemId -->
+ <copy>
+ <from>$ProcessCourseIn.courseMessage/dt:course/dt:attribute[dt:name = 'clientId']/dt:value</from>
+ <to>$ExistsIn.parameters/systemId</to>
+ </copy>
+ </assign>
+
+ <invoke name="checkIfCourseExists" partnerLink="EntityManager" operation="exists"
xmlns:tns="http://cse.campussource.de/ejb/EntityManager"
portType="tns:EntityManager"
inputVariable="ExistsIn"
outputVariable="ExistsOut"/>
- <if name="If1">
- <condition>1</condition>
- <empty name="Empty1"/>
- <else>
- <empty name="Empty2"/>
- </else>
- </if>
- <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
+ <assign name="saveExistingCseId">
+ <copy>
+ <from>$ExistsOut.parameters/return</from>
+ <to>$CseId</to>
+ </copy>
+ </assign>
+
+ <if>
+ <condition>$CseId = 0</condition>
+ <!-- Object new => persist it, etc. -->
+ <sequence name="CourseIsNew">
+
+ <assign name="preparePersistCourse">
+ <copy>
+ <from>$ProcessCourseIn.courseMessage/dt:course</from>
+ <to>$PersistCourseIn.parameters/course</to>
+ </copy>
+ </assign>
+
+ <invoke name="persistCourse" partnerLink="EntityManager" operation="persistCourse"
+ xmlns:tns="http://cse.campussource.de/ejb/EntityManager"
+ portType="tns:EntityManager"
+ inputVariable="PersistCourseIn"
+ outputVariable="PersistCourseOut"/>
+
+ <assign name="saveCreatedCseId">
+ <copy>
+ <from>$PersistCourseOut.parameters/return</from>
+ <to>$CseId</to>
+ </copy>
+ </assign>
+
+ <assign name="prepareCreateMapping">
+ <!-- Set cse-id -->
+ <copy>
+ <from>$CseId</from>
+ <to>$CreateMappingIn.parameters/cseId</to>
+ </copy>
+ <!-- Set system -->
+ <copy>
+ <from>$ProcessCourseIn.courseMessage/dt:source</from>
+ <to>$CreateMappingIn.parameters/system</to>
+ </copy>
+ <!-- Set id of the object in the system -->
+ <copy>
+ <from>$ProcessCourseIn.courseMessage/dt:course/dt:attribute[dt:name = 'clientId']/dt:value</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"/>
+
+
+ </sequence>
+
+ <else>
+ <sequence name="CourseAlreadyExists">
+ <empty name="peristUpdatedAttributes">
+ <documentation>-> EntityManager: persist any attributes that have changed and report if attributes have changed
+
+-> also upgrade ENTITY-TYPE to ENTITY (from proxy)
+
+if changed: => UPDATE_EVENT (regardless of relations)
+
+if not changed => check if relations have changed (if they have => update; else process finished)</documentation>
+ </empty>
+ </sequence>
+ </else>
+
+ </if>
+
+ <empty name="checkRelations">
+ <documentation>check if relations have changed (and persist changes);
+
+if they have => UPDATE event
+else: => keep current event</documentation>
+ </empty>
+ <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>
+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/course-example.xml
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/course-example.xml (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/course-example.xml 2009-07-24 11:58:32 UTC (rev 366)
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="windows-1252"?>
+
+<!--
+ Document : CDDM.xml
+ Created on : 24. Juli 2009, 11:33
+ Author : pete
+ Description:
+ Purpose of the document follows.
+-->
+
+<ns0:course xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
+ xmlns:ns0='http://cse.campussource.de/schema/DataTypes'
+ xsi:schemaLocation='http://cse.campussource.de/schema/DataTypes CDDM.xsd'>
+ <ns0:busId>5</ns0:busId>
+ <ns0:eventTime>2000-01-20T12:00:00</ns0:eventTime>
+ <ns0:attribute>
+ <ns0:name>attribute1</ns0:name>
+ <ns0:value>value1</ns0:value>
+ <ns0:transient>false</ns0:transient>
+ </ns0:attribute>
+ <ns0:attribute>
+ <ns0:name>attribute2</ns0:name>
+ <ns0:value>value2</ns0:value>
+ <ns0:transient>false</ns0:transient>
+ </ns0:attribute>
+ <ns0:attribute>
+ <ns0:name>attribute3</ns0:name>
+ <ns0:value>value3</ns0:value>
+ <ns0:transient>false</ns0:transient>
+ </ns0:attribute>
+ <ns0:categories>
+ <ns0:category>1</ns0:category>
+ <ns0:category>2</ns0:category>
+ <ns0:category>3</ns0:category>
+ </ns0:categories>
+ <ns0:parent>5</ns0:parent>
+ <ns0:workgroups>
+ <ns0:workgroup>1</ns0:workgroup>
+ <ns0:workgroup>2</ns0:workgroup>
+ <ns0:workgroup>3</ns0:workgroup>
+ </ns0:workgroups>
+</ns0:course>
Added: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/toEntity.xsl
===================================================================
--- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/toEntity.xsl (rev 0)
+++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/toEntity.xsl 2009-07-24 11:58:32 UTC (rev 366)
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+ Document : toEntity.xsl.xsl
+ Created on : 24. Juli 2009, 11:24
+ Author : pete
+ Description:
+ Purpose of transformation follows.
+-->
+
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:dt="http://cse.campussource.de/schema/DataTypes"
+ xmlns="http://cse.campussource.de/schema/DataTypes"
+ version="1.0">
+
+ <xsl:output method="xml"
+ media-type="text/xml"
+ indent="yes"
+ encoding="UTF-8"
+ omit-xml-declaration="no"/>
+
+ <xsl:template match="/">
+ <xsl:element name="entity">
+ <xsl:copy-of select="//dt:busId"/>
+ <xsl:copy-of select="//dt:eventTime"/>
+ <xsl:copy-of select="//dt:attribute"/>
+ </xsl:element>
+ </xsl:template>
+
+</xsl:stylesheet>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-24 11:55:58
|
Revision: 365
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=365&view=rev
Author: pkasprzak
Date: 2009-07-24 11:55:46 +0000 (Fri, 24 Jul 2009)
Log Message:
-----------
* Fixups
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa
Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa 2009-07-24 11:53:48 UTC (rev 364)
+++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa 2009-07-24 11:55:46 UTC (rev 365)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<casa xmlns="http://java.sun.com/xml/ns/casa" xmlns:ns1="urn:ilUserAdministration" xmlns:ns10="http://cse.campussource.de/ejb/IdentityManager" xmlns:ns11="http://cse.campussource.de/ejb/EntityManager" xmlns:ns12="http://cse.campussource.de/bpel/ILIASClientAdapter/ResolveEPR" xmlns:ns13="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" xmlns:ns14="http://cse.campussource.de/bpel/ILIASClientAdapter/UpdateCourse" xmlns:ns15="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateCourse" xmlns:ns16="http://cse.campussource.de/bpel/ILIASClientAdapter/DeleteCategory" xmlns:ns17="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCategory" xmlns:ns18="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateAccount" xmlns:ns19="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateAccount" xmlns:ns2="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" xmlns:ns20="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateCategory" xmlns:ns21="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateCategory" xmlns:ns22="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCourse" xmlns:ns23="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCourse" xmlns:ns24="http://cse.campussource.de/bpel/ILIASClientAdapter/AddAccount" xmlns:ns25="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddAccount" xmlns:ns26="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCategory" xmlns:ns27="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCategory" xmlns:ns28="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCourse" xmlns:ns29="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" xmlns:ns3="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" xmlns:ns30="http://cse.campussource.de/bpel/ILIASClientAdapter/DeleteAccount" xmlns:ns31="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteAccount" xmlns:ns32="http://cse.campussource.de/bpel/ILIASClientAdapter/OutboundClientAdapter" xmlns:ns33="http://cse.campussource.de/bpel/ILIASClientAdapter/Login" xmlns:ns34="http://cse.campussource.de/wsdl/ILIASClientAdapter/Login" xmlns:ns35="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" xmlns:ns36="http://enterprise.netbeans.org/bpel/ObjectProcessor/newProcess" xmlns:ns37="http://enterprise.netbeans.org/bpel/ObjectProcessor/ReplyProcessor" xmlns:ns38="http://enterprise.netbeans.org/bpel/ObjectProcessor/AddCourse" xmlns:ns39="http://enterprise.netbeans.org/bpel/LSFClientAdapter/InboundClientAdapter" xmlns:ns4="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" xmlns:ns40="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/LSFClientAdapter" xmlns:ns5="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:ns6="http://cse.campussource.de/ejb/ConfigurationManager" xmlns:ns7="LSFClientAdapterCA" xmlns:ns8="http://cse.campussource.de/ejb/RelationManager" xmlns:ns9="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" xmlns:xlink="http://www.w3.org/2000/xlink">
+<casa xmlns="http://java.sun.com/xml/ns/casa" xmlns:ns1="urn:ilUserAdministration" xmlns:ns10="http://cse.campussource.de/ejb/EntityManager" xmlns:ns11="http://cse.campussource.de/ejb/IdentityManager" xmlns:ns12="http://cse.campussource.de/bpel/ILIASClientAdapter/Login" xmlns:ns13="http://cse.campussource.de/wsdl/ILIASClientAdapter/Login" xmlns:ns14="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateAccount" xmlns:ns15="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateAccount" xmlns:ns16="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateCategory" xmlns:ns17="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateCategory" xmlns:ns18="http://cse.campussource.de/bpel/ILIASClientAdapter/DeleteCategory" xmlns:ns19="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCategory" xmlns:ns2="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" xmlns:ns20="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCourse" xmlns:ns21="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" xmlns:ns22="http://cse.campussource.de/bpel/ILIASClientAdapter/UpdateCourse" xmlns:ns23="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateCourse" xmlns:ns24="http://cse.campussource.de/bpel/ILIASClientAdapter/DeleteAccount" xmlns:ns25="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteAccount" xmlns:ns26="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCategory" xmlns:ns27="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCategory" xmlns:ns28="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCourse" xmlns:ns29="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCourse" xmlns:ns3="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" xmlns:ns30="http://cse.campussource.de/bpel/ILIASClientAdapter/ResolveEPR" xmlns:ns31="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" xmlns:ns32="http://cse.campussource.de/bpel/ILIASClientAdapter/OutboundClientAdapter" xmlns:ns33="http://cse.campussource.de/bpel/ILIASClientAdapter/AddAccount" xmlns:ns34="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddAccount" xmlns:ns35="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" xmlns:ns36="http://enterprise.netbeans.org/bpel/ObjectProcessor/ReplyProcessor" xmlns:ns37="http://enterprise.netbeans.org/bpel/ObjectProcessor/AddCourse" xmlns:ns38="http://enterprise.netbeans.org/bpel/ObjectProcessor/newProcess" xmlns:ns39="http://enterprise.netbeans.org/bpel/LSFClientAdapter/InboundClientAdapter" xmlns:ns4="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" xmlns:ns40="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/LSFClientAdapter" xmlns:ns5="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:ns6="http://cse.campussource.de/ejb/ConfigurationManager" xmlns:ns7="LSFClientAdapterCA" xmlns:ns8="http://cse.campussource.de/ejb/RelationManager" xmlns:ns9="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" xmlns:xlink="http://www.w3.org/2000/xlink">
<endpoints>
<endpoint endpoint-name="ILIASSoapWebservicePort" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint1" service-name="ns1:ILIASSoapWebservice"/>
<endpoint endpoint-name="IdentityMapperPort" interface-name="ns2:IdentityMapperPortType" name="endpoint2" service-name="ns2:IdentityMapperService"/>
@@ -11,65 +11,68 @@
<endpoint endpoint-name="RelationManagerPort" interface-name="ns8:RelationManager" name="endpoint8" service-name="ns8:RelationManagerWSService"/>
<endpoint endpoint-name="Test_ILIASClientAdapter" interface-name="ns5:ILIASClientAdapterPortType" name="endpoint9" service-name="ns7:casaService2"/>
<endpoint endpoint-name="AddCoursePort" interface-name="ns9:AddCoursePortType" name="endpoint10" service-name="ns9:AddCourseService"/>
- <endpoint endpoint-name="javaee_IdentityManagerPort" interface-name="ns10:IdentityManager" name="endpoint11" service-name="ns10:IdentityManagerWSService"/>
- <endpoint endpoint-name="javaee_EntityManagerPort" interface-name="ns11:EntityManager" name="endpoint12" service-name="ns11:EntityManagerWSService"/>
- <endpoint endpoint-name="javaee_RelationManagerPort" interface-name="ns8:RelationManager" name="endpoint13" service-name="ns8:RelationManagerWSService"/>
- <endpoint display-name="IliasAdapter" endpoint-name="ResolveEPRPortTypeRole_myRole" file-path="ResolveEPR.bpel" interface-name="ns13:ResolveEPRPortType" name="endpoint14" process-name="ResolveEPR" service-name="ns12:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="UpdateCoursePortTypeRole_myRole" file-path="UpdateCourse.bpel" interface-name="ns15:UpdateCoursePortType" name="endpoint15" process-name="UpdateCourse" service-name="ns14:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="DeleteCategoryPortTypeRole_myRole" file-path="DeleteCategory.bpel" interface-name="ns17:DeleteCategoryPortType" name="endpoint16" process-name="DeleteCategory" service-name="ns16:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="UpdateAccountPortTypeRole_myRole" file-path="UpdateAccount.bpel" interface-name="ns19:UpdateAccountPortType" name="endpoint17" process-name="UpdateAccount" service-name="ns18:IliasAdapter"/>
- <endpoint display-name="IliasAdpater" endpoint-name="UpdateCategoryPortTypeRole_myRole" file-path="UpdateCategory.bpel" interface-name="ns21:UpdateCategoryPortType" name="endpoint18" process-name="UpdateCategory" service-name="ns20:IliasAdpater"/>
- <endpoint display-name="IliasAdapter" endpoint-name="DeleteCoursePortTypeRole_myRole" file-path="DeleteCourse.bpel" interface-name="ns23:DeleteCoursePortType" name="endpoint19" process-name="DeleteCourse" service-name="ns22:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="AddAccountPortTypeRole_myRole" file-path="AddAccount.bpel" interface-name="ns25:AddAccountPortType" name="endpoint20" process-name="AddAccount" service-name="ns24:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="AddCategoryPortTypeRole_myRole" file-path="AddCategory.bpel" interface-name="ns27:AddCategoryPortType" name="endpoint21" process-name="AddCategory" service-name="ns26:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="AddCoursePortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns29:AddCoursePortType" name="endpoint22" process-name="AddCourse" service-name="ns28:IliasAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="DeleteAccountPortTypeRole_myRole" file-path="DeleteAccount.bpel" interface-name="ns31:DeleteAccountPortType" name="endpoint23" process-name="DeleteAccount" service-name="ns30:IliasAdapter"/>
- <endpoint display-name="ILIASAdapter" endpoint-name="ILIASClientAdapterPortTypeRole_myRole" file-path="OutboundClientAdapter.bpel" interface-name="ns5:ILIASClientAdapterPortType" name="endpoint24" process-name="OutboundClientAdapter" service-name="ns32:ILIASAdapter"/>
- <endpoint display-name="IliasAdapter" endpoint-name="LoginPortTypeRole_myRole" file-path="Login.bpel" interface-name="ns34:LoginPortType" name="endpoint25" process-name="Login" service-name="ns33:IliasAdapter"/>
- <endpoint display-name="ConfigurationManager" endpoint-name="ConfigurationManagerRole_partnerRole" file-path="ResolveEPR.bpel" interface-name="ns6:ConfigurationManager" name="endpoint26" process-name="ResolveEPR" service-name="ns12:ConfigurationManager"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint27" process-name="UpdateCourse" service-name="ns14:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint28" process-name="DeleteCategory" service-name="ns16:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint29" process-name="UpdateAccount" service-name="ns18:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint30" process-name="UpdateCategory" service-name="ns20:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint31" process-name="DeleteCourse" service-name="ns22:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint32" process-name="AddAccount" service-name="ns24:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint33" process-name="AddCategory" service-name="ns26:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint34" process-name="AddCourse" service-name="ns28:ILIAS"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint35" process-name="DeleteAccount" service-name="ns30:ILIAS"/>
- <endpoint display-name="ResolveEPR" endpoint-name="ResolveEPRPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns13:ResolveEPRPortType" name="endpoint36" process-name="OutboundClientAdapter" service-name="ns32:ResolveEPR"/>
- <endpoint display-name="Login" endpoint-name="LoginPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns34:LoginPortType" name="endpoint37" process-name="OutboundClientAdapter" service-name="ns32:Login"/>
- <endpoint display-name="AddCourse" endpoint-name="AddCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns29:AddCoursePortType" name="endpoint38" process-name="OutboundClientAdapter" service-name="ns32:AddCourse"/>
- <endpoint display-name="UpdateCourse" endpoint-name="UpdateCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns15:UpdateCoursePortType" name="endpoint39" process-name="OutboundClientAdapter" service-name="ns32:UpdateCourse"/>
- <endpoint display-name="DeleteCourse" endpoint-name="DeleteCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns23:DeleteCoursePortType" name="endpoint40" process-name="OutboundClientAdapter" service-name="ns32:DeleteCourse"/>
- <endpoint display-name="AddCategory" endpoint-name="AddCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns27:AddCategoryPortType" name="endpoint41" process-name="OutboundClientAdapter" service-name="ns32:AddCategory"/>
- <endpoint display-name="UpdateCategory" endpoint-name="UpdateCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns21:UpdateCategoryPortType" name="endpoint42" process-name="OutboundClientAdapter" service-name="ns32:UpdateCategory"/>
- <endpoint display-name="DeleteCategory" endpoint-name="DeleteCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns17:DeleteCategoryPortType" name="endpoint43" process-name="OutboundClientAdapter" service-name="ns32:DeleteCategory"/>
- <endpoint display-name="AddAccount" endpoint-name="AddAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns25:AddAccountPortType" name="endpoint44" process-name="OutboundClientAdapter" service-name="ns32:AddAccount"/>
- <endpoint display-name="UpdateAccount" endpoint-name="UpdateAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns19:UpdateAccountPortType" name="endpoint45" process-name="OutboundClientAdapter" service-name="ns32:UpdateAccount"/>
- <endpoint display-name="DeleteAccount" endpoint-name="DeleteAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns31:DeleteAccountPortType" name="endpoint46" process-name="OutboundClientAdapter" service-name="ns32:DeleteAccount"/>
- <endpoint display-name="ReplyProcessor" endpoint-name="ReplyProcessorPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns35:ReplyProcessorPortType" name="endpoint47" process-name="OutboundClientAdapter" service-name="ns32:ReplyProcessor"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint48" process-name="OutboundClientAdapter" service-name="ns32:ILIAS"/>
- <endpoint display-name="ConfigurationManager" endpoint-name="ConfigurationManagerRole_partnerRole" file-path="Login.bpel" interface-name="ns6:ConfigurationManager" name="endpoint49" process-name="Login" service-name="ns33:ConfigurationManager"/>
- <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="Login.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint50" process-name="Login" service-name="ns33:ILIAS"/>
- <endpoint display-name="ClientAdapter" endpoint-name="ObjectProcessorPortTypeRole_myRole" file-path="InboundObjectProcessor.bpel" interface-name="ns4:ObjectProcessorPortType" name="endpoint51" process-name="InboundObjectProcessor" service-name="ns36:ClientAdapter"/>
- <endpoint display-name="ClientAdapter" endpoint-name="ReplyProcessorPortTypeRole_myRole" file-path="ReplyProcessor.bpel" interface-name="ns35:ReplyProcessorPortType" name="endpoint52" process-name="ReplyProcessor" service-name="ns37:ClientAdapter"/>
- <endpoint display-name="ClientAdapter" endpoint-name="AddCoursePortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns9:AddCoursePortType" name="endpoint53" process-name="AddCourse" service-name="ns38:ClientAdapter"/>
- <endpoint display-name="IdentityMapper" endpoint-name="IdentityMapperPortTypeRole_partnerRole" file-path="InboundObjectProcessor.bpel" interface-name="ns2:IdentityMapperPortType" name="endpoint54" process-name="InboundObjectProcessor" service-name="ns36:IdentityMapper"/>
- <endpoint endpoint-name="javaee_IdentityMapperPort" interface-name="ns2:IdentityMapperPortType" name="endpoint55" service-name="ns2:IdentityMapperService"/>
- <endpoint endpoint-name="javaee_XSLTTransformPort" interface-name="ns3:XSLTTransformPortType" name="endpoint56" service-name="ns3:XSLTTransformService"/>
- <endpoint display-name="LSF" endpoint-name="LSFClientAdapterPortTypeRole_myRole" file-path="InboundClientAdapter.bpel" interface-name="ns40:LSFClientAdapterPortType" name="endpoint57" process-name="InboundClientAdapter" service-name="ns39:LSF"/>
- <endpoint display-name="XSLTTransform" endpoint-name="XSLTTransformPortTypeRole_partnerRole" file-path="InboundClientAdapter.bpel" interface-name="ns3:XSLTTransformPortType" name="endpoint58" process-name="InboundClientAdapter" service-name="ns39:XSLTTransform"/>
- <endpoint display-name="ObjectProcessor" endpoint-name="ObjectProcessorPortTypeRole_partnerRole" file-path="InboundClientAdapter.bpel" interface-name="ns4:ObjectProcessorPortType" name="endpoint59" process-name="InboundClientAdapter" service-name="ns39:ObjectProcessor"/>
+ <endpoint endpoint-name="EntityManagerPort" interface-name="ns10:EntityManager" name="endpoint11" service-name="ns10:EntityManagerWSService"/>
+ <endpoint endpoint-name="IdentityManagerPort" interface-name="ns11:IdentityManager" name="endpoint12" service-name="ns11:IdentityManagerWSService"/>
+ <endpoint endpoint-name="javaee_IdentityManagerPort" interface-name="ns11:IdentityManager" name="endpoint13" service-name="ns11:IdentityManagerWSService"/>
+ <endpoint endpoint-name="javaee_EntityManagerPort" interface-name="ns10:EntityManager" name="endpoint14" service-name="ns10:EntityManagerWSService"/>
+ <endpoint endpoint-name="javaee_RelationManagerPort" interface-name="ns8:RelationManager" name="endpoint15" service-name="ns8:RelationManagerWSService"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="LoginPortTypeRole_myRole" file-path="Login.bpel" interface-name="ns13:LoginPortType" name="endpoint16" process-name="Login" service-name="ns12:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="UpdateAccountPortTypeRole_myRole" file-path="UpdateAccount.bpel" interface-name="ns15:UpdateAccountPortType" name="endpoint17" process-name="UpdateAccount" service-name="ns14:IliasAdapter"/>
+ <endpoint display-name="IliasAdpater" endpoint-name="UpdateCategoryPortTypeRole_myRole" file-path="UpdateCategory.bpel" interface-name="ns17:UpdateCategoryPortType" name="endpoint18" process-name="UpdateCategory" service-name="ns16:IliasAdpater"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="DeleteCategoryPortTypeRole_myRole" file-path="DeleteCategory.bpel" interface-name="ns19:DeleteCategoryPortType" name="endpoint19" process-name="DeleteCategory" service-name="ns18:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="AddCoursePortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns21:AddCoursePortType" name="endpoint20" process-name="AddCourse" service-name="ns20:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="UpdateCoursePortTypeRole_myRole" file-path="UpdateCourse.bpel" interface-name="ns23:UpdateCoursePortType" name="endpoint21" process-name="UpdateCourse" service-name="ns22:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="DeleteAccountPortTypeRole_myRole" file-path="DeleteAccount.bpel" interface-name="ns25:DeleteAccountPortType" name="endpoint22" process-name="DeleteAccount" service-name="ns24:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="AddCategoryPortTypeRole_myRole" file-path="AddCategory.bpel" interface-name="ns27:AddCategoryPortType" name="endpoint23" process-name="AddCategory" service-name="ns26:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="DeleteCoursePortTypeRole_myRole" file-path="DeleteCourse.bpel" interface-name="ns29:DeleteCoursePortType" name="endpoint24" process-name="DeleteCourse" service-name="ns28:IliasAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="ResolveEPRPortTypeRole_myRole" file-path="ResolveEPR.bpel" interface-name="ns31:ResolveEPRPortType" name="endpoint25" process-name="ResolveEPR" service-name="ns30:IliasAdapter"/>
+ <endpoint display-name="ILIASAdapter" endpoint-name="ILIASClientAdapterPortTypeRole_myRole" file-path="OutboundClientAdapter.bpel" interface-name="ns5:ILIASClientAdapterPortType" name="endpoint26" process-name="OutboundClientAdapter" service-name="ns32:ILIASAdapter"/>
+ <endpoint display-name="IliasAdapter" endpoint-name="AddAccountPortTypeRole_myRole" file-path="AddAccount.bpel" interface-name="ns34:AddAccountPortType" name="endpoint27" process-name="AddAccount" service-name="ns33:IliasAdapter"/>
+ <endpoint display-name="ConfigurationManager" endpoint-name="ConfigurationManagerRole_partnerRole" file-path="Login.bpel" interface-name="ns6:ConfigurationManager" name="endpoint28" process-name="Login" service-name="ns12:ConfigurationManager"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="Login.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint29" process-name="Login" service-name="ns12:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint30" process-name="UpdateAccount" service-name="ns14:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint31" process-name="UpdateCategory" service-name="ns16:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint32" process-name="DeleteCategory" service-name="ns18:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint33" process-name="AddCourse" service-name="ns20:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint34" process-name="UpdateCourse" service-name="ns22:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint35" process-name="DeleteAccount" service-name="ns24:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint36" process-name="AddCategory" service-name="ns26:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint37" process-name="DeleteCourse" service-name="ns28:ILIAS"/>
+ <endpoint display-name="ConfigurationManager" endpoint-name="ConfigurationManagerRole_partnerRole" file-path="ResolveEPR.bpel" interface-name="ns6:ConfigurationManager" name="endpoint38" process-name="ResolveEPR" service-name="ns30:ConfigurationManager"/>
+ <endpoint display-name="ResolveEPR" endpoint-name="ResolveEPRPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns31:ResolveEPRPortType" name="endpoint39" process-name="OutboundClientAdapter" service-name="ns32:ResolveEPR"/>
+ <endpoint display-name="Login" endpoint-name="LoginPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns13:LoginPortType" name="endpoint40" process-name="OutboundClientAdapter" service-name="ns32:Login"/>
+ <endpoint display-name="AddCourse" endpoint-name="AddCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns21:AddCoursePortType" name="endpoint41" process-name="OutboundClientAdapter" service-name="ns32:AddCourse"/>
+ <endpoint display-name="UpdateCourse" endpoint-name="UpdateCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns23:UpdateCoursePortType" name="endpoint42" process-name="OutboundClientAdapter" service-name="ns32:UpdateCourse"/>
+ <endpoint display-name="DeleteCourse" endpoint-name="DeleteCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns29:DeleteCoursePortType" name="endpoint43" process-name="OutboundClientAdapter" service-name="ns32:DeleteCourse"/>
+ <endpoint display-name="AddCategory" endpoint-name="AddCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns27:AddCategoryPortType" name="endpoint44" process-name="OutboundClientAdapter" service-name="ns32:AddCategory"/>
+ <endpoint display-name="UpdateCategory" endpoint-name="UpdateCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns17:UpdateCategoryPortType" name="endpoint45" process-name="OutboundClientAdapter" service-name="ns32:UpdateCategory"/>
+ <endpoint display-name="DeleteCategory" endpoint-name="DeleteCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns19:DeleteCategoryPortType" name="endpoint46" process-name="OutboundClientAdapter" service-name="ns32:DeleteCategory"/>
+ <endpoint display-name="AddAccount" endpoint-name="AddAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns34:AddAccountPortType" name="endpoint47" process-name="OutboundClientAdapter" service-name="ns32:AddAccount"/>
+ <endpoint display-name="UpdateAccount" endpoint-name="UpdateAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns15:UpdateAccountPortType" name="endpoint48" process-name="OutboundClientAdapter" service-name="ns32:UpdateAccount"/>
+ <endpoint display-name="DeleteAccount" endpoint-name="DeleteAccountPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns25:DeleteAccountPortType" name="endpoint49" process-name="OutboundClientAdapter" service-name="ns32:DeleteAccount"/>
+ <endpoint display-name="ReplyProcessor" endpoint-name="ReplyProcessorPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns35:ReplyProcessorPortType" name="endpoint50" process-name="OutboundClientAdapter" service-name="ns32:ReplyProcessor"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint51" process-name="OutboundClientAdapter" service-name="ns32:ILIAS"/>
+ <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddAccount.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint52" process-name="AddAccount" service-name="ns33:ILIAS"/>
+ <endpoint display-name="ClientAdapter" endpoint-name="ReplyProcessorPortTypeRole_myRole" file-path="ReplyProcessor.bpel" interface-name="ns35:ReplyProcessorPortType" name="endpoint53" process-name="ReplyProcessor" service-name="ns36:ClientAdapter"/>
+ <endpoint display-name="ClientAdapter" endpoint-name="AddCoursePortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns9:AddCoursePortType" name="endpoint54" process-name="AddCourse" service-name="ns37:ClientAdapter"/>
+ <endpoint display-name="ClientAdapter" endpoint-name="ObjectProcessorPortTypeRole_myRole" file-path="InboundObjectProcessor.bpel" interface-name="ns4:ObjectProcessorPortType" name="endpoint55" process-name="InboundObjectProcessor" service-name="ns38:ClientAdapter"/>
+ <endpoint display-name="EntityManager" endpoint-name="EntityManagerRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns10:EntityManager" name="endpoint56" process-name="AddCourse" service-name="ns37:EntityManager"/>
+ <endpoint display-name="RelationManager" endpoint-name="RelationManagerRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns8:RelationManager" name="endpoint57" process-name="AddCourse" service-name="ns37:RelationManager"/>
+ <endpoint display-name="IdentityManager" endpoint-name="IdentityManagerRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns11:IdentityManager" name="endpoint58" process-name="AddCourse" service-name="ns37:IdentityManager"/>
+ <endpoint display-name="IdentityMapper" endpoint-name="IdentityMapperPortTypeRole_partnerRole" file-path="InboundObjectProcessor.bpel" interface-name="ns2:IdentityMapperPortType" name="endpoint59" process-name="InboundObjectProcessor" service-name="ns38:IdentityMapper"/>
+ <endpoint endpoint-name="javaee_IdentityMapperPort" interface-name="ns2:IdentityMapperPortType" name="endpoint60" service-name="ns2:IdentityMapperService"/>
+ <endpoint endpoint-name="javaee_XSLTTransformPort" interface-name="ns3:XSLTTransformPortType" name="endpoint61" service-name="ns3:XSLTTransformService"/>
+ <endpoint display-name="LSF" endpoint-name="LSFClientAdapterPortTypeRole_myRole" file-path="InboundClientAdapter.bpel" interface-name="ns40:LSFClientAdapterPortType" name="endpoint62" process-name="InboundClientAdapter" service-name="ns39:LSF"/>
+ <endpoint display-name="XSLTTransform" endpoint-name="XSLTTransformPortTypeRole_partnerRole" file-path="InboundClientAdapter.bpel" interface-name="ns3:XSLTTransformPortType" name="endpoint63" process-name="InboundClientAdapter" service-name="ns39:XSLTTransform"/>
+ <endpoint display-name="ObjectProcessor" endpoint-name="ObjectProcessorPortTypeRole_partnerRole" file-path="InboundClientAdapter.bpel" interface-name="ns4:ObjectProcessorPortType" name="endpoint64" process-name="InboundClientAdapter" service-name="ns39:ObjectProcessor"/>
</endpoints>
<service-units>
<service-engine-service-unit artifacts-zip="CSECore-ejb.jar" component-name="sun-javaee-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-CSECore-ejb" unit-name="CSECore-ejb" unknown="false" x="138" y="97">
- <provides endpoint="endpoint11"/>
- <provides endpoint="endpoint12"/>
<provides endpoint="endpoint13"/>
+ <provides endpoint="endpoint14"/>
+ <provides endpoint="endpoint15"/>
</service-engine-service-unit>
<service-engine-service-unit artifacts-zip="ILIASClientAdapter.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-ILIASClientAdapter" unit-name="ILIASClientAdapter" unknown="false" x="130" y="256">
- <provides endpoint="endpoint14"/>
- <provides endpoint="endpoint15"/>
<provides endpoint="endpoint16"/>
<provides endpoint="endpoint17"/>
<provides endpoint="endpoint18"/>
@@ -80,8 +83,8 @@
<provides endpoint="endpoint23"/>
<provides endpoint="endpoint24"/>
<provides endpoint="endpoint25"/>
- <consumes endpoint="endpoint26"/>
- <consumes endpoint="endpoint27"/>
+ <provides endpoint="endpoint26"/>
+ <provides endpoint="endpoint27"/>
<consumes endpoint="endpoint28"/>
<consumes endpoint="endpoint29"/>
<consumes endpoint="endpoint30"/>
@@ -105,84 +108,96 @@
<consumes endpoint="endpoint48"/>
<consumes endpoint="endpoint49"/>
<consumes endpoint="endpoint50"/>
+ <consumes endpoint="endpoint51"/>
+ <consumes endpoint="endpoint52"/>
</service-engine-service-unit>
<service-engine-service-unit artifacts-zip="Common.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-Common" unit-name="Common" unknown="false" x="160" y="1415"/>
<service-engine-service-unit artifacts-zip="ObjectProcessor.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-ObjectProcessor" unit-name="ObjectProcessor" unknown="false" x="133" y="1498">
- <provides endpoint="endpoint51"/>
- <provides endpoint="endpoint52"/>
<provides endpoint="endpoint53"/>
- <consumes endpoint="endpoint54"/>
- </service-engine-service-unit>
- <service-engine-service-unit artifacts-zip="IdentityMapper.jar" component-name="sun-javaee-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-IdentityMapper" unit-name="IdentityMapper" unknown="false" x="133" y="1742">
+ <provides endpoint="endpoint54"/>
<provides endpoint="endpoint55"/>
- </service-engine-service-unit>
- <service-engine-service-unit artifacts-zip="XSLTTransform.jar" component-name="sun-javaee-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-XSLTTransform" unit-name="XSLTTransform" unknown="false" x="133" y="1857">
- <provides endpoint="endpoint56"/>
- </service-engine-service-unit>
- <service-engine-service-unit artifacts-zip="LSFClientAdapter.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-LSFClientAdapter" unit-name="LSFClientAdapter" unknown="false" x="135" y="1972">
- <provides endpoint="endpoint57"/>
+ <consumes endpoint="endpoint56"/>
+ <consumes endpoint="endpoint57"/>
<consumes endpoint="endpoint58"/>
<consumes endpoint="endpoint59"/>
</service-engine-service-unit>
+ <service-engine-service-unit artifacts-zip="IdentityMapper.jar" component-name="sun-javaee-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-IdentityMapper" unit-name="IdentityMapper" unknown="false" x="133" y="1786">
+ <provides endpoint="endpoint60"/>
+ </service-engine-service-unit>
+ <service-engine-service-unit artifacts-zip="XSLTTransform.jar" component-name="sun-javaee-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-XSLTTransform" unit-name="XSLTTransform" unknown="false" x="133" y="1901">
+ <provides endpoint="endpoint61"/>
+ </service-engine-service-unit>
+ <service-engine-service-unit artifacts-zip="LSFClientAdapter.jar" component-name="sun-bpel-engine" defined="true" description="Represents this Service Unit" internal="true" name="CSEIPCA-LSFClientAdapter" unit-name="LSFClientAdapter" unknown="false" x="135" y="2016">
+ <provides endpoint="endpoint62"/>
+ <consumes endpoint="endpoint63"/>
+ <consumes endpoint="endpoint64"/>
+ </service-engine-service-unit>
<binding-component-service-unit artifacts-zip="sun-http-binding.jar" component-name="sun-http-binding" description="Represents this Service Unit" name="CSEIPCA-sun-http-binding" unit-name="sun-http-binding">
<ports>
- <port bindingType="soap" x="67" y="224">
+ <port bindingType="soap" x="67" y="345">
<link xlink:href="../jbiasa/CSEIPCA.wsdl#xpointer(/definitions/service[@name='casaService1']/port[@name='Test_RelationManager'])" xlink:type="simple"/>
<consumes endpoint="endpoint7"/>
<provides endpoint="endpoint7"/>
</port>
- <port bindingType="soap" x="67" y="319">
+ <port bindingType="soap" x="67" y="422">
<link xlink:href="../jbiasa/CSEIPCA.wsdl#xpointer(/definitions/service[@name='casaService2']/port[@name='Test_ILIASClientAdapter'])" xlink:type="simple"/>
<consumes endpoint="endpoint9"/>
<provides endpoint="endpoint9"/>
</port>
- <port x="67" y="37">
- <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ilias-3.10.5.wsdl#xpointer(/definitions/service[@name='ILIASSoapWebservice']/port[@name='ILIASSoapWebservicePort'])" xlink:type="simple"/>
- <consumes endpoint="endpoint1"/>
- <provides endpoint="endpoint1"/>
+ <port state="deleted" x="67" y="191">
+ <link xlink:href="../jbiServiceUnits/Common/IdentityManager.wsdl#xpointer(/definitions/service[@name='IdentityManagerWSService']/port[@name='IdentityManagerPort'])" xlink:type="simple"/>
+ <consumes endpoint="endpoint12"/>
+ <provides endpoint="endpoint12"/>
</port>
- <port state="deleted" x="67" y="274">
- <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ILIASClientAdapter.wsdl#xpointer(/definitions/service[@name='ILIASClientAdapterService']/port[@name='ILIASClientAdapterPort'])" xlink:type="simple"/>
- <consumes endpoint="endpoint5"/>
- <provides endpoint="endpoint5"/>
+ <port state="deleted" x="67" y="37">
+ <link xlink:href="../jbiServiceUnits/Common/RelationManager.wsdl#xpointer(/definitions/service[@name='RelationManagerWSService']/port[@name='RelationManagerPort'])" xlink:type="simple"/>
+ <consumes endpoint="endpoint8"/>
+ <provides endpoint="endpoint8"/>
</port>
+ <port state="deleted" x="67" y="114">
+ <link xlink:href="../jbiServiceUnits/Common/EntityManager.wsdl#xpointer(/definitions/service[@name='EntityManagerWSService']/port[@name='EntityManagerPort'])" xlink:type="simple"/>
+ <consumes endpoint="endpoint11"/>
+ <provides endpoint="endpoint11"/>
+ </port>
<port x="67" y="688">
<link xlink:href="../jbiServiceUnits/Common/ConfigurationManager.wsdl#xpointer(/definitions/service[@name='ConfigurationManagerWSService']/port[@name='ConfigurationManagerPort'])" xlink:type="simple"/>
<consumes endpoint="endpoint6"/>
<provides endpoint="endpoint6"/>
</port>
- <port state="deleted" x="67" y="37">
- <link xlink:href="../jbiServiceUnits/Common/RelationManager.wsdl#xpointer(/definitions/service[@name='RelationManagerWSService']/port[@name='RelationManagerPort'])" xlink:type="simple"/>
- <consumes endpoint="endpoint8"/>
- <provides endpoint="endpoint8"/>
- </port>
<port state="deleted" x="67" y="507">
<link xlink:href="../jbiServiceUnits/LSFClientAdapter/XSLTTransform.wsdl#xpointer(/definitions/service[@name='XSLTTransformService']/port[@name='XSLTTransformPort'])" xlink:type="simple"/>
<consumes endpoint="endpoint3"/>
<provides endpoint="endpoint3"/>
</port>
<port state="deleted" x="0" y="-1">
- <link xlink:href="../jbiServiceUnits/META-INF/LSFClientAdapter/src/_references/_projects/ObjectProcessor/src/InboundObjectProcessor.wsdl#xpointer(/definitions/service[@name='ObjectProcessorService']/port[@name='ObjectProcessorPortTypeBindingPort'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ObjectProcessor/InboundObjectProcessor.wsdl#xpointer(/definitions/service[@name='ObjectProcessorService']/port[@name='ObjectProcessorPortTypeBindingPort'])" xlink:type="simple"/>
<consumes endpoint="endpoint4"/>
<provides endpoint="endpoint4"/>
</port>
+ <port x="67" y="223">
+ <link xlink:href="../jbiServiceUnits/ObjectProcessor/AddCourse.wsdl#xpointer(/definitions/service[@name='AddCourseService']/port[@name='AddCoursePort'])" xlink:type="simple"/>
+ <consumes endpoint="endpoint10"/>
+ <provides endpoint="endpoint10"/>
+ </port>
<port state="deleted" x="67" y="413">
<link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/IdentityMapper/src/conf/wsdl/IdentityMapperWS/IdentityMapper.wsdl#xpointer(/definitions/service[@name='IdentityMapperService']/port[@name='IdentityMapperPort'])" xlink:type="simple"/>
<consumes endpoint="endpoint2"/>
<provides endpoint="endpoint2"/>
</port>
- <port x="67" y="114">
- <link xlink:href="../jbiServiceUnits/ObjectProcessor/AddCourse.wsdl#xpointer(/definitions/service[@name='AddCourseService']/port[@name='AddCoursePort'])" xlink:type="simple"/>
- <consumes endpoint="endpoint10"/>
- <provides endpoint="endpoint10"/>
+ <port x="67" y="37">
+ <link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/ilias-3.10.5.wsdl#xpointer(/definitions/service[@name='ILIASSoapWebservice']/port[@name='ILIASSoapWebservicePort'])" xlink:type="simple"/>
+ <consumes endpoint="endpoint1"/>
+ <provides endpoint="endpoint1"/>
</port>
+ <port state="deleted" x="67" y="274">
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ILIASClientAdapter.wsdl#xpointer(/definitions/service[@name='ILIASClientAdapterService']/port[@name='ILIASClientAdapterPort'])" xlink:type="simple"/>
+ <consumes endpoint="endpoint5"/>
+ <provides endpoint="endpoint5"/>
+ </port>
</ports>
</binding-component-service-unit>
</service-units>
<connections>
- <connection consumer="endpoint38" provider="endpoint22" state="unchanged"/>
- <connection consumer="endpoint27" provider="endpoint1" state="unchanged"/>
- <connection consumer="endpoint28" provider="endpoint1" state="unchanged"/>
<connection consumer="endpoint29" provider="endpoint1" state="unchanged"/>
<connection consumer="endpoint30" provider="endpoint1" state="unchanged"/>
<connection consumer="endpoint31" provider="endpoint1" state="unchanged"/>
@@ -190,109 +205,135 @@
<connection consumer="endpoint33" provider="endpoint1" state="unchanged"/>
<connection consumer="endpoint34" provider="endpoint1" state="unchanged"/>
<connection consumer="endpoint35" provider="endpoint1" state="unchanged"/>
- <connection consumer="endpoint48" provider="endpoint1" state="unchanged"/>
- <connection consumer="endpoint50" provider="endpoint1" state="unchanged"/>
- <connection consumer="endpoint7" provider="endpoint13" state="unchanged"/>
- <connection consumer="endpoint43" provider="endpoint16" state="unchanged"/>
- <connection consumer="endpoint40" provider="endpoint19" state="unchanged"/>
- <connection consumer="endpoint54" provider="endpoint55" state="unchanged"/>
- <connection consumer="endpoint36" provider="endpoint14" state="unchanged"/>
- <connection consumer="endpoint37" provider="endpoint25" state="unchanged"/>
- <connection consumer="endpoint58" provider="endpoint56" state="unchanged"/>
- <connection consumer="endpoint10" provider="endpoint53" state="unchanged"/>
- <connection consumer="endpoint59" provider="endpoint51" state="unchanged"/>
- <connection consumer="endpoint44" provider="endpoint20" state="unchanged"/>
- <connection consumer="endpoint41" provider="endpoint21" state="unchanged"/>
- <connection consumer="endpoint42" provider="endpoint18" state="unchanged"/>
- <connection consumer="endpoint39" provider="endpoint15" state="unchanged"/>
- <connection consumer="endpoint9" provider="endpoint24" state="new"/>
- <connection consumer="endpoint45" provider="endpoint17" state="unchanged"/>
- <connection consumer="endpoint26" provider="endpoint6" state="unchanged"/>
- <connection consumer="endpoint49" provider="endpoint6" state="unchanged"/>
- <connection consumer="endpoint46" provider="endpoint23" state="unchanged"/>
- <connection consumer="endpoint47" provider="endpoint52" state="unchanged"/>
- <connection consumer="endpoint5" provider="endpoint24" state="deleted"/>
- <connection consumer="endpoint2" provider="endpoint55" state="deleted"/>
- <connection consumer="endpoint3" provider="endpoint56" state="deleted"/>
- <connection consumer="endpoint4" provider="endpoint51" state="deleted"/>
- <connection consumer="endpoint8" provider="endpoint13" state="deleted"/>
+ <connection consumer="endpoint36" provider="endpoint1" state="unchanged"/>
+ <connection consumer="endpoint37" provider="endpoint1" state="unchanged"/>
+ <connection consumer="endpoint51" provider="endpoint1" state="unchanged"/>
+ <connection consumer="endpoint52" provider="endpoint1" state="unchanged"/>
+ <connection consumer="endpoint46" provider="endpoint19" state="unchanged"/>
+ <connection consumer="endpoint59" provider="endpoint60" state="unchanged"/>
+ <connection consumer="endpoint39" provider="endpoint25" state="unchanged"/>
+ <connection consumer="endpoint40" provider="endpoint16" state="unchanged"/>
+ <connection consumer="endpoint10" provider="endpoint54" state="unchanged"/>
+ <connection consumer="endpoint44" provider="endpoint23" state="unchanged"/>
+ <connection consumer="endpoint45" provider="endpoint18" state="unchanged"/>
+ <connection consumer="endpoint48" provider="endpoint17" state="unchanged"/>
+ <connection consumer="endpoint28" provider="endpoint6" state="unchanged"/>
+ <connection consumer="endpoint38" provider="endpoint6" state="unchanged"/>
+ <connection consumer="endpoint41" provider="endpoint20" state="unchanged"/>
+ <connection consumer="endpoint43" provider="endpoint24" state="unchanged"/>
+ <connection consumer="endpoint63" provider="endpoint61" state="unchanged"/>
+ <connection consumer="endpoint56" provider="endpoint14" state="unchanged"/>
+ <connection consumer="endpoint58" provider="endpoint13" state="unchanged"/>
+ <connection consumer="endpoint64" provider="endpoint55" state="unchanged"/>
+ <connection consumer="endpoint47" provider="endpoint27" state="unchanged"/>
+ <connection consumer="endpoint9" provider="endpoint26" state="new"/>
+ <connection consumer="endpoint42" provider="endpoint21" state="unchanged"/>
+ <connection consumer="endpoint49" provider="endpoint22" state="unchanged"/>
+ <connection consumer="endpoint50" provider="endpoint53" state="unchanged"/>
+ <connection consumer="endpoint7" provider="endpoint15" state="unchanged"/>
+ <connection consumer="endpoint11" provider="endpoint14" state="deleted"/>
+ <connection consumer="endpoint12" provider="endpoint13" state="deleted"/>
+ <connection consumer="endpoint5" provider="endpoint26" state="deleted"/>
+ <connection consumer="endpoint2" provider="endpoint60" state="deleted"/>
+ <connection consumer="endpoint3" provider="endpoint61" state="deleted"/>
+ <connection consumer="endpoint4" provider="endpoint55" state="deleted"/>
+ <connection consumer="endpoint5" provider="endpoint26" state="deleted"/>
+ <connection consumer="endpoint2" provider="endpoint60" state="deleted"/>
+ <connection consumer="endpoint3" provider="endpoint61" state="deleted"/>
+ <connection consumer="endpoint4" provider="endpoint54" state="deleted"/>
+ <connection consumer="endpoint8" provider="endpoint15" state="deleted"/>
</connections>
<porttypes>
<link xlink:href="../jbiasa/CSEIPCA.wsdl#xpointer(/definitions/portType[@name='dummyCasaPortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/faultHandlingMsg.wsdl#xpointer(/definitions/portType[@name='faultHandlingMsgPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/Common/IdentityManager.wsdl#xpointer(/definitions/portType[@name='IdentityManager'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/Common/RelationManager.wsdl#xpointer(/definitions/portType[@name='RelationManager'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/Common/EntityManager.wsdl#xpointer(/definitions/portType[@name='EntityManager'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/Common/ConfigurationManager.wsdl#xpointer(/definitions/portType[@name='ConfigurationManager'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/LSFClientAdapter/LSFClientAdapter.wsdl#xpointer(/definitions/portType[@name='LSFClientAdapterPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/LSFClientAdapter/XSLTTransform.wsdl#xpointer(/definitions/portType[@name='XSLTTransformPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ObjectProcessor/InboundObjectProcessor.wsdl#xpointer(/definitions/portType[@name='ObjectProcessorPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ObjectProcessor/ReplyProcessor.wsdl#xpointer(/definitions/portType[@name='ReplyProcessorPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ObjectProcessor/AddCourse.wsdl#xpointer(/definitions/portType[@name='AddCoursePortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/XSLTTransform/META-INF/wsdl/XSLTTransform/XSLTTransform.wsdl#xpointer(/definitions/portType[@name='XSLTTransformPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/META-INF/LSFClientAdapter/src/_references/_projects/ObjectProcessor/src/InboundObjectProcessor.wsdl#xpointer(/definitions/portType[@name='ObjectProcessorPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/IdentityManager.wsdl#xpointer(/definitions/portType[@name='IdentityManager'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/RelationManager.wsdl#xpointer(/definitions/portType[@name='RelationManager'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/Common/src/EntityManager.wsdl#xpointer(/definitions/portType[@name='EntityManager'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/IdentityMapper/src/conf/wsdl/IdentityMapperWS/IdentityMapper.wsdl#xpointer(/definitions/portType[@name='IdentityMapperPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/_references/_projects/Common/src/ConfigurationManager.wsdl#xpointer(/definitions/portType[@name='ConfigurationManager'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/_references/_projects/ObjectProcessor/src/ReplyProcessor.wsdl#xpointer(/definitions/portType[@name='ReplyProcessorPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/ilias-3.10.5.wsdl#xpointer(/definitions/portType[@name='ILIASSoapWebservicePortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/CSEIPCA.wsdl#xpointer(/definitions/portType[@name='dummyCasaPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/AddCategory.wsdl#xpointer(/definitions/portType[@name='AddCategoryPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ILIASClientAdapter.wsdl#xpointer(/definitions/portType[@name='ILIASClientAdapterPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/DeleteCategory.wsdl#xpointer(/definitions/portType[@name='DeleteCategoryPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/DeleteCourse.wsdl#xpointer(/definitions/portType[@name='DeleteCoursePortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/ILIASClientAdapter/DeleteAccount.wsdl#xpointer(/definitions/portType[@name='DeleteAccountPortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/AddCourse.wsdl#xpointer(/definitions/portType[@name='AddCoursePortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ilias-3.10.5.wsdl#xpointer(/definitions/portType[@name='ILIASSoapWebservicePortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/DeleteCategory.wsdl#xpointer(/definitions/portType[@name='DeleteCategoryPortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ResolveEPR.wsdl#xpointer(/definitions/portType[@name='ResolveEPRPortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/ILIASClientAdapter/UpdateAccount.wsdl#xpointer(/definitions/portType[@name='UpdateAccountPortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/ILIASClientAdapter/UpdateCategory.wsdl#xpointer(/definitions/portType[@name='UpdateCategoryPortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ILIASClientAdapter.wsdl#xpointer(/definitions/portType[@name='ILIASClientAdapterPortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/DeleteCourse.wsdl#xpointer(/definitions/portType[@name='DeleteCoursePortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/AddCategory.wsdl#xpointer(/definitions/portType[@name='AddCategoryPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/faultHandlingMsg.wsdl#xpointer(/definitions/portType[@name='faultHandlingMsgPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/AddAccount.wsdl#xpointer(/definitions/portType[@name='AddAccountPortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ilias-3.10.5-fixed.wsdl#xpointer(/definitions/portType[@name='ILIASSoapWebservicePortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/AddCourse.wsdl#xpointer(/definitions/portType[@name='AddCoursePortType'])" xlink:type="simple"/>
+ <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ilias-3.10.5.wsdl#xpointer(/definitions/portType[@name='ILIASSoapWebservicePortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/ILIASClientAdapter/Login.wsdl#xpointer(/definitions/portType[@name='LoginPortType'])" xlink:type="simple"/>
<link xlink:href="../jbiServiceUnits/ILIASClientAdapter/UpdateCourse.wsdl#xpointer(/definitions/portType[@name='UpdateCoursePortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/AddAccount.wsdl#xpointer(/definitions/portType[@name='AddAccountPortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ilias-3.10.5-fixed.wsdl#xpointer(/definitions/portType[@name='ILIASSoapWebservicePortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/Common/ConfigurationManager.wsdl#xpointer(/definitions/portType[@name='ConfigurationManager'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/Common/RelationManager.wsdl#xpointer(/definitions/portType[@name='RelationManager'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/LSFClientAdapter/LSFClientAdapter.wsdl#xpointer(/definitions/portType[@name='LSFClientAdapterPortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/LSFClientAdapter/XSLTTransform.wsdl#xpointer(/definitions/portType[@name='XSLTTransformPortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/CSEIPCA.wsdl#xpointer(/definitions/portType[@name='dummyCasaPortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/ilias-3.10.5.wsdl#xpointer(/definitions/portType[@name='ILIASSoapWebservicePortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/_references/_projects/Common/src/ConfigurationManager.wsdl#xpointer(/definitions/portType[@name='ConfigurationManager'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/META-INF/ILIASClientAdapter/src/_references/_projects/ObjectProcessor/src/ReplyProcessor.wsdl#xpointer(/definitions/portType[@name='ReplyProcessorPortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/META-INF/LSFClientAdapter/src/_references/_projects/ObjectProcessor/src/InboundObjectProcessor.wsdl#xpointer(/definitions/portType[@name='ObjectProcessorPortType'])" xlink:type="simple"/>
- <link xlink:href="../jbiServiceUnits/META-INF/ObjectProcessor/src/_references/_projects/IdentityMapper/src/conf/wsdl/IdentityMapperWS/IdentityMapper.wsdl#xpointer(/definitions/portType[@name='IdentityMapperP...
[truncated message content] |
|
From: <pka...@us...> - 2009-07-24 11:53:55
|
Revision: 364
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=364&view=rev
Author: pkasprzak
Date: 2009-07-24 11:53:48 +0000 (Fri, 24 Jul 2009)
Log Message:
-----------
* Added EntityManager.updateAttributes() for attribute checks on entities (+ some tests)
* Fixed Attribute -> Entity cascades
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/CSECore-test/src/java/de/campussource/cse/core/test/Main.java
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-test/src/java/de/campussource/cse/core/test/Main.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-test/src/java/de/campussource/cse/core/test/Main.java 2009-07-24 11:53:42 UTC (rev 363)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-test/src/java/de/campussource/cse/core/test/Main.java 2009-07-24 11:53:48 UTC (rev 364)
@@ -12,6 +12,8 @@
import de.campussource.cse.core.cdm.AttributeType;
import de.campussource.cse.core.cdm.CourseType;
import de.campussource.cse.core.cdm.EntityType;
+import de.campussource.cse.core.pdm.Attribute;
+import de.campussource.cse.core.pdm.Entity;
import java.util.logging.Logger;
import javax.naming.Context;
import javax.naming.InitialContext;
@@ -57,6 +59,16 @@
print(buffer.toString());
}
+ private static void dumpEntity(Entity entity) {
+ print("--------------------------------------");
+ print("Entity-type: " + entity.getType());
+ print("Attributes:");
+ for (Attribute attribute : entity.getAttributes()) {
+ print("name: " + attribute.getName() + "; value: " + attribute.getValue());
+ }
+ print("--------------------------------------");
+ }
+
private static void addAttribute(String attributeName, String attributeValue, EntityType entity) {
AttributeType attribute = new AttributeType();
attribute.setName(attributeName);
@@ -64,15 +76,71 @@
entity.getAttribute().add(attribute);
}
- public static void test_entityManager() {
+ public static void test_entityManager_createCourse() {
CourseType course = new CourseType();
- addAttribute("clientId", "5", course);
- addAttribute("attribute1", "value1", course);
- addAttribute("attribute2", "value2", course);
+ addAttribute("clientId", "1", course);
+ addAttribute("attribute1", "value1", course);
+ addAttribute("attribute2", "value2", course);
int courseId = entityManager.createCourse(course);
- print("*** Generated course with id = " + courseId);
+ print("Created course with id = " + courseId);
}
+ public static void test_entityManager_updateAttributes() {
+
+ /* First create course with some attributes */
+ print("\nTest: persisting course");
+ CourseType course = new CourseType();
+ addAttribute("clientId", "1", course);
+ addAttribute("attribute1", "value1", course);
+ addAttribute("attribute2", "value2", course);
+ addAttribute("attribute3", "value3", course);
+ int courseId = entityManager.createCourse(course);
+ print("Created course with id = " + courseId);
+ print("Course as persisted:");
+ dumpEntity(entityManager.getEntity(courseId));
+
+ /* Test attribute change */
+ print("\nTest: changing attribute value");
+ course = new CourseType();
+ addAttribute("clientId", "1", course);
+ addAttribute("attribute1", "changedvalue1", course);
+ addAttribute("attribute2", "value2", course);
+ addAttribute("attribute3", "value3", course);
+ course.setBusId(courseId);
+ boolean attributesChanged = entityManager.updateAttributes(course);
+ print("Attributes changed (as reported) [YES]: " + (attributesChanged ? "YES" : "NO"));
+ print("Course as persisted:");
+ dumpEntity(entityManager.getEntity(courseId));
+
+ /* Test addition of an attribute */
+ print("\nTest: adding attribute");
+ addAttribute("attribute4", "value4", course);
+ attributesChanged = entityManager.updateAttributes(course);
+ print("Attributes changed (as reported) [YES]: " + (attributesChanged ? "YES" : "NO"));
+ print("Course as persisted:");
+ dumpEntity(entityManager.getEntity(courseId));
+
+ /* Test no changes */
+ print("\nTest: no changes");
+ attributesChanged = entityManager.updateAttributes(course);
+ print("Attributes changed (as reported) [NO]: " + (attributesChanged ? "YES" : "NO"));
+ print("Course as persisted:");
+ dumpEntity(entityManager.getEntity(courseId));
+
+ /* Test removal of an attribute */
+ print("\nTest: removing attribute");
+ course = new CourseType();
+ addAttribute("clientId", "1", course);
+ addAttribute("attribute1", "changedvalue1", course);
+ addAttribute("attribute2", "value2", course);
+ addAttribute("attribute3", "value3", course);
+ course.setBusId(courseId);
+ attributesChanged = entityManager.updateAttributes(course);
+ print("Attributes changed (as reported) [YES]: " + (attributesChanged ? "YES" : "NO"));
+ print("Course as persisted:");
+ dumpEntity(entityManager.getEntity(courseId));
+ }
+
/**
* @param args the command line arguments
*/
@@ -85,7 +153,9 @@
identityManager = (IdentityManager) ctx.lookup("cse/IdentityManager");
dependencyManager = (DependencyManager) ctx.lookup("cse/DependencyManager");
- test_entityManager();
+// test_entityManager_createCourse();
+
+ test_entityManager_updateAttributes();
}
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|
|
From: <pka...@us...> - 2009-07-24 11:53:51
|
Revision: 363
http://cse-ip.svn.sourceforge.net/cse-ip/?rev=363&view=rev
Author: pkasprzak
Date: 2009-07-24 11:53:42 +0000 (Fri, 24 Jul 2009)
Log Message:
-----------
* Added EntityManager.updateAttributes() for attribute checks on entities (+ some tests)
* Fixed Attribute -> Entity cascades
Modified Paths:
--------------
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManager.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManagerImpl.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManagerWS.java
trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Attribute.java
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManager.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManager.java 2009-07-23 21:27:47 UTC (rev 362)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManager.java 2009-07-24 11:53:42 UTC (rev 363)
@@ -5,6 +5,7 @@
package de.campussource.cse.core;
+import de.campussource.cse.core.pdm.Entity;
import javax.ejb.Local;
/**
@@ -14,18 +15,19 @@
@Local
public interface EntityManager {
- public int exists(String system, String systemId);
+ public int exists(String system, String systemId);
- public int createAccount(de.campussource.cse.core.cdm.AccountType account);
+ public int createAccount(de.campussource.cse.core.cdm.AccountType account);
- public int createCourse(de.campussource.cse.core.cdm.CourseType course);
+ public int createCourse(de.campussource.cse.core.cdm.CourseType course);
- public int createCategory(de.campussource.cse.core.cdm.CategoryType category);
+ public int createCategory(de.campussource.cse.core.cdm.CategoryType category);
- public int createProxy(String type);
+ public int createProxy(String type);
- public void deleteEntity(int cseId);
+ public boolean updateAttributes(de.campussource.cse.core.cdm.EntityType entity);
- public int test(de.campussource.cse.core.cdm.EntityType entity);
+ public void deleteEntity(int cseId);
+ public Entity getEntity(int cseId);
}
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManagerImpl.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManagerImpl.java 2009-07-23 21:27:47 UTC (rev 362)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManagerImpl.java 2009-07-24 11:53:42 UTC (rev 363)
@@ -8,6 +8,8 @@
import de.campussource.cse.core.pdm.Attribute;
import de.campussource.cse.core.pdm.Entity;
import de.campussource.cse.core.pdm.EntityType;
+import java.util.HashMap;
+import java.util.LinkedList;
import java.util.logging.Logger;
import javax.ejb.EJB;
import javax.ejb.Stateless;
@@ -137,4 +139,64 @@
}
em.remove(entity);
}
+
+ // ----------------------------------------------------------------------------------------------------------------
+ public boolean updateAttributes(de.campussource.cse.core.cdm.EntityType xmlEntity) {
+
+ boolean attributesChanged = false;
+
+ /* Build map of attributes from xml for fast access */
+ HashMap<String, AttributeType> xmlAttributesMap = new HashMap<String, AttributeType>();
+ for (AttributeType xmlAttribute : xmlEntity.getAttribute()) {
+ xmlAttributesMap.put(xmlAttribute.getName(), xmlAttribute);
+ }
+
+ Entity entity = em.find(Entity.class, xmlEntity.getBusId());
+
+ /* Check for changes (value changed, attribute deleted) */
+ LinkedList<Attribute> newAttributes = new LinkedList<Attribute>();
+ HashMap<String, Attribute> attributesMap = new HashMap<String, Attribute>();
+ for (Attribute attribute : entity.getAttributes()) {
+ /* Build hash for later */
+ attributesMap.put(attribute.getName(), attribute);
+
+ if (!xmlAttributesMap.containsKey(attribute.getName())) {
+ /* Attribute has been deleted => delete in persistence + set update = true */
+ em.remove(attribute);
+ attributesChanged = true;
+ continue;
+ }
+ AttributeType xmlAttribute = xmlAttributesMap.get(attribute.getName());
+ newAttributes.add(attribute);
+ if (!attribute.getValue().equals(xmlAttribute.getValue())) {
+ /* Attribute value changed */
+ attribute.setValue(xmlAttribute.getValue());
+ attributesChanged = true;
+ }
+ }
+
+ /* Now check, if there are new attributes on the xml side */
+ for (AttributeType xmlAttribute : xmlEntity.getAttribute()) {
+ if (!attributesMap.containsKey(xmlAttribute.getName())) {
+ /* New attribute */
+ Attribute attribute = new Attribute();
+ attribute.setName(xmlAttribute.getName());
+ attribute.setValue(xmlAttribute.getValue());
+ attribute.setEntity(entity);
+ newAttributes.add(attribute);
+ attributesChanged = true;
+ }
+ }
+
+ /* Set new attribute-list for entity */
+ entity.setAttributes(newAttributes);
+
+ return attributesChanged;
+ }
+
+ // ----------------------------------------------------------------------------------------------------------------
+ public Entity getEntity(int cseId) {
+ Entity entity = em.find(Entity.class, cseId);
+ return entity;
+ }
}
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManagerWS.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManagerWS.java 2009-07-23 21:27:47 UTC (rev 362)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/EntityManagerWS.java 2009-07-24 11:53:42 UTC (rev 363)
@@ -47,9 +47,4 @@
return ejbRef.createProxy(type);
}
- @WebMethod(operationName = "test")
- public int test( @WebParam(name = "entity") EntityType entity) {
- return ejbRef.test(entity);
- }
-
}
Modified: trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Attribute.java
===================================================================
--- trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Attribute.java 2009-07-23 21:27:47 UTC (rev 362)
+++ trunk/sandbox/lsf-adapter-demo/CSECore-ejb/src/java/de/campussource/cse/core/pdm/Attribute.java 2009-07-24 11:53:42 UTC (rev 363)
@@ -1,7 +1,6 @@
package de.campussource.cse.core.pdm;
import java.io.Serializable;
-import javax.persistence.CascadeType;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
@@ -29,7 +28,7 @@
private String value;
/* Parent entity */
- @ManyToOne(cascade = CascadeType.ALL, fetch = FetchType.EAGER)
+ @ManyToOne(fetch = FetchType.EAGER)
@JoinColumn(name = "entityId")
private Entity entity;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|