From: <pka...@us...> - 2009-07-02 13:28:36
|
Revision: 299 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=299&view=rev Author: pkasprzak Date: 2009-07-02 13:28:32 +0000 (Thu, 02 Jul 2009) Log Message: ----------- * Adapted everything (testcases / bpels /wsdls) to use dynamic endpoints, so now the endpoint of the ilias system is taken from config and can be changed during runtime * Cleanup Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCategory.bpel trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCategory.wsdl trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCourse.bpel trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCourse.wsdl trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCategory.bpel trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCategory.wsdl trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCourse.bpel trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCourse.wsdl trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/Login.bpel trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/UpdateCategory.bpel trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/UpdateCategory.wsdl trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/UpdateCourse.bpel trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/UpdateCourse.wsdl trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/faultHandlingMsg.wsdl Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCategory.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCategory.bpel 2009-07-02 12:19:58 UTC (rev 298) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCategory.bpel 2009-07-02 13:28:32 UTC (rev 299) @@ -1,24 +1,25 @@ <?xml version="1.0" encoding="UTF-8"?> -<process - name="AddCategory" - targetNamespace="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCategory" - xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:dt="http://cse.campussource.de/schema/DataTypes" - xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" - xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" - xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment" - xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" - xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions" - xmlns:il_objs="http://cse.campussource.de/schema/ilias/objects" - xmlns:tns="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCategory" - xmlns:fltns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" xmlns:sxed2="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor2"> +<process name="AddCategory" + targetNamespace="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCategory" + xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:dt="http://cse.campussource.de/schema/DataTypes" + xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" + xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" + xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment" + xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" + xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions" + xmlns:il_objs="http://cse.campussource.de/schema/ilias/objects" + xmlns:tns="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCategory" + xmlns:fltns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" + xmlns:sxed2="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor2"> <import namespace="http://enterprise.netbeans.org/bpel/ilias-3.10.5-Wrapper" location="ilias-3.10.5-Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <import namespace="urn:ilUserAdministration" location="ilias-3.10.5-fixed.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <import namespace="http://cse.campussource.de/schema/ilias/objects" location="ilias-objects.xsd" importType="http://www.w3.org/2001/XMLSchema"/> <import namespace="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCategory" location="AddCategory.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> - <import namespace="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" location="faultHandlingMsg.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" location="faultHandlingMsg.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <partnerLinks> <partnerLink name="IliasAdapter" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCategory" partnerLinkType="tns:AddCategory" myRole="AddCategoryPortTypeRole"/> @@ -36,9 +37,9 @@ <variable name="CategoryXML" element="il_objs:Object"/> <!--FaultHandling Variables --> - <variable name="SystemFault" messageType="fltns:systemFaultMessage"/> - <variable name="UnknownFault" messageType="fltns:unknownFaultMessage"/> - <variable name="IliasFault" messageType="fltns:iliasFaultMessage"/> + <variable name="SystemFault" messageType="fltns:systemFaultMessage"/> + <variable name="UnknownFault" messageType="fltns:unknownFaultMessage"/> + <variable name="IliasFault" messageType="fltns:iliasFaultMessage"/> </variables> @@ -98,15 +99,29 @@ <to variable="UnknownFault" part="context"/> </copy> </assign> - <reply name="ReplyWithUnknownFault" partnerLink="IliasAdapter" operation="addCategory" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCategory" portType="tns:AddCategoryPortType" faultName="tns:UnknownFault" variable="UnknownFault"/> + <reply name="ReplyWithUnknownFault" partnerLink="IliasAdapter" operation="addCategory" + xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCategory" + portType="tns:AddCategoryPortType" + faultName="tns:UnknownFault" + variable="UnknownFault"/> </sequence> </catchAll> </faultHandlers> <sequence> - <receive name="start" createInstance="yes" partnerLink="IliasAdapter" operation="addCategory" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCategory" - portType="tns:AddCategoryPortType" - variable="AddCategoryIn"/> + <receive name="start" createInstance="yes" partnerLink="IliasAdapter" operation="addCategory" + xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCategory" + portType="tns:AddCategoryPortType" + variable="AddCategoryIn"/> + + <!-- Set Ilias EPR --> + <assign name="setIliasEPR"> + <copy> + <from>$AddCategoryIn.EPR</from> + <to partnerLink="ILIAS"/> + </copy> + </assign> + <!--Set Data for AddCategory Invoke --> <assign name="prepareAddCategory"> <copy> @@ -147,7 +162,8 @@ </assign> <!--Invoke Ilias with addObject --> - <invoke name="addCategory" partnerLink="ILIAS" operation="addObject" xmlns:tns="urn:ilUserAdministration" + <invoke name="addCategory" partnerLink="ILIAS" operation="addObject" + xmlns:tns="urn:ilUserAdministration" portType="tns:ILIASSoapWebservicePortType" inputVariable="AddObjectIn" outputVariable="AddObjectOut"> @@ -169,9 +185,10 @@ <to>$AddCategoryOut.categoryId</to> </copy> </assign> - <reply name="returnCategoryId" partnerLink="IliasAdapter" operation="addCategory" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCategory" - portType="tns:AddCategoryPortType" - variable="AddCategoryOut"/> + <reply name="returnCategoryId" partnerLink="IliasAdapter" operation="addCategory" + xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCategory" + portType="tns:AddCategoryPortType" + variable="AddCategoryOut"/> </sequence> <else> <!--Handling IliasFault, sending a Faultreply --> @@ -191,7 +208,10 @@ <to variable="IliasFault" part="context"/> </copy> </assign> - <reply name="ReplyWithIliasFault" partnerLink="IliasAdapter" operation="addCategory" portType="tns:AddCategoryPortType" faultName="tns:IliasFault" variable="IliasFault"/> + <reply name="ReplyWithIliasFault" partnerLink="IliasAdapter" operation="addCategory" + portType="tns:AddCategoryPortType" + faultName="tns:IliasFault" + variable="IliasFault"/> </sequence> </else> </if> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCategory.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCategory.wsdl 2009-07-02 12:19:58 UTC (rev 298) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCategory.wsdl 2009-07-02 13:28:32 UTC (rev 299) @@ -5,27 +5,33 @@ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCategory" xmlns:ns="http://cse.campussource.de/schema/DataTypes" - xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:ns0="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg"> + xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" + xmlns:ns0="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" + xmlns:ns1="http://docs.oasis-open.org/wsbpel/2.0/serviceref"> + <import location="faultHandlingMsg.wsdl" namespace="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg"/> + <types> <xsd:schema targetNamespace="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCategory"> - <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="Common/CDDM.xsd"/> + <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="Common/CDDM.xsd"/> + <xsd:import namespace="http://docs.oasis-open.org/wsbpel/2.0/serviceref" schemaLocation="Common/serviceref.xsd"/> </xsd:schema> </types> <message name="AddCategoryRequest"> - <part name="SID" type="xsd:string"/> - <part name="category" type="ns:categoryType"/> + <part name="SID" type="xsd:string"/> + <part name="category" type="ns:categoryType"/> + <part name="EPR" element="ns1:service-ref"/> </message> <message name="AddCategoryResponse"> <part name="categoryId" type="xsd:int"/> </message> <portType name="AddCategoryPortType"> <operation name="addCategory"> - <input name="input1" message="tns:AddCategoryRequest"/> - <output name="output1" message="tns:AddCategoryResponse"/> - <fault name="SystemFault" message="ns0:systemFaultMessage"/> - <fault name="IliasFault" message="ns0:iliasFaultMessage"/> - <fault name="UnknownFault" message="ns0:unknownFaultMessage"/> + <input name="input1" message="tns:AddCategoryRequest"/> + <output name="output1" message="tns:AddCategoryResponse"/> + <fault name="SystemFault" message="ns0:systemFaultMessage"/> + <fault name="IliasFault" message="ns0:iliasFaultMessage"/> + <fault name="UnknownFault" message="ns0:unknownFaultMessage"/> </operation> </portType> <plnk:partnerLinkType name="AddCategory"> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCourse.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCourse.bpel 2009-07-02 12:19:58 UTC (rev 298) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCourse.bpel 2009-07-02 13:28:32 UTC (rev 299) @@ -1,28 +1,27 @@ <?xml version="1.0" encoding="UTF-8"?> -<process - name="AddCourse" - targetNamespace="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCourse" - xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" - xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" - xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment" - xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" - xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions" - xmlns:ns0="http://docs.oasis-open.org/wsbpel/2.0/process/executable" - xmlns:il_crs="http://cse.campussource.de/schema/ilias/course" - xmlns:il_objs="http://cse.campussource.de/schema/ilias/objects" - xmlns:fltns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" - xmlns:dt="http://cse.campussource.de/schema/DataTypes" - xmlns:tns="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCourse" - xmlns:sxed2="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor2"> +<process name="AddCourse" + targetNamespace="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCourse" + xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" + xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" + xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment" + xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" + xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions" + xmlns:ns0="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:il_crs="http://cse.campussource.de/schema/ilias/course" + xmlns:il_objs="http://cse.campussource.de/schema/ilias/objects" + xmlns:fltns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" + xmlns:dt="http://cse.campussource.de/schema/DataTypes" + xmlns:tns="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCourse" + xmlns:sxed2="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor2"> <import namespace="http://enterprise.netbeans.org/bpel/ilias-3.10.5-Wrapper" location="ilias-3.10.5-Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <import namespace="urn:ilUserAdministration" location="ilias-3.10.5-fixed.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <import namespace="http://cse.campussource.de/schema/ilias/course" location="ilias-course.xsd" importType="http://www.w3.org/2001/XMLSchema"/> <import namespace="http://cse.campussource.de/schema/ilias/objects" location="ilias-objects.xsd" importType="http://www.w3.org/2001/XMLSchema"/> <import namespace="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" location="AddCourse.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> - <import namespace="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" location="faultHandlingMsg.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" location="faultHandlingMsg.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <partnerLinks> <partnerLink name="IliasAdapter" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" partnerLinkType="tns:AddCourse" @@ -93,7 +92,11 @@ <to variable="SystemFault" part="context"/> </copy> </assign> - <reply name="ReplyWithSystemFault" partnerLink="IliasAdapter" operation="addCourse" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" portType="tns:AddCoursePortType" faultName="tns:SystemFault" variable="SystemFault"/> + <reply name="ReplyWithSystemFault" partnerLink="IliasAdapter" operation="addCourse" + xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" + portType="tns:AddCoursePortType" + faultName="tns:SystemFault" + variable="SystemFault"/> </sequence> </catch> @@ -121,23 +124,35 @@ <to variable="UnknownFault" part="process"/> </copy> </assign> - <reply name="ReplyWithUnknownFault" partnerLink="IliasAdapter" operation="addCourse" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" portType="tns:AddCoursePortType" faultName="tns:UnknownFault" variable="UnknownFault"/> + <reply name="ReplyWithUnknownFault" partnerLink="IliasAdapter" operation="addCourse" + xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" + portType="tns:AddCoursePortType" + faultName="tns:UnknownFault" + variable="UnknownFault"/> </sequence> </catchAll> </faultHandlers> <sequence> - <receive name="start" createInstance="yes" partnerLink="IliasAdapter" operation="addCourse" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" - portType="tns:AddCoursePortType" - variable="AddCourseIn"/> + <receive name="start" createInstance="yes" partnerLink="IliasAdapter" operation="addCourse" + xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" + portType="tns:AddCoursePortType" + variable="AddCourseIn"/> <assign name="init"> <copy> <from>0</from> <to variable="CategoryRefId"/> </copy> </assign> - + <!-- Set Ilias EPR --> + <assign name="setIliasEPR"> + <copy> + <from>$AddCourseIn.EPR</from> + <to partnerLink="ILIAS"/> + </copy> + </assign> + <!-- Prepeare search by title --> <assign name="prepareGetObjectsByTitle"> <copy> @@ -261,9 +276,9 @@ </assign> <invoke name="addCategory" partnerLink="ILIAS" operation="addObject" xmlns:tns="urn:ilUserAdministration" - portType="tns:ILIASSoapWebservicePortType" - inputVariable="AddObjectIn" - outputVariable="AddObjectOut"> + portType="tns:ILIASSoapWebservicePortType" + inputVariable="AddObjectIn" + outputVariable="AddObjectOut"> <sxt:trace> <sxt:log level="info" location="onStart"> <from>concat('*** Adding Category: ', $AddObjectIn.object_xml)</from> @@ -356,9 +371,9 @@ </assign> <invoke name="createLecture" partnerLink="ILIAS" operation="addCourse" xmlns:tns="urn:ilUserAdministration" - portType="tns:ILIASSoapWebservicePortType" - inputVariable="IliasAddCourseIn" - outputVariable="IliasAddCourseOut"> + portType="tns:ILIASSoapWebservicePortType" + inputVariable="IliasAddCourseIn" + outputVariable="IliasAddCourseOut"> <sxt:trace> <sxt:log level="info" location="onStart"> <from>concat('*** Adding Course (refId: ', $IliasAddCourseIn.target_id, ', xml: ', $IliasAddCourseIn.crs_xml, ')')</from> @@ -380,9 +395,10 @@ <to>$AddCourseOut.courseId</to> </copy> </assign> - <reply name="returnCourseId" partnerLink="IliasAdapter" operation="addCourse" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" - portType="tns:AddCoursePortType" - variable="AddCourseOut"/> + <reply name="returnCourseId" partnerLink="IliasAdapter" operation="addCourse" + xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" + portType="tns:AddCoursePortType" + variable="AddCourseOut"/> </sequence> <else> <sequence> @@ -409,7 +425,11 @@ </copy> </assign> - <reply name="ReplyWithIliasFault" partnerLink="IliasAdapter" operation="addCourse" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" portType="tns:AddCoursePortType" faultName="tns:IliasFault" variable="IliasFault"/> + <reply name="ReplyWithIliasFault" partnerLink="IliasAdapter" operation="addCourse" + xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" + portType="tns:AddCoursePortType" + faultName="tns:IliasFault" + variable="IliasFault"/> </sequence> </else> </if> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCourse.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCourse.wsdl 2009-07-02 12:19:58 UTC (rev 298) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCourse.wsdl 2009-07-02 13:28:32 UTC (rev 299) @@ -5,27 +5,33 @@ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" xmlns:ns="http://cse.campussource.de/schema/DataTypes" - xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:ns0="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg"> + xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" + xmlns:ns0="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" + xmlns:ns1="http://docs.oasis-open.org/wsbpel/2.0/serviceref"> + <import location="faultHandlingMsg.wsdl" namespace="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg"/> + <types> <xsd:schema targetNamespace="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse"> - <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="Common/CDDM.xsd"/> + <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="Common/CDDM.xsd"/> + <xsd:import namespace="http://docs.oasis-open.org/wsbpel/2.0/serviceref" schemaLocation="Common/serviceref.xsd"/> </xsd:schema> </types> <message name="AddCourseRequest"> <part name="SID" type="xsd:string"/> <part name="course" type="ns:courseType"/> + <part name="EPR" element="ns1:service-ref"/> </message> <message name="AddCourseResponse"> <part name="courseId" type="xsd:int"/> </message> <portType name="AddCoursePortType"> <operation name="addCourse"> - <input name="input1" message="tns:AddCourseRequest"/> - <output name="output1" message="tns:AddCourseResponse"/> - <fault name="SystemFault" message="ns0:systemFaultMessage"/> - <fault name="IliasFault" message="ns0:iliasFaultMessage"/> - <fault name="UnknownFault" message="ns0:unknownFaultMessage"/> + <input name="input1" message="tns:AddCourseRequest"/> + <output name="output1" message="tns:AddCourseResponse"/> + <fault name="SystemFault" message="ns0:systemFaultMessage"/> + <fault name="IliasFault" message="ns0:iliasFaultMessage"/> + <fault name="UnknownFault" message="ns0:unknownFaultMessage"/> </operation> </portType> <plnk:partnerLinkType name="AddCourse"> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCategory.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCategory.bpel 2009-07-02 12:19:58 UTC (rev 298) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCategory.bpel 2009-07-02 13:28:32 UTC (rev 299) @@ -1,30 +1,31 @@ <?xml version="1.0" encoding="UTF-8"?> -<process - name="DeleteCategory" - targetNamespace="http://cse.campussource.de/bpel/ILIASClientAdapter/DeleteCategory" - xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" - xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" - xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment" - xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" - xmlns:tns="http://cse.campussource.de/bpel/ILIASClientAdapter/DeleteCategory" - xmlns:ns0="http://docs.oasis-open.org/wsbpel/2.0/process/executable" - xmlns:ns1="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCategory" - xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions" - xmlns:fltns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" - xmlns:sxed2="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor2"> +<process name="DeleteCategory" + targetNamespace="http://cse.campussource.de/bpel/ILIASClientAdapter/DeleteCategory" + xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" + xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" + xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment" + xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" + xmlns:tns="http://cse.campussource.de/bpel/ILIASClientAdapter/DeleteCategory" + xmlns:ns0="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:ns1="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCategory" + xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions" + xmlns:fltns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" + xmlns:sxed2="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor2"> <import namespace="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCategory" location="DeleteCategory.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <import namespace="http://enterprise.netbeans.org/bpel/ilias-3.10.5-Wrapper" location="ilias-3.10.5-Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <import namespace="urn:ilUserAdministration" location="ilias-3.10.5-fixed.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> - <import namespace="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" location="faultHandlingMsg.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" location="faultHandlingMsg.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <partnerLinks> <partnerLink name="ILIAS" xmlns:tns="http://enterprise.netbeans.org/bpel/ilias-3.10.5-Wrapper" partnerLinkType="tns:ILIASSoapWebserviceLinkType" partnerRole="ILIASSoapWebserviceRole"/> <partnerLink name="IliasAdapter" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCategory" partnerLinkType="tns:DeleteCategory" myRole="DeleteCategoryPortTypeRole"/> </partnerLinks> + <variables> <variable name="DeleteObjectOut" xmlns:tns="urn:ilUserAdministration" messageType="tns:deleteObjectResponse"/> @@ -34,10 +35,11 @@ <!--FaultHandling Variables --> - <variable name="SystemFault" messageType="fltns:systemFaultMessage"/> - <variable name="UnknownFault" messageType="fltns:unknownFaultMessage"/> - <variable name="IliasFault" messageType="fltns:iliasFaultMessage"/> + <variable name="SystemFault" messageType="fltns:systemFaultMessage"/> + <variable name="UnknownFault" messageType="fltns:unknownFaultMessage"/> + <variable name="IliasFault" messageType="fltns:iliasFaultMessage"/> </variables> + <sequence> <scope name="DeleteCategoryScope" xmlns:tns="urn:ilUserAdministration"> <faultHandlers> @@ -97,7 +99,10 @@ <to variable="UnknownFault" part="process"/> </copy> </assign> - <reply name="ReplyWithUnknownFault" partnerLink="IliasAdapter" operation="deleteCategory" portType="ns1:DeleteCategoryPortType" faultName="ns1:UnknownFault" variable="UnknownFault"/> + <reply name="ReplyWithUnknownFault" partnerLink="IliasAdapter" operation="deleteCategory" + portType="ns1:DeleteCategoryPortType" + faultName="ns1:UnknownFault" + variable="UnknownFault"/> </sequence> </catchAll> </faultHandlers> @@ -108,6 +113,15 @@ xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCategory" portType="tns:DeleteCategoryPortType" variable="DeleteCategoryIn"/> + + <!-- Set Ilias EPR --> + <assign name="setIliasEPR"> + <copy> + <from>$DeleteCategoryIn.EPR</from> + <to partnerLink="ILIAS"/> + </copy> + </assign> + <!--Fake refId TODO --> <assign name="prepareForDeleteCategory"> <copy> @@ -170,9 +184,10 @@ <to variable="IliasFault" part="process"/> </copy> </assign> - <reply name="replyWithIliasFault" partnerLink="IliasAdapter" operation="deleteCategory" - portType="ns1:DeleteCategoryPortType" - faultName="ns1:IliasFault" variable="IliasFault"/> + <reply name="replyWithIliasFault" partnerLink="IliasAdapter" operation="deleteCategory" + portType="ns1:DeleteCategoryPortType" + faultName="ns1:IliasFault" + variable="IliasFault"/> </sequence> </else> </if> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCategory.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCategory.wsdl 2009-07-02 12:19:58 UTC (rev 298) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCategory.wsdl 2009-07-02 13:28:32 UTC (rev 299) @@ -5,36 +5,26 @@ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCategory" xmlns:ns="http://cse.campussource.de/schema/DataTypes" - xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:ns0="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg"> + xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" + xmlns:ns0="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" + xmlns:ns1="http://docs.oasis-open.org/wsbpel/2.0/serviceref"> + <import location="faultHandlingMsg.wsdl" namespace="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg"/> + <types> <xsd:schema targetNamespace="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCategory"> - <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="Common/CDDM.xsd"/> + <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="Common/CDDM.xsd"/> + <xsd:import namespace="http://docs.oasis-open.org/wsbpel/2.0/serviceref" schemaLocation="Common/serviceref.xsd"/> </xsd:schema> </types> <message name="deleteCategoryRequest"> <part name="SID" type="xsd:string"/> <part name="category" type="ns:categoryType"/> + <part name="EPR" element="ns1:service-ref"/> </message> <message name="deleteCategoryResponse"> <part name="success" type="xsd:boolean"/> </message> -<!-- - <message name="faultMessage"> - <part name="cause" type="xsd:string"/> - </message> ---> -<!-- - <message name="iliasFaultMessage"> - <part name="cause" type="xsd:string"/> - </message> - <message name="unknownFaultMessage"> - <part name="cause" type="xsd:string"/> - </message> - <message name="systemFaultMessage"> - <part name="cause" type="xsd:string"/> - </message> ---> <portType name="DeleteCategoryPortType"> <operation name="deleteCategory"> <input name="input1" message="tns:deleteCategoryRequest"/> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCourse.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCourse.bpel 2009-07-02 12:19:58 UTC (rev 298) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCourse.bpel 2009-07-02 13:28:32 UTC (rev 299) @@ -1,28 +1,30 @@ <?xml version="1.0" encoding="UTF-8"?> -<process - name="DeleteCourse" - targetNamespace="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCourse" - xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" - xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" - xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment" - xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" - xmlns:tns="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCourse" - xmlns:ns0="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCourse" - xmlns:fltns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" - xmlns:sxed2="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor2" - xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions" > - <import namespace="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCourse" location="DeleteCourse.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> - <import namespace="http://enterprise.netbeans.org/bpel/ilias-3.10.5-Wrapper" location="ilias-3.10.5-Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> - <import namespace="urn:ilUserAdministration" location="ilias-3.10.5-fixed.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> - <import namespace="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" location="faultHandlingMsg.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> +<process name="DeleteCourse" + targetNamespace="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCourse" + xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" + xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" + xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment" + xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" + xmlns:tns="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCourse" + xmlns:ns0="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCourse" + xmlns:fltns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" + xmlns:sxed2="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor2" + xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions" > + + <import namespace="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCourse" location="DeleteCourse.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://enterprise.netbeans.org/bpel/ilias-3.10.5-Wrapper" location="ilias-3.10.5-Wrapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="urn:ilUserAdministration" location="ilias-3.10.5-fixed.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" location="faultHandlingMsg.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <partnerLinks> <partnerLink name="ILIAS" xmlns:tns="http://enterprise.netbeans.org/bpel/ilias-3.10.5-Wrapper" partnerLinkType="tns:ILIASSoapWebserviceLinkType" partnerRole="ILIASSoapWebserviceRole"/> <partnerLink name="IliasAdapter" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCourse" partnerLinkType="tns:DeleteCourse" myRole="DeleteCoursePortTypeRole"/> </partnerLinks> + <variables> <variable name="DeleteCourseOut" xmlns:tns="urn:ilUserAdministration" messageType="tns:deleteCourseResponse"/> <variable name="DeleteCourseIn" xmlns:tns="urn:ilUserAdministration" messageType="tns:deleteCourseRequest"/> @@ -31,11 +33,12 @@ <!--FaultHandling Variables --> - <variable name="SystemFault" messageType="fltns:systemFaultMessage"/> - <variable name="UnknownFault" messageType="fltns:unknownFaultMessage"/> - <variable name="IliasFault" messageType="fltns:iliasFaultMessage"/> + <variable name="SystemFault" messageType="fltns:systemFaultMessage"/> + <variable name="UnknownFault" messageType="fltns:unknownFaultMessage"/> + <variable name="IliasFault" messageType="fltns:iliasFaultMessage"/> </variables> + <sequence> <scope name="deleteCourseScope"> <faultHandlers> @@ -67,7 +70,10 @@ <to variable="SystemFault" part="process"/> </copy> </assign> - <reply name="ReplyWithSystemFault" partnerLink="IliasAdapter" operation="deleteCourse" portType="ns0:DeleteCoursePortType" faultName="ns0:SystemFault" variable="SystemFault"/> + <reply name="ReplyWithSystemFault" partnerLink="IliasAdapter" operation="deleteCourse" + portType="ns0:DeleteCoursePortType" + faultName="ns0:SystemFault" + variable="SystemFault"/> </sequence> </catch> @@ -99,7 +105,10 @@ <to variable="UnknownFault" part="process"/> </copy> </assign> - <reply name="ReplyWithUnknownFault" partnerLink="IliasAdapter" operation="deleteCourse" portType="ns0:DeleteCoursePortType" faultName="ns0:UnknownFault" variable="UnknownFault"/> + <reply name="ReplyWithUnknownFault" partnerLink="IliasAdapter" operation="deleteCourse" + portType="ns0:DeleteCoursePortType" + faultName="ns0:UnknownFault" + variable="UnknownFault"/> </sequence> </catchAll> </faultHandlers> @@ -109,6 +118,15 @@ xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCourse" portType="tns:DeleteCoursePortType" variable="DeleteCourseOperationIn"/> + + <!-- Set Ilias EPR --> + <assign name="setIliasEPR"> + <copy> + <from>$DeleteCourseOperationIn.EPR</from> + <to partnerLink="ILIAS"/> + </copy> + </assign> + <!-- TODO set the course Id--> <assign name="prepareForDeleteCourse"> <copy> @@ -125,6 +143,7 @@ portType="tns:ILIASSoapWebservicePortType" inputVariable="DeleteCourseIn" outputVariable="DeleteCourseOut"/> + <!--Send a normal Reply if DeleteCourse succeed, otherwise reply with an Ilias Fault --> <if name="IfDeleteCourseSucceed"> <condition>$DeleteCourseOut.success</condition> @@ -167,7 +186,10 @@ <to variable="IliasFault" part="process"/> </copy> </assign> - <reply name="ReplyWithIliasFault" partnerLink="IliasAdapter" operation="deleteCourse" portType="ns0:DeleteCoursePortType" faultName="ns0:IliasFault" variable="IliasFault"/> + <reply name="ReplyWithIliasFault" partnerLink="IliasAdapter" operation="deleteCourse" + portType="ns0:DeleteCoursePortType" + faultName="ns0:IliasFault" + variable="IliasFault"/> </sequence> </else> </if> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCourse.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCourse.wsdl 2009-07-02 12:19:58 UTC (rev 298) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCourse.wsdl 2009-07-02 13:28:32 UTC (rev 299) @@ -5,27 +5,33 @@ xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCourse" xmlns:ns="http://cse.campussource.de/schema/DataTypes" - xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:ns0="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg"> + xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" + xmlns:ns0="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" + xmlns:ns1="http://docs.oasis-open.org/wsbpel/2.0/serviceref"> + + <import location="faultHandlingMsg.wsdl" namespace="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg"/> <types> <xsd:schema targetNamespace="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCourse"> - <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="Common/CDDM.xsd"/> + <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="Common/CDDM.xsd"/> + <xsd:import namespace="http://docs.oasis-open.org/wsbpel/2.0/serviceref" schemaLocation="Common/serviceref.xsd"/> </xsd:schema> </types> <message name="DeleteCourseRequest"> - <part name="SID" type="xsd:string"/> - <part name="course" type="ns:courseType"/> + <part name="SID" type="xsd:string"/> + <part name="course" type="ns:courseType"/> + <part name="EPR" element="ns1:service-ref"/> </message> <message name="DeleteCourseResponse"> - <part name="success" type="xsd:boolean"/> + <part name="success" type="xsd:boolean"/> </message> <portType name="DeleteCoursePortType"> <operation name="deleteCourse"> - <input name="input1" message="tns:DeleteCourseRequest"/> - <output name="output1" message="tns:DeleteCourseResponse"/> - <fault name="SystemFault" message="ns0:systemFaultMessage"/> - <fault name="UnknownFault" message="ns0:unknownFaultMessage"/> - <fault name="IliasFault" message="ns0:iliasFaultMessage"/> + <input name="input1" message="tns:DeleteCourseRequest"/> + <output name="output1" message="tns:DeleteCourseResponse"/> + <fault name="SystemFault" message="ns0:systemFaultMessage"/> + <fault name="UnknownFault" message="ns0:unknownFaultMessage"/> + <fault name="IliasFault" message="ns0:iliasFaultMessage"/> </operation> </portType> <plnk:partnerLinkType name="DeleteCourse"> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/Login.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/Login.bpel 2009-07-02 12:19:58 UTC (rev 298) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/Login.bpel 2009-07-02 13:28:32 UTC (rev 299) @@ -125,7 +125,6 @@ <from>$LoginIn.EPR</from> <to partnerLink="ILIAS"/> </copy> - </assign> <invoke name="login" partnerLink="ILIAS" operation="login" xmlns:tns="urn:ilUserAdministration" Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel 2009-07-02 12:19:58 UTC (rev 298) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel 2009-07-02 13:28:32 UTC (rev 299) @@ -272,6 +272,10 @@ <from>$SID</from> <to>$AddCourseIn.SID</to> </copy> + <copy> + <from>$IliasEPR</from> + <to>$AddCourseIn.EPR</to> + </copy> </assign> <invoke name="addCourse" partnerLink="AddCourse" operation="addCourse" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" @@ -286,9 +290,9 @@ </assign> <assign name="addCourseSuccess"> <copy> - <from>$STATUS_SUCCESS</from> - <to>$ReplyStatus</to> - </copy> + <from>$STATUS_SUCCESS</from> + <to>$ReplyStatus</to> + </copy> </assign> </sequence> <elseif> @@ -309,6 +313,10 @@ <from>$SID</from> <to>$UpdateCourseIn.SID</to> </copy> + <copy> + <from>$IliasEPR</from> + <to>$UpdateCourseIn.EPR</to> + </copy> </assign> <invoke name="updateCourse" partnerLink="UpdateCourse" operation="updateCourse" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/UpdateCourse" @@ -317,9 +325,9 @@ outputVariable="UpdateCourseOut"/> <assign name="updateCourseSuccess"> <copy> - <from>$STATUS_SUCCESS</from> - <to>$ReplyStatus</to> - </copy> + <from>$STATUS_SUCCESS</from> + <to>$ReplyStatus</to> + </copy> </assign> </sequence> </elseif> @@ -341,6 +349,10 @@ <from>$SID</from> <to>$DeleteCourseIn.SID</to> </copy> + <copy> + <from>$IliasEPR</from> + <to>$DeleteCourseIn.EPR</to> + </copy> </assign> <invoke name="deleteCourse" partnerLink="DeleteCourse" operation="deleteCourse" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCourse" @@ -355,7 +367,6 @@ </copy> </assign> - </sequence> </elseif> <else> @@ -365,9 +376,9 @@ <!--Set Fault Data --> <assign name="PrepareForThrowFaultOperationNotFounded"> <sxt:trace> - ... [truncated message content] |