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: <ale...@us...> - 2009-06-18 10:51:25
|
Revision: 262 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=262&view=rev Author: alexloewen Date: 2009-06-18 10:50:10 +0000 (Thu, 18 Jun 2009) Log Message: ----------- added some fault handling to deleteCategory Modified Paths: -------------- 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/OutboundClientAdapter.bpel Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCategory.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCategory.bpel 2009-06-16 19:53:37 UTC (rev 261) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCategory.bpel 2009-06-18 10:50:10 UTC (rev 262) @@ -8,7 +8,7 @@ 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/DeleteCategory"> + xmlns:tns="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCategory" xmlns:ns0="http://docs.oasis-open.org/wsbpel/2.0/process/executable" xmlns:ns1="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCategory"> <import namespace="http://j2ee.netbeans.org/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/"/> @@ -21,26 +21,98 @@ <variable name="DeleteObjectIn" xmlns:tns="urn:ilUserAdministration" messageType="tns:deleteObjectRequest"/> <variable name="DeleteCategoryOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCategory" messageType="tns:deleteCategoryResponse"/> <variable name="DeleteCategoryIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCategory" messageType="tns:deleteCategoryRequest"/> + <variable name="DeleteCategoryFault" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCategory" messageType="tns:deleteCategoryRequest" /> </variables> <sequence> - <receive name="start" createInstance="yes" partnerLink="IliasAdapter" operation="deleteCategory" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCategory" portType="tns:DeleteCategoryPortType" variable="DeleteCategoryIn"/> - <assign name="prepareForDeleteCategory"> - <copy> - <from variable="DeleteCategoryIn" part="SID"/> - <to variable="DeleteObjectIn" part="sid"/> - </copy> - <copy> - <from>46</from> - <to variable="DeleteObjectIn" part="reference_id"/> - </copy> - </assign> - <invoke name="DeleteCategoryInvoke" partnerLink="ILIAS" operation="deleteObject" xmlns:tns="urn:ilUserAdministration" portType="tns:ILIASSoapWebservicePortType" inputVariable="DeleteObjectIn" outputVariable="DeleteObjectOut"/> - <assign name="PrepareReply"> - <copy> - <from variable="DeleteObjectOut" part="success"/> - <to variable="DeleteCategoryOut" part="success"/> - </copy> - </assign> - <reply name="return" partnerLink="IliasAdapter" operation="deleteCategory" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCategory" portType="tns:DeleteCategoryPortType" variable="DeleteCategoryOut"/> + <scope name="DeleteCategoryScope" xmlns:tns="urn:ilUserAdministration"> + <faultHandlers> + <catch faultName="sxeh:systemFault"> + <sequence > + <assign name="PrepareForUnsuccessfulReply"> + <sxt:trace> + <sxt:log level="info" location="onStart"> + <from>concat('*** System Fault was handled: ', ' ')</from> + </sxt:log> + </sxt:trace> + <copy> + <from>false()</from> + <to variable="DeleteCategoryOut" part="success"/> + </copy> + <copy> + <from variable="DeleteCategoryIn"/> + <to variable="DeleteCategoryFault"/> + </copy> + </assign> + <throw faultName="ns1:deleteCategoryFailedSystemFault"/> + </sequence> + </catch> + <catchAll> + <sequence> + <assign name="PrepareForUnsuccessfulReplyOtherFaults"> + <sxt:trace> + <sxt:log level="info" location="onStart"> + <from>concat('*** Some other Fault was handled by DeleteCategory.Bpel: ', ' ')</from> + </sxt:log> + </sxt:trace> + <copy> + <from>false()</from> + <to variable="DeleteCategoryOut" part="success"/> + </copy> + <copy> + <from variable="DeleteCategoryIn"/> + <to variable="DeleteCategoryFault"/> + </copy> + </assign> + <throw faultName="ns1:deleteCategoryFailedUnknownFault" faultVariable="DeleteCategoryFault"/> + </sequence> + </catchAll> + </faultHandlers> + + <sequence> + + <receive name="start" createInstance="yes" partnerLink="IliasAdapter" operation="deleteCategory" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCategory" portType="tns:DeleteCategoryPortType" variable="DeleteCategoryIn"/> + <assign name="prepareForDeleteCategory"> + <copy> + <from variable="DeleteCategoryIn" part="SID"/> + <to variable="DeleteObjectIn" part="sid"/> + </copy> + <copy> + <from>207</from> + <to variable="DeleteObjectIn" part="reference_id"/> + </copy> + </assign> + + <invoke name="DeleteCategoryInvoke" partnerLink="ILIAS" operation="deleteObject" xmlns:tns="urn:ilUserAdministration" portType="tns:ILIASSoapWebservicePortType" inputVariable="DeleteObjectIn" outputVariable="DeleteObjectOut"> + </invoke> + <if name="IfDeleteObjectSucceed"> + <condition>$DeleteObjectOut.success</condition> + <sequence name="Sequence1"> + <assign name="PrepareReply"> + <sxt:trace> + <sxt:log level="info" location="onStart"> + <from>concat('*** DeleteCategoryInvoke was succesfull ', '')</from> + </sxt:log> + </sxt:trace> + <copy> + <from variable="DeleteObjectOut" part="success"/> + <to variable="DeleteCategoryOut" part="success"/> + </copy> + </assign> + <reply name="return" partnerLink="IliasAdapter" operation="deleteCategory" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCategory" portType="tns:DeleteCategoryPortType" variable="DeleteCategoryOut"/> + </sequence> + <else> + <sequence name="Sequence2"> + <assign name="PrepareForFaultFaildeByIlias"> + <copy> + <from variable="DeleteCategoryIn"/> + <to variable="DeleteCategoryFault"/> + </copy> + </assign> + <throw faultName="ns1:deleteCategoryFailedByIlias" faultVariable="DeleteCategoryFault"/> + </sequence> + </else> + </if> + </sequence> + </scope> </sequence> </process> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCategory.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCategory.wsdl 2009-06-16 19:53:37 UTC (rev 261) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/DeleteCategory.wsdl 2009-06-18 10:50:10 UTC (rev 262) @@ -19,6 +19,9 @@ <operation name="deleteCategory"> <input name="input1" message="tns:deleteCategoryRequest"/> <output name="output1" message="tns:deleteCategoryResponse"/> + <fault name="deleteCategoryFailedByIlias" message="tns:deleteCategoryRequest"/> + <fault name="deleteCategoryFailedSystemFault" message="tns:deleteCategoryRequest"/> + <fault name="deleteCategoryFailedUnknownFault" message="tns:deleteCategoryRequest"/> </operation> </portType> <plnk:partnerLinkType name="DeleteCategory"> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel 2009-06-16 19:53:37 UTC (rev 261) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel 2009-06-18 10:50:10 UTC (rev 262) @@ -15,7 +15,7 @@ xmlns:il_crs="http://cse.campussource.de/schema/ilias/course" xmlns:il_objs="http://cse.campussource.de/schema/ilias/objects" xmlns:dt="http://cse.campussource.de/schema/DataTypes" - xmlns:tns="http://cse.campussource.de/bpel/ILIASClientAdapter/OutboundClientAdapter"> + xmlns:tns="http://cse.campussource.de/bpel/ILIASClientAdapter/OutboundClientAdapter" xmlns:ns1="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCategory"> <import namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" location="Common/WS-Addressing.xsd" importType="http://www.w3.org/2001/XMLSchema"/> <import namespace="http://cse.campussource.de/schema/DataTypes" location="Common/CDDM.xsd" importType="http://www.w3.org/2001/XMLSchema"/> @@ -92,147 +92,97 @@ <!-- For testing --> <variable name="ReplyXML" type="xsd:string"/> - + <!-- For Fault Handling --> + <variable name="DeleteCategoryFault" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCategory" messageType="tns:deleteCategoryRequest" /> </variables> <sequence> - <pick name="processObjects" createInstance="yes"> - <onMessage partnerLink="ILIASAdapter" operation="processCourse" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" + <scope name="MainScope"> + <pick name="processObjects" createInstance="yes" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter"> + <onMessage partnerLink="ILIASAdapter" operation="processCourse" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" portType="tns:ILIASClientAdapterPortType" variable="ProcessCourseOperationIn"> - <sequence> - - <assign name="prepareLoginForCourses"> - <copy> - <from>'dummy'</from> - <to>$LoginIn.dummy</to> - </copy> - </assign> - - <invoke name="loginForCourses" partnerLink="Login" operation="login" + <sequence> + <assign name="prepareLoginForCourses"> + <copy> + <from>'dummy'</from> + <to>$LoginIn.dummy</to> + </copy> + </assign> + <invoke name="loginForCourses" partnerLink="Login" operation="login" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/Login" portType="tns:LoginPortType" inputVariable="LoginIn" outputVariable="LoginOut"/> - <assign name="initCourseProcessing"> - <copy> - <from variable="LoginOut" part="SID"/> - <to variable="SID"/> - </copy> - <copy> - <from>$ProcessCourseOperationIn.courseMessage/dt:course/dt:busId</from> - <to>$ObjectBusId</to> - </copy> - <copy ignoreMissingFromData="yes"> - <from>$ProcessCourseOperationIn.courseMessage/dt:course/dt:attribute[dt:name = 'clientId']/dt:value</from> - <to>$ObjectClientId</to> - </copy> - <!-- Init constants (better alternatives?) --> - <copy> - <from>'SUCCESS'</from> - <to>$STATUS_SUCCESS</to> - </copy> - <copy> - <from>'FAILURE'</from> - <to>$STATUS_FAILURE</to> - </copy> - </assign> - - <!-- Branch on different events --> - <if> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <from>concat('*** Branching on course-event: ', $ProcessCourseOperationIn.courseMessage/dt:event)</from> - </sxt:log> - </sxt:trace> - - <!-- Event == "CREATE" --> - <condition>$ProcessCourseOperationIn.courseMessage/dt:event = 'CREATE'</condition> - <sequence> - <assign name="prepareAddCourse"> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <from>concat('*** addCourse()', '')</from> - </sxt:log> - </sxt:trace> - <copy> - <from>$ProcessCourseOperationIn.courseMessage/dt:course</from> - <to>$AddCourseIn.course</to> - </copy> - <copy> - <from>$SID</from> - <to>$AddCourseIn.SID</to> - </copy> - </assign> - - <invoke name="addCourse" partnerLink="AddCourse" operation="addCourse" - xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/AddCourse" - portType="tns:AddCoursePortType" - inputVariable="AddCourseIn" - outputVariable="AddCourseOut"/> - - <assign name="saveCourseId"> - <copy> - <from>string($AddCourseOut.courseId)</from> - <to>$ObjectClientId</to> - </copy> - </assign> - - <if> - <condition>$AddCourseOut.courseId != 0</condition> - <assign name="addCourseSuccess"> - <copy> - <from>$STATUS_SUCCESS</from> - <to>$ReplyStatus</to> - </copy> - </assign> - <else> - <assign name="addCourseFailure"> - <copy> - <from>$STATUS_FAILURE</from> - <to>$ReplyStatus</to> - </copy> - </assign> - </else> - </if> - - </sequence> - <elseif> - <!-- Event == "UPDATE" --> - <condition>$ProcessCourseOperationIn.courseMessage/dt:event = 'UPDATE'</condition> + <assign name="initCourseProcessing"> + <copy> + <from variable="LoginOut" part="SID"/> + <to variable="SID"/> + </copy> + <copy> + <from>$ProcessCourseOperationIn.courseMessage/dt:course/dt:busId</from> + <to>$ObjectBusId</to> + </copy> + <copy ignoreMissingFromData="yes"> + <from>$ProcessCourseOperationIn.courseMessage/dt:course/dt:attribute[dt:name = 'clientId']/dt:value</from> + <to>$ObjectClientId</to> + </copy> + <!-- Init constants (better alternatives?) --> + <copy> + <from>'SUCCESS'</from> + <to>$STATUS_SUCCESS</to> + </copy> + <copy> + <from>'FAILURE'</from> + <to>$STATUS_FAILURE</to> + </copy> + </assign> + <!-- Branch on different events --> + <if> + <sxt:trace> + <sxt:log level="info" location="onStart"> + <from>concat('*** Branching on course-event: ', $ProcessCourseOperationIn.courseMessage/dt:event)</from> + </sxt:log> + </sxt:trace> + <!-- Event == "CREATE" --> + <condition>$ProcessCourseOperationIn.courseMessage/dt:event = 'CREATE'</condition> <sequence> - <assign name="prepareUpdateCourse"> + <assign name="prepareAddCourse"> <sxt:trace> <sxt:log level="info" location="onStart"> - <from>concat('*** updateCourse()', '')</from> + <from>concat('*** addCourse()', '')</from> </sxt:log> </sxt:trace> <copy> <from>$ProcessCourseOperationIn.courseMessage/dt:course</from> - <to>$UpdateCourseIn.course</to> + <to>$AddCourseIn.course</to> </copy> <copy> <from>$SID</from> - <to>$UpdateCourseIn.SID</to> + <to>$AddCourseIn.SID</to> </copy> </assign> - - <invoke name="updateCourse" partnerLink="UpdateCourse" operation="updateCourse" - xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/UpdateCourse" - portType="tns:UpdateCoursePortType" - inputVariable="UpdateCourseIn" - outputVariable="UpdateCourseOut"/> - + <invoke name="addCourse" partnerLink="AddCourse" operation="addCourse" + xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/AddCourse" + portType="tns:AddCoursePortType" + inputVariable="AddCourseIn" + outputVariable="AddCourseOut"/> + <assign name="saveCourseId"> + <copy> + <from>string($AddCourseOut.courseId)</from> + <to>$ObjectClientId</to> + </copy> + </assign> <if> - <condition>$UpdateCourseOut.success</condition> - <assign name="updateCourseSuccess"> + <condition>$AddCourseOut.courseId != 0</condition> + <assign name="addCourseSuccess"> <copy> <from>$STATUS_SUCCESS</from> <to>$ReplyStatus</to> </copy> </assign> <else> - <assign name="updateCourseFailure"> + <assign name="addCourseFailure"> <copy> <from>$STATUS_FAILURE</from> <to>$ReplyStatus</to> @@ -241,271 +191,353 @@ </else> </if> </sequence> - </elseif> - <elseif> - <!-- Event == "DELETE" --> - <condition>$ProcessCourseOperationIn.courseMessage/dt:event = 'DELETE'</condition> - <sequence> - <assign name="prepareDeleteCourse"> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <from>concat('*** deleteCourse()', '')</from> - </sxt:log> - </sxt:trace> - <copy> - <from>$ProcessCourseOperationIn.courseMessage/dt:course</from> - <to>$DeleteCourseIn.course</to> - </copy> - <copy> - <from>$SID</from> - <to>$DeleteCourseIn.SID</to> - </copy> - </assign> - - <invoke name="deleteCourse" partnerLink="DeleteCourse" operation="deleteCourse" + <elseif> + <!-- Event == "UPDATE" --> + <condition>$ProcessCourseOperationIn.courseMessage/dt:event = 'UPDATE'</condition> + <sequence> + <assign name="prepareUpdateCourse"> + <sxt:trace> + <sxt:log level="info" location="onStart"> + <from>concat('*** updateCourse()', '')</from> + </sxt:log> + </sxt:trace> + <copy> + <from>$ProcessCourseOperationIn.courseMessage/dt:course</from> + <to>$UpdateCourseIn.course</to> + </copy> + <copy> + <from>$SID</from> + <to>$UpdateCourseIn.SID</to> + </copy> + </assign> + <invoke name="updateCourse" partnerLink="UpdateCourse" operation="updateCourse" + xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/UpdateCourse" + portType="tns:UpdateCoursePortType" + inputVariable="UpdateCourseIn" + outputVariable="UpdateCourseOut"/> + <if> + <condition>$UpdateCourseOut.success</condition> + <assign name="updateCourseSuccess"> + <copy> + <from>$STATUS_SUCCESS</from> + <to>$ReplyStatus</to> + </copy> + </assign> + <else> + <assign name="updateCourseFailure"> + <copy> + <from>$STATUS_FAILURE</from> + <to>$ReplyStatus</to> + </copy> + </assign> + </else> + </if> + </sequence> + </elseif> + <elseif> + <!-- Event == "DELETE" --> + <condition>$ProcessCourseOperationIn.courseMessage/dt:event = 'DELETE'</condition> + <sequence> + <assign name="prepareDeleteCourse"> + <sxt:trace> + <sxt:log level="info" location="onStart"> + <from>concat('*** deleteCourse()', '')</from> + </sxt:log> + </sxt:trace> + <copy> + <from>$ProcessCourseOperationIn.courseMessage/dt:course</from> + <to>$DeleteCourseIn.course</to> + </copy> + <copy> + <from>$SID</from> + <to>$DeleteCourseIn.SID</to> + </copy> + </assign> + <invoke name="deleteCourse" partnerLink="DeleteCourse" operation="deleteCourse" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCourse" portType="tns:DeleteCoursePortType" inputVariable="DeleteCourseIn" outputVariable="DeleteCourseOut"/> - - <if> - <condition>$DeleteCourseOut.success</condition> - <assign name="deleteCourseSuccess"> - <copy> - <from>$STATUS_SUCCESS</from> - <to>$ReplyStatus</to> - </copy> - </assign> - <else> - <assign name="deleteCourseFailure"> + <if> + <condition>$DeleteCourseOut.success</condition> + <assign name="deleteCourseSuccess"> <copy> - <from>$STATUS_FAILURE</from> + <from>$STATUS_SUCCESS</from> <to>$ReplyStatus</to> </copy> </assign> - </else> - </if> - </sequence> - </elseif> - <else> - <!-- Unrecognized Operation: throw fault? --> - <empty> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <from>concat('*** Unknown event!', '')</from> - </sxt:log> - </sxt:trace> - </empty> - </else> - </if> - - </sequence> - </onMessage> - - <onMessage partnerLink="ILIASAdapter" operation="processCategory" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" + <else> + <assign name="deleteCourseFailure"> + <copy> + <from>$STATUS_FAILURE</from> + <to>$ReplyStatus</to> + </copy> + </assign> + </else> + </if> + </sequence> + </elseif> + <else> + <!-- Unrecognized Operation: throw fault? --> + <empty> + <sxt:trace> + <sxt:log level="info" location="onStart"> + <from>concat('*** Unknown event!', '')</from> + </sxt:log> + </sxt:trace> + </empty> + </else> + </if> + </sequence> + </onMessage> + <onMessage partnerLink="ILIASAdapter" operation="processCategory" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" portType="tns:ILIASClientAdapterPortType" variable="ProcessCategoryOperationIn"> - <sequence> - <assign name="prepareLoginForCategories"> - <copy> - <from>'dummy'</from> - <to>$LoginIn.dummy</to> - </copy> - </assign> - - <invoke name="loginForCategories" partnerLink="Login" operation="login" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/Login" + <scope name="CategoryScope"> + <faultHandlers> + <catch faultName="ns1:deleteCategoryFailedSystemFault"> + <sequence> + <assign > + <sxt:trace> + <sxt:log level="info" location="onStart"> + <from>concat('*** SystemFault came from: ', 'deleteCategoryFailed')</from> + </sxt:log> + </sxt:trace> + <copy> + <from>$STATUS_FAILURE</from> + <to>$ReplyStatus</to> + </copy> + </assign> + </sequence> + </catch> + <catch faultName="ns1:deleteCategoryFailedByIlias" faultVariable="DeleteCategoryFault" faultMessageType="ns1:deleteCategoryRequest"> + <sequence> + <assign > + <sxt:trace> + <sxt:log level="info" location="onStart"> + <from>concat('*** SystemFault Failed By Ilias came from: ', 'deleteCategoryFailed')</from> + </sxt:log> + </sxt:trace> + <copy> + <from>$STATUS_FAILURE</from> + <to>$ReplyStatus</to> + </copy> + </assign> + </sequence> + </catch> + <catch faultName="ns1:deleteCategoryFailedUnknownFault" faultVariable="DeleteCategoryFault" faultMessageType="ns1:deleteCategoryRequest"> + <sequence> + <assign > + <sxt:trace> + <sxt:log level="info" location="onStart"> + <from>concat('*** SystemFault some other fault: ', 'deleteCategoryFailed')</from> + </sxt:log> + </sxt:trace> + <copy> + <from>$STATUS_FAILURE</from> + <to>$ReplyStatus</to> + </copy> + </assign> + </sequence> + </catch> + <!-- <catchAll> + <sequence> + <assign > + <sxt:trace> + <sxt:log level="info" location="onStart"> + <from>concat('*** Strange Fault came from: ', 'deleteCategory')</from> + </sxt:log> + </sxt:trace> + <copy> + <from>$STATUS_FAILURE</from> + <to>$ReplyStatus</to> + </copy> + </assign> + </sequence> + </catchAll> --> + </faultHandlers> + <sequence> + <assign name="prepareLoginForCategories"> + <copy> + <from>'dummy'</from> + <to>$LoginIn.dummy</to> + </copy> + </assign> + <invoke name="loginForCategories" partnerLink="Login" operation="login" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/Login" portType="tns:LoginPortType" inputVariable="LoginIn" outputVariable="LoginOut"/> - - <assign name="initCategoryProcessing"> - <copy> - <from variable="LoginOut" part="SID"/> - <to variable="SID"/> - </copy> - <copy> - <from>$ProcessCategoryOperationIn.categoryMessage/dt:category/dt:busId</from> - <to>$ObjectBusId</to> - </copy> - <copy ignoreMissingFromData="yes"> - <from>$ProcessCategoryOperationIn.categoryMessage/dt:category/dt:attribute[dt:name = 'clientId']/dt:value</from> - <to>$ObjectClientId</to> - </copy> - <!-- Init constants (better alternatives?) --> - <copy> - <from>'SUCCESS'</from> - <to>$STATUS_SUCCESS</to> - </copy> - <copy> - <from>'FAILURE'</from> - <to>$STATUS_FAILURE</to> - </copy> - </assign> - - <!-- Branch on different events --> - <if> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <from>concat('*** Branching on category-event: ', $ProcessCategoryOperationIn.categoryMessage/dt:event)</from> - </sxt:log> - </sxt:trace> - - <!-- Event == "CREATE" --> - <condition>$ProcessCategoryOperationIn.categoryMessage/dt:event = 'CREATE'</condition> - <sequence> - <assign name="prepareAddCategory"> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <from>concat('*** addCategory()', '')</from> - </sxt:log> - </sxt:trace> + <assign name="initCategoryProcessing"> <copy> - <from>$ProcessCategoryOperationIn.categoryMessage/dt:category</from> - <to>$AddCategoryIn.category</to> + <from variable="LoginOut" part="SID"/> + <to variable="SID"/> </copy> <copy> - <from>$SID</from> - <to>$AddCategoryIn.SID</to> + <from>$ProcessCategoryOperationIn.categoryMessage/dt:category/dt:busId</from> + <to>$ObjectBusId</to> </copy> + <copy ignoreMissingFromData="yes"> + <from>$ProcessCategoryOperationIn.categoryMessage/dt:category/dt:attribute[dt:name = 'clientId']/dt:value</from> + <to>$ObjectClientId</to> + </copy> + <!-- Init constants (better alternatives?) --> + <copy> + <from>'SUCCESS'</from> + <to>$STATUS_SUCCESS</to> + </copy> + <copy> + <from>'FAILURE'</from> + <to>$STATUS_FAILURE</to> + </copy> </assign> - <invoke name="addCategory" partnerLink="AddCategory" operation="addCategory" + <!-- Branch on different events --> + <if> + <sxt:trace> + <sxt:log level="info" location="onStart"> + <from>concat('*** Branching on category-event: ', $ProcessCategoryOperationIn.categoryMessage/dt:event)</from> + </sxt:log> + </sxt:trace> + <!-- Event == "CREATE" --> + <condition>$ProcessCategoryOperationIn.categoryMessage/dt:event = 'CREATE'</condition> + <sequence> + <assign name="prepareAddCategory"> + <sxt:trace> + <sxt:log level="info" location="onStart"> + <from>concat('*** addCategory()', '')</from> + </sxt:log> + </sxt:trace> + <copy> + <from>$ProcessCategoryOperationIn.categoryMessage/dt:category</from> + <to>$AddCategoryIn.category</to> + </copy> + <copy> + <from>$SID</from> + <to>$AddCategoryIn.SID</to> + </copy> + </assign> + <invoke name="addCategory" partnerLink="AddCategory" operation="addCategory" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/AddCategory" portType="tns:AddCategoryPortType" inputVariable="AddCategoryIn" outputVariable="AddCategoryOut"/> - - <assign name="saveCategoryId"> - <copy> - <from>string($AddCategoryOut.categoryId)</from> - <to>$ObjectClientId</to> - </copy> - </assign> - - <if> - <condition>$AddCategoryOut.categoryId != 0</condition> - <assign name="addCategorySuccess"> - <copy> - <from>$STATUS_SUCCESS</from> - <to>$ReplyStatus</to> - </copy> - </assign> - <else> - <assign name="addCategoryFailure"> + <assign name="saveCategoryId"> <copy> - <from>$STATUS_FAILURE</from> - <to>$ReplyStatus</to> + <from>string($AddCategoryOut.categoryId)</from> + <to>$ObjectClientId</to> </copy> </assign> - </else> - </if> - </sequence> - <elseif> - <!-- Event == "UPDATE" --> - <condition>$ProcessCategoryOperationIn.categoryMessage/dt:event = 'UPDATE'</condition> - <sequence> - <assign name="prepareUpdateCategory"> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <from>concat('*** updateCategory()', '')</from> - </sxt:log> - </sxt:trace> - <copy> - <from>$ProcessCategoryOperationIn.categoryMessage/dt:category</from> - <to>$UpdateCategoryIn.category</to> - </copy> - <copy> - <from>$SID</from> - <to>$UpdateCategoryIn.SID</to> - </copy> - </assign> - - <invoke name="updateCategory" partnerLink="UpdateCategory" operation="updateCategory" + <if> + <condition>$AddCategoryOut.categoryId != 0</condition> + <assign name="addCategorySuccess"> + <copy> + <from>$STATUS_SUCCESS</from> + <to>$ReplyStatus</to> + </copy> + </assign> + <else> + <assign name="addCategoryFailure"> + <copy> + <from>$STATUS_FAILURE</from> + <to>$ReplyStatus</to> + </copy> + </assign> + </else> + </if> + </sequence> + <elseif> + <!-- Event == "UPDATE" --> + <condition>$ProcessCategoryOperationIn.categoryMessage/dt:event = 'UPDATE'</condition> + <sequence> + <assign name="prepareUpdateCategory"> + <sxt:trace> + <sxt:log level="info" location="onStart"> + <from>concat('*** updateCategory()', '')</from> + </sxt:log> + </sxt:trace> + <copy> + <from>$ProcessCategoryOperationIn.categoryMessage/dt:category</from> + <to>$UpdateCategoryIn.category</to> + </copy> + <copy> + <from>$SID</from> + <to>$UpdateCategoryIn.SID</to> + </copy> + </assign> + <invoke name="updateCategory" partnerLink="UpdateCategory" operation="updateCategory" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/UpdateCategory" portType="tns:UpdateCategoryPortType" inputVariable="UpdateCategoryIn" outputVariable="UpdateCategoryOut"/> - - <if> - <condition>$UpdateCategoryOut.success</condition> - <assign name="updateCategorySuccess"> - <copy> - <from>$STATUS_SUCCESS</from> - <to>$ReplyStatus</to> - </copy> - </assign> - <else> - <assign name="updateCategoryFailure"> + <if> + <condition>$UpdateCategoryOut.success</condition> + <assign name="updateCategorySuccess"> + <copy> + <from>$STATUS_SUCCESS</from> + <to>$ReplyStatus</to> + </copy> + </assign> + <else> + <assign name="updateCategoryFailure"> + <copy> + <from>$STATUS_FAILURE</from> + <to>$ReplyStatus</to> + </copy> + </assign> + </else> + </if> + </sequence> + </elseif> + <elseif> + <!-- Event == "DELETE" --> + <condition>$ProcessCategoryOperationIn.categoryMessage/dt:event = 'DELETE'</condition> + <sequence> + <assign name="prepareDeleteCategory"> + <sxt:trace> + <sxt:log level="info" location="onStart"> + <from>concat('*** deleteCategory()', '')</from> + </sxt:log> + </sxt:trace> <copy> - <from>$STATUS_FAILURE</from> - <to>$ReplyStatus</to> + <from>$ProcessCategoryOperationIn.categoryMessage/dt:category</from> + <to>$DeleteCategoryIn.category</to> </copy> + <copy> + <from>$SID</from> + <to>$DeleteCategoryIn.SID</to> + </copy> </assign> - </else> - </if> - - </sequence> - </elseif> - <elseif> - <!-- Event == "DELETE" --> - <condition>$ProcessCategoryOperationIn.categoryMessage/dt:event = 'DELETE'</condition> - <sequence> - <assign name="prepareDeleteCategory"> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <from>concat('*** deleteCategory()', '')</from> - </sxt:log> - </sxt:trace> - <copy> - <from>$ProcessCategoryOperationIn.categoryMessage/dt:category</from> - <to>$DeleteCategoryIn.category</to> - </copy> - <copy> - <from>$SID</from> - <to>$DeleteCategoryIn.SID</to> - </copy> - </assign> - <invoke name="deleteCategory" partnerLink="DeleteCategory" operation="deleteCategory" + <invoke name="deleteCategory" partnerLink="DeleteCategory" operation="deleteCategory" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCategory" portType="tns:DeleteCategoryPortType" inputVariable="DeleteCategoryIn" outputVariable="DeleteCategoryOut"/> - - <if> - <condition>$DeleteCategoryOut.success</condition> - <assign name="deleteCategorySuccess"> - <copy> - <from>$STATUS_SUCCESS</from> - <to>$ReplyStatus</to> - </copy> - </assign> - <else> - <assign name="deleteCategoryFailure"> + + <assign name="deleteCategorySuccess"> <copy> - <from>$STATUS_FAILURE</from> + <from>$STATUS_SUCCESS</from> <to>$ReplyStatus</to> </copy> </assign> - </else> - </if> + + </sequence> + </elseif> + <else> + <!-- Unrecognized Operation: throw fault? --> + <empty> + <sxt:trace> + <sxt:log level="info" location="onStart"> + <from>concat('*** Unknown event!', '')</from> + </sxt:log> + </sxt:trace> + </empty> + </else> + </if> + </sequence> + </scope> + </onMessage> + </pick> + </scope> - </sequence> - </elseif> - <else> - <!-- Unrecognized Operation: throw fault? --> - <empty> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <from>concat('*** Unknown event!', '')</from> - </sxt:log> - </sxt:trace> - </empty> - </else> - </if> - - </sequence> - </onMessage> - </pick> - <assign name="prepareLogout"> <copy> <from variable="SID"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-06-16 19:53:38
|
Revision: 261 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=261&view=rev Author: pkasprzak Date: 2009-06-16 19:53:37 +0000 (Tue, 16 Jun 2009) Log Message: ----------- * Cleanup of local modifications (no relevant change) Property Changed: ---------------- trunk/sandbox/lsf-adapter-demo/XSLTTransform/ Property changes on: trunk/sandbox/lsf-adapter-demo/XSLTTransform ___________________________________________________________________ Added: svn:ignore + build dist This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-06-16 19:50:15
|
Revision: 260 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=260&view=rev Author: pkasprzak Date: 2009-06-16 19:50:12 +0000 (Tue, 16 Jun 2009) Log Message: ----------- * Cleanup of local modifications (no relevant change) Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/build.xml trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/build-impl.xml Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/build.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/build.xml 2009-06-16 18:15:09 UTC (rev 259) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/build.xml 2009-06-16 19:50:12 UTC (rev 260) @@ -1,66 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- You may freely edit this file. See commented blocks below for --> -<!-- some examples of how to customize the build. --> -<!-- (If you delete it and reopen the project it will be recreated.) --> <project name="" default="default" basedir="." xmlns:web="http://www.netbeans.org/ns/j2ee-ejbjarproject/1"> - <description>Builds, tests, and runs the project .</description> <import file="nbproject/build-impl.xml"/> - <!-- - There exist several targets which are by default empty and which can be - used for execution of your tasks. These targets are usually executed - before and after some main targets. They are: - - -pre-init called before initialization of project properties - -post-init called after initialization of project properties - -pre-compile called before javac compilation - -post-compile called after javac compilation - -pre-compile-single called before javac compilation of single file - -post-compile-single called after javac compilation of single file - -pre-dist called before jar building - -post-dist called after jar building - -post-clean called after cleaning build products - - Example of pluging an obfuscator after the compilation could look like - - <target name="post-compile"> - <obfuscate> - <fileset dir="${build.classes.dir}"/> - </obfuscate> - </target> - - For list of available properties check the imported - nbproject/build-impl.xml file. - - Other way how to customize the build is by overriding existing main targets. - The target of interest are: - - init-macrodef-javac defines macro for javac compilation - init-macrodef-debug defines macro for class debugging - do-dist jar archive building - run execution of project - javadoc-build javadoc generation - - Example of overriding the target for project execution could look like - - <target name="run" depends="<PROJNAME>-impl.jar"> - <exec dir="bin" executable="launcher.exe"> - <arg file="${dist.jar}"/> - </exec> - </target> - - Notice that overridden target depends on jar target and not only on - compile target as regular run target does. Again, for list of available - properties which you can use check the target you are overriding in - nbproject/build-impl.xml file. - --> - <target name="-init-esb-ide" if="netbeans.home"> + <target name="init-esb-ide" if="netbeans.home"> <property name="esb.netbeans.platform" value="${netbeans.home}"/> </target> - <target name="-init-esb-cmdline" unless="netbeans.home"> + <target name="init-esb-cli" unless="netbeans.home"> <property file="${basedir}/nbproject/private/private.properties"/> <property name="esb.netbeans.platform" value="${esb.netbeans.home}/platform9"/> <property name="netbeans.user" value="${esb.netbeans.user}"/> <property name="from.commandline" value="true"/> </target> - <target name="-pre-init" depends="-init-esb-ide,-init-esb-cmdline"/> + <target name="check-catd-context"> + <condition property="no.catd.context"> + <not> + <isset property="org.netbeans.modules.compapp.catd.context"/> + </not> + </condition> + </target> + <target name="init-catd" if="no.catd.context"> + <property name="org.netbeans.modules.compapp.catd.context" value=""/> + </target> + <target name="pre-init" depends="init-esb-ide,init-esb-cli,check-catd-context,init-catd"/> </project> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml 2009-06-16 18:15:09 UTC (rev 259) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml 2009-06-16 19:50:12 UTC (rev 260) @@ -4,7 +4,8 @@ <system systemId="Common/CDDM.xsd" uri="nb-uri:Common#src/CDDM.xsd"/> <system systemId="Common/WS-Addressing.xsd" uri="nb-uri:Common#src/schemas.xmlsoap.org/ws/2004/08/addressing.xsd"/> <system systemId="ObjectProcessor/ReplyProcessor.wsdl" uri="nb-uri:ObjectProcessor#src/ReplyProcessor.wsdl"/> - <nextCatalog catalog="nbproject/private/cache/retriever/catalog.xml"/> <system systemId="http://schemas.xmlsoap.org/soap/encoding/" uri="retrieved/src/schemas.xmlsoap.org/soap/encoding.xsd"/> <system systemId="http://schemas.xmlsoap.org/ws/2004/08/addressing" uri="retrieved/src/schemas.xmlsoap.org/ws/2004/08/addressing.xsd"/> + <system systemId="ObjectProcessor/ReplyProcessor.wsdl" uri="nb-uri:ObjectProcessor#src/ReplyProcessor.wsdl"/> + <nextCatalog catalog="nbproject/private/cache/retriever/catalog.xml"/> </catalog> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/build-impl.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/build-impl.xml 2009-06-16 18:15:09 UTC (rev 259) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/build-impl.xml 2009-06-16 19:50:12 UTC (rev 260) @@ -1,52 +1,43 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - *** GENERATED FROM project.xml - DO NOT EDIT *** - *** EDIT ../build.xml INSTEAD *** - - For the purpose of easier reading the script - is divided into following sections: - - - initialization - - dist - - cleanup + *** GENERATED FROM project.xml - DO NOT EDIT *** + *** EDIT ../build.xml INSTEAD *** --> <project name="ILIASClientAdapter-impl" default="default" basedir=".."> - <target name="default" depends="dist_se" description="Build whole project."/> + <target name="default" depends="dist_se"/> <!-- - ====================== INITIALIZATION SECTION - ====================== --> - <target name="-pre-init"> + <target name="pre-init"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="-init-private" depends="-pre-init"> + <target name="init-private" depends="pre-init"> <property file="nbproject/private/private.properties"/> </target> - <target name="-init-userdir" depends="-pre-init,-init-private"> + <target name="init-userdir" depends="pre-init,init-private"> <property name="user.properties.file" location="${netbeans.user}/build.properties"/> </target> - <target name="-init-user" depends="-pre-init,-init-private,-init-userdir"> + <target name="init-user" depends="pre-init,init-private,init-userdir"> <property file="${user.properties.file}"/> </target> - <target name="-init-project" depends="-pre-init,-init-private,-init-userdir,-init-user"> + <target name="init-project" depends="pre-init,init-private,init-userdir,init-user"> <property file="nbproject/project.properties"/> </target> - <target name="-do-init" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project"> + <target name="do-init" depends="pre-init,init-private,init-userdir,init-user,init-project"> <available file="${src.dir}/../retrieved" property="retrieved.exists"/> </target> - <target name="-post-init"> + <target name="post-init"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="-init-check" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init"> + <target name="init-check" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init"> <fail unless="src.dir">Must set src.dir</fail> <fail unless="build.dir">Must set build.dir</fail> <fail unless="dist.dir">Must set dist.dir</fail> <fail unless="dist.jar">Must set dist.jar</fail> </target> - <target name="-init-taskdefs" if="from.commandline"> + <target name="init-taskdefs" if="from.commandline"> <path id="ant.task.classpath"> <pathelement location="${esb.netbeans.platform}/../ide10/modules/ext/resolver-1.2.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-apache-xml-resolver.jar"/> @@ -95,25 +86,21 @@ <classpath refid="ant.task.classpath"/> </taskdef> </target> - <target name="init" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init,-post-init,-init-check,-init-taskdefs"/> + <target name="init" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init,post-init,init-check,init-taskdefs"/> <!-- - ===================== DIST BUILDING SECTION - ===================== --> - <target name="-pre-dist"> + <target name="pre-dist"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="-deps-jar-dist" depends="init" unless="${no.dependencies}"> + <target name="deps-jar-dist" depends="init" unless="${no.dependencies}"> <ant target="dist_se" inheritall="false" dir="${project.Common}"/> <ant target="dist_se" inheritall="false" dir="${project.ObjectProcessor}"/> </target> - <target name="-do-dist" depends="init,-pre-dist"> + <target name="do-dist" depends="init,pre-dist"> <mkdir dir="${build.dir}"/> - <!--validation--> <validate-project buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" buildDependentProjectDir="${basedir}/${build.dir}/dependentProjectFiles" classpathRef="ant.task.classpath" allowBuildWithError="${allow.build.with.error}" validation="${validation}"/> - <!-- copy all files from project source directory to build directory. --> <copy todir="${build.dir}" preservelastmodified="true"> <fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd, **/*.xsl, **/*.xslt, **/*.jar" dir="${src.dir}"/> </copy> @@ -127,31 +114,29 @@ </fileset> </jar> </target> - <target name="-post-dist"> + <target name="post-dist"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="dist_se" depends="init,-pre-dist,-deps-jar-dist,-do-dist,-post-dist" description="Build distribution."/> + <target name="dist_se" depends="init,pre-dist,deps-jar-dist,do-dist,post-dist"/> <!-- - =============== CLEANUP SECTION - =============== --> - <target name="-pre-clean"> + <target name="pre-clean"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="-deps-clean" depends="init" unless="${no.dependencies}"> + <target name="deps-clean" depends="init" unless="${no.dependencies}"> <ant target="clean" inheritall="false" dir="${project.Common}"/> <ant target="clean" inheritall="false" dir="${project.ObjectProcessor}"/> </target> - <target name="-do-clean" depends="init,-pre-clean"> + <target name="do-clean" depends="init,pre-clean"> <delete dir="${build.dir}"/> <delete dir="${dist.dir}"/> </target> - <target name="-post-clean"> + <target name="post-clean"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="clean" depends="init,-pre-clean,-deps-clean,-do-clean,-post-clean" description="Clean build products."/> + <target name="clean" depends="init,pre-clean,deps-clean,do-clean,post-clean"/> </project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-06-16 18:15:15
|
Revision: 259 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=259&view=rev Author: pkasprzak Date: 2009-06-16 18:15:09 +0000 (Tue, 16 Jun 2009) Log Message: ----------- * Cleanup of local modifications (no relevant change) Property Changed: ---------------- trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/ Property changes on: trunk/sandbox/lsf-adapter-demo/LSFClientAdapter ___________________________________________________________________ Added: svn:ignore + build This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-06-16 11:34:37
|
Revision: 258 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=258&view=rev Author: pkasprzak Date: 2009-06-16 11:34:03 +0000 (Tue, 16 Jun 2009) Log Message: ----------- * Added functionality to test dynamic partner links (seems to work :)) Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/Login.bpel trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml 2009-06-16 11:31:27 UTC (rev 257) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml 2009-06-16 11:34:03 UTC (rev 258) @@ -1,7 +1,10 @@ <?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/openESB/ilias-3.10.5.wsdl" uri="src/ilias-3.10.5.wsdl"/> - <system systemId="Common/CDDM.xsd" uri="nb-uri:Common#src/CDDM.xsd"/> + <system systemId="Common/CDDM.xsd" uri="nb-uri:Common#src/CDDM.xsd"/> + <system systemId="Common/WS-Addressing.xsd" uri="nb-uri:Common#src/schemas.xmlsoap.org/ws/2004/08/addressing.xsd"/> <system systemId="ObjectProcessor/ReplyProcessor.wsdl" uri="nb-uri:ObjectProcessor#src/ReplyProcessor.wsdl"/> <nextCatalog catalog="nbproject/private/cache/retriever/catalog.xml"/> + <system systemId="http://schemas.xmlsoap.org/soap/encoding/" uri="retrieved/src/schemas.xmlsoap.org/soap/encoding.xsd"/> + <system systemId="http://schemas.xmlsoap.org/ws/2004/08/addressing" uri="retrieved/src/schemas.xmlsoap.org/ws/2004/08/addressing.xsd"/> </catalog> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/Login.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/Login.bpel 2009-06-16 11:31:27 UTC (rev 257) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/Login.bpel 2009-06-16 11:34:03 UTC (rev 258) @@ -8,15 +8,19 @@ 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:sref="http://docs.oasis-open.org/wsbpel/2.0/serviceref" + xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:tns="http://cse.campussource.de/bpel/ILIASClientAdapter/Login"> + <import namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" location="Common/WS-Addressing.xsd" importType="http://www.w3.org/2001/XMLSchema"/> <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/Login" location="Login.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <partnerLinks> - <partnerLink name="IliasAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/Login" partnerLinkType="tns:Login" myRole="LoginPortTypeRole"/> - <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://j2ee.netbeans.org/wsdl/ILIASClientAdapter/Login" partnerLinkType="tns:Login" myRole="LoginPortTypeRole"/> + <partnerLink name="ILIAS" xmlns:tns="http://enterprise.netbeans.org/bpel/ilias-3.10.5-Wrapper" partnerLinkType="tns:ILIASSoapWebserviceLinkType" partnerRole="ILIASSoapWebserviceRole"/> </partnerLinks> <variables> @@ -24,6 +28,7 @@ <variable name="LoginIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/Login" messageType="tns:loginRequest"/> <variable name="IliasLoginOut" xmlns:tns="urn:ilUserAdministration" messageType="tns:loginResponse"/> <variable name="IliasLoginIn" xmlns:tns="urn:ilUserAdministration" messageType="tns:loginRequest"/> + <variable name="IliasEPR" element="wsa:EndpointReference"/> </variables> <sequence> @@ -48,6 +53,34 @@ </copy> </assign> + <assign> + <sxt:trace> + <sxt:log level="info" location="onComplete"> + <from>concat('*** Ilias EPR: ', sxxf:doMarshal($IliasEPR))</from> + </sxt:log> + </sxt:trace> + <copy> + <from partnerLink="ILIAS" endpointReference="partnerRole"/> + <to>$IliasEPR</to> + </copy> + </assign> + + <assign> + <copy> + <from> + <literal> + <sref:service-ref> + <wsa:EndpointReference> + <wsa:Address>http://cse-wwu-stage.itmc.uni-dortmund.de/ilias3/webservice/soap/server.php?debug=1</wsa:Address> + <wsa:ServiceName xmlns:ns="urn:ilUserAdministration" PortName="ILIASSoapWebservicePort">ns:ILIASSoapWebservice</wsa:ServiceName> + </wsa:EndpointReference> + </sref:service-ref> + </literal> + </from> + <to partnerLink="ILIAS"/> + </copy> + </assign> + <invoke name="login" partnerLink="ILIAS" operation="login" xmlns:tns="urn:ilUserAdministration" portType="tns:ILIASSoapWebservicePortType" inputVariable="IliasLoginIn" Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel 2009-06-16 11:31:27 UTC (rev 257) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel 2009-06-16 11:34:03 UTC (rev 258) @@ -11,11 +11,13 @@ 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:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:il_crs="http://cse.campussource.de/schema/ilias/course" xmlns:il_objs="http://cse.campussource.de/schema/ilias/objects" xmlns:dt="http://cse.campussource.de/schema/DataTypes" xmlns:tns="http://cse.campussource.de/bpel/ILIASClientAdapter/OutboundClientAdapter"> + <import namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" location="Common/WS-Addressing.xsd" importType="http://www.w3.org/2001/XMLSchema"/> <import namespace="http://cse.campussource.de/schema/DataTypes" location="Common/CDDM.xsd" importType="http://www.w3.org/2001/XMLSchema"/> <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="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" location="ILIASClientAdapter.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-06-16 11:32:30
|
Revision: 257 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=257&view=rev Author: pkasprzak Date: 2009-06-16 11:31:27 +0000 (Tue, 16 Jun 2009) Log Message: ----------- * Added ws-addressing xsd Added Paths: ----------- trunk/sandbox/lsf-adapter-demo/Common/retrieved/ trunk/sandbox/lsf-adapter-demo/Common/retrieved/src/ trunk/sandbox/lsf-adapter-demo/Common/src/schemas.xmlsoap.org/ trunk/sandbox/lsf-adapter-demo/Common/src/schemas.xmlsoap.org/ws/ trunk/sandbox/lsf-adapter-demo/Common/src/schemas.xmlsoap.org/ws/2004/ trunk/sandbox/lsf-adapter-demo/Common/src/schemas.xmlsoap.org/ws/2004/08/ trunk/sandbox/lsf-adapter-demo/Common/src/schemas.xmlsoap.org/ws/2004/08/addressing.xsd Added: trunk/sandbox/lsf-adapter-demo/Common/src/schemas.xmlsoap.org/ws/2004/08/addressing.xsd =================================================================== --- trunk/sandbox/lsf-adapter-demo/Common/src/schemas.xmlsoap.org/ws/2004/08/addressing.xsd (rev 0) +++ trunk/sandbox/lsf-adapter-demo/Common/src/schemas.xmlsoap.org/ws/2004/08/addressing.xsd 2009-06-16 11:31:27 UTC (rev 257) @@ -0,0 +1,149 @@ +<?xml version="1.0"?> +<!-- +Copyright © 2002-2004 BEA Systems Inc., International Business Machines Corporation, +Microsoft Corporation, Inc, SAP AG, and Sun Microsystems, Inc.. All rights reserved. + +Permission to copy, display, perform, modify and distribute the WS-Addressing Specification, +and to authorize others to do the foregoing, in any medium without fee or royalty is hereby +granted for the purpose of developing and evaluating the WS-Addressing Specification. + +BEA, IBM, Microsoft, SAP AG, and Sun Microsystems (collectively, the "Authors") each agree +to grant a license to third parties, under royalty-free and otherwise reasonable, +non-discriminatory terms and conditions, to their respective essential patent claims that +they deem necessary to implement the WS-Addressing Specification. + +DISCLAIMERS: + +THE WS-Addressing Specification IS PROVIDED "AS IS", AND THE AUTHORS MAKE NO REPRESENTATIONS +OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE +CONTENTS OF THE WS-Addressing Specification IS SUITABLE FOR ANY PURPOSE; NOR THAT THE +IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, +TRADEMARKS OR OTHER RIGHTS. + +THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL +DAMAGES ARISING OUT OF ANY USE OF THE WS-Addressing Specification OR THE PERFORMANCE OR +IMPLEMENTATION OF THE CONTENTS THEREOF. + +You may remove these disclaimers from your modified versions of the WS-Addressing +Specification provided that you effectively disclaim all warranties and liabilities on behalf +of all copyright holders in the copies of any such modified versions you distribute. + +The name and trademarks of the Authors may NOT be used in any manner, including advertising +or publicity pertaining to the WS-Addressing Specification or its contents without specific, +written prior permission. Title to copyright in the WS-Addressing Specification will at all +times remain with the Authors. + +No other rights are granted by implication, estoppel or otherwise. + +--> +<xs:schema targetNamespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" elementFormDefault="qualified" blockDefault="#all"> + <!-- //////////////////// WS-Addressing //////////////////// --> + <!-- Endpoint reference --> + <xs:element name="EndpointReference" type="wsa:EndpointReferenceType"/> + <xs:complexType name="EndpointReferenceType"> + <xs:sequence> + <xs:element name="Address" type="wsa:AttributedURI"/> + <xs:element name="ReferenceProperties" type="wsa:ReferencePropertiesType" minOccurs="0"/> + <xs:element name="ReferenceParameters" type="wsa:ReferenceParametersType" minOccurs="0"/> + <xs:element name="PortType" type="wsa:AttributedQName" minOccurs="0"/> + <xs:element name="ServiceName" type="wsa:ServiceNameType" minOccurs="0"/> + <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation> + If "Policy" elements from namespace "http://schemas.xmlsoap.org/ws/2002/12/policy#policy" are used, they must appear first (before any extensibility elements). + </xs:documentation> + </xs:annotation> + </xs:any> + </xs:sequence> + <xs:anyAttribute namespace="##other" processContents="lax"/> + </xs:complexType> + <xs:complexType name="ReferencePropertiesType"> + <xs:sequence> + <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="ReferenceParametersType"> + <xs:sequence> + <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="ServiceNameType"> + <xs:simpleContent> + <xs:extension base="xs:QName"> + <xs:attribute name="PortName" type="xs:NCName"/> + <xs:anyAttribute namespace="##other" processContents="lax"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + <!-- Message information header blocks --> + <xs:element name="MessageID" type="wsa:AttributedURI"/> + <xs:element name="RelatesTo" type="wsa:Relationship"/> + <xs:element name="To" type="wsa:AttributedURI"/> + <xs:element name="Action" type="wsa:AttributedURI"/> + <xs:element name="From" type="wsa:EndpointReferenceType"/> + <xs:element name="ReplyTo" type="wsa:EndpointReferenceType"/> + <xs:element name="FaultTo" type="wsa:EndpointReferenceType"/> + <xs:complexType name="Relationship"> + <xs:simpleContent> + <xs:extension base="xs:anyURI"> + <xs:attribute name="RelationshipType" type="xs:QName" use="optional"/> + <xs:anyAttribute namespace="##other" processContents="lax"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + <xs:simpleType name="RelationshipTypeValues"> + <xs:restriction base="xs:QName"> + <xs:enumeration value="wsa:Reply"/> + </xs:restriction> + </xs:simpleType> + <!-- + June 19, 2007: The ReplyAfter element is deprecated. The name of this element does not match the + name (RetryAfter) used in the specification (http://www.w3.org/Submission/2004/SUBM-ws-addressing-20040810/). + --> + <xs:element name="ReplyAfter" type="wsa:ReplyAfterType"/> + <xs:complexType name="ReplyAfterType"> + <xs:simpleContent> + <xs:extension base="xs:nonNegativeInteger"> + <xs:anyAttribute namespace="##other"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + <!-- + June 19, 2007: The RetryAfter element has been added to be consistent with the specification + (http://www.w3.org/Submission/2004/SUBM-ws-addressing-20040810/). + --> + <xs:element name="RetryAfter" type="wsa:RetryAfterType"/> + <xs:complexType name="RetryAfterType"> + <xs:simpleContent> + <xs:extension base="xs:nonNegativeInteger"> + <xs:anyAttribute namespace="##other"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + <xs:simpleType name="FaultSubcodeValues"> + <xs:restriction base="xs:QName"> + <xs:enumeration value="wsa:InvalidMessageInformationHeader"/> + <xs:enumeration value="wsa:MessageInformationHeaderRequired"/> + <xs:enumeration value="wsa:DestinationUnreachable"/> + <xs:enumeration value="wsa:ActionNotSupported"/> + <xs:enumeration value="wsa:EndpointUnavailable"/> + </xs:restriction> + </xs:simpleType> + <xs:attribute name="Action" type="xs:anyURI"/> + <!-- Common declarations and definitions --> + <xs:complexType name="AttributedQName"> + <xs:simpleContent> + <xs:extension base="xs:QName"> + <xs:anyAttribute namespace="##other" processContents="lax"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + <xs:complexType name="AttributedURI"> + <xs:simpleContent> + <xs:extension base="xs:anyURI"> + <xs:anyAttribute namespace="##other" processContents="lax"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> +</xs:schema> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-06-16 11:31:12
|
Revision: 256 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=256&view=rev Author: pkasprzak Date: 2009-06-16 11:31:09 +0000 (Tue, 16 Jun 2009) Log Message: ----------- * Added ws-addressing xsd Added Paths: ----------- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/retrieved/ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/retrieved/src/ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/retrieved/src/schemas.xmlsoap.org/ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/retrieved/src/schemas.xmlsoap.org/soap/ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/retrieved/src/schemas.xmlsoap.org/soap/encoding.xsd trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/retrieved/src/schemas.xmlsoap.org/ws/ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/retrieved/src/schemas.xmlsoap.org/ws/2004/ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/retrieved/src/schemas.xmlsoap.org/ws/2004/08/ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/retrieved/src/schemas.xmlsoap.org/ws/2004/08/addressing.xsd Added: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/retrieved/src/schemas.xmlsoap.org/soap/encoding.xsd =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/retrieved/src/schemas.xmlsoap.org/soap/encoding.xsd (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/retrieved/src/schemas.xmlsoap.org/soap/encoding.xsd 2009-06-16 11:31:09 UTC (rev 256) @@ -0,0 +1,536 @@ +<?xml version='1.0' encoding='UTF-8' ?> + +<!-- Schema for the SOAP/1.1 encoding + +Portions © 2001 DevelopMentor. +© 2001 W3C (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. + +This document is governed by the W3C Software License [1] as described in the FAQ [2]. +[1] http://www.w3.org/Consortium/Legal/copyright-software-19980720 +[2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD +By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions: + +Permission to use, copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications, that you make: + +1. The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. + +2. Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, a short notice of the following form (hypertext is preferred, text is permitted) should be used within the body of any redistributed or derivative code: "Copyright © 2001 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. http://www.w3.org/Consortium/Legal/" + +3. Notice of any changes or modifications to the W3C files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.) + +Original W3C files; http://www.w3.org/2001/06/soap-encoding +Changes made: + - reverted namespace to http://schemas.xmlsoap.org/soap/encoding/ + - reverted root to only allow 0 and 1 as lexical values + - removed default value from root attribute declaration + +THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. + +COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. + +The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders. + +--> +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:tns="http://schemas.xmlsoap.org/soap/encoding/" + targetNamespace="http://schemas.xmlsoap.org/soap/encoding/" > + + <xs:attribute name="root" > + <xs:annotation> + <xs:documentation> + 'root' can be used to distinguish serialization roots from other + elements that are present in a serialization but are not roots of + a serialized value graph + </xs:documentation> + </xs:annotation> + <xs:simpleType> + <xs:restriction base='xs:boolean'> + <xs:pattern value='0|1' /> + </xs:restriction> + </xs:simpleType> + </xs:attribute> + + <xs:attributeGroup name="commonAttributes" > + <xs:annotation> + <xs:documentation> + Attributes common to all elements that function as accessors or + represent independent (multi-ref) values. The href attribute is + intended to be used in a manner like CONREF. That is, the element + content should be empty iff the href attribute appears + </xs:documentation> + </xs:annotation> + <xs:attribute name="id" type="xs:ID" /> + <xs:attribute name="href" type="xs:anyURI" /> + <xs:anyAttribute namespace="##other" processContents="lax" /> + </xs:attributeGroup> + + <!-- Global Attributes. The following attributes are intended to be usable via qualified attribute names on any complex type referencing them. --> + + <!-- Array attributes. Needed to give the type and dimensions of an array's contents, and the offset for partially-transmitted arrays. --> + + <xs:simpleType name="arrayCoordinate" > + <xs:restriction base="xs:string" /> + </xs:simpleType> + + <xs:attribute name="arrayType" type="xs:string" /> + <xs:attribute name="offset" type="tns:arrayCoordinate" /> + + <xs:attributeGroup name="arrayAttributes" > + <xs:attribute ref="tns:arrayType" /> + <xs:attribute ref="tns:offset" /> + </xs:attributeGroup> + + <xs:attribute name="position" type="tns:arrayCoordinate" /> + + <xs:attributeGroup name="arrayMemberAttributes" > + <xs:attribute ref="tns:position" /> + </xs:attributeGroup> + + <xs:group name="Array" > + <xs:sequence> + <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax" /> + </xs:sequence> + </xs:group> + + <xs:element name="Array" type="tns:Array" /> + <xs:complexType name="Array" > + <xs:annotation> + <xs:documentation> + 'Array' is a complex type for accessors identified by position + </xs:documentation> + </xs:annotation> + <xs:group ref="tns:Array" minOccurs="0" /> + <xs:attributeGroup ref="tns:arrayAttributes" /> + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:complexType> + + <!-- 'Struct' is a complex type for accessors identified by name. + Constraint: No element may be have the same name as any other, + nor may any element have a maxOccurs > 1. --> + + <xs:element name="Struct" type="tns:Struct" /> + + <xs:group name="Struct" > + <xs:sequence> + <xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded" processContents="lax" /> + </xs:sequence> + </xs:group> + + <xs:complexType name="Struct" > + <xs:group ref="tns:Struct" minOccurs="0" /> + <xs:attributeGroup ref="tns:commonAttributes"/> + </xs:complexType> + + <!-- 'Base64' can be used to serialize binary data using base64 encoding + as defined in RFC2045 but without the MIME line length limitation. --> + + <xs:simpleType name="base64" > + <xs:restriction base="xs:base64Binary" /> + </xs:simpleType> + + <!-- Element declarations corresponding to each of the simple types in the + XML Schemas Specification. --> + + <xs:element name="duration" type="tns:duration" /> + <xs:complexType name="duration" > + <xs:simpleContent> + <xs:extension base="xs:duration" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="dateTime" type="tns:dateTime" /> + <xs:complexType name="dateTime" > + <xs:simpleContent> + <xs:extension base="xs:dateTime" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + + + <xs:element name="NOTATION" type="tns:NOTATION" /> + <xs:complexType name="NOTATION" > + <xs:simpleContent> + <xs:extension base="xs:QName" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + + <xs:element name="time" type="tns:time" /> + <xs:complexType name="time" > + <xs:simpleContent> + <xs:extension base="xs:time" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="date" type="tns:date" /> + <xs:complexType name="date" > + <xs:simpleContent> + <xs:extension base="xs:date" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="gYearMonth" type="tns:gYearMonth" /> + <xs:complexType name="gYearMonth" > + <xs:simpleContent> + <xs:extension base="xs:gYearMonth" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="gYear" type="tns:gYear" /> + <xs:complexType name="gYear" > + <xs:simpleContent> + <xs:extension base="xs:gYear" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="gMonthDay" type="tns:gMonthDay" /> + <xs:complexType name="gMonthDay" > + <xs:simpleContent> + <xs:extension base="xs:gMonthDay" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="gDay" type="tns:gDay" /> + <xs:complexType name="gDay" > + <xs:simpleContent> + <xs:extension base="xs:gDay" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="gMonth" type="tns:gMonth" /> + <xs:complexType name="gMonth" > + <xs:simpleContent> + <xs:extension base="xs:gMonth" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="boolean" type="tns:boolean" /> + <xs:complexType name="boolean" > + <xs:simpleContent> + <xs:extension base="xs:boolean" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="base64Binary" type="tns:base64Binary" /> + <xs:complexType name="base64Binary" > + <xs:simpleContent> + <xs:extension base="xs:base64Binary" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="hexBinary" type="tns:hexBinary" /> + <xs:complexType name="hexBinary" > + <xs:simpleContent> + <xs:extension base="xs:hexBinary" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="float" type="tns:float" /> + <xs:complexType name="float" > + <xs:simpleContent> + <xs:extension base="xs:float" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="double" type="tns:double" /> + <xs:complexType name="double" > + <xs:simpleContent> + <xs:extension base="xs:double" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="anyURI" type="tns:anyURI" /> + <xs:complexType name="anyURI" > + <xs:simpleContent> + <xs:extension base="xs:anyURI" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="QName" type="tns:QName" /> + <xs:complexType name="QName" > + <xs:simpleContent> + <xs:extension base="xs:QName" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + + <xs:element name="string" type="tns:string" /> + <xs:complexType name="string" > + <xs:simpleContent> + <xs:extension base="xs:string" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="normalizedString" type="tns:normalizedString" /> + <xs:complexType name="normalizedString" > + <xs:simpleContent> + <xs:extension base="xs:normalizedString" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="token" type="tns:token" /> + <xs:complexType name="token" > + <xs:simpleContent> + <xs:extension base="xs:token" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="language" type="tns:language" /> + <xs:complexType name="language" > + <xs:simpleContent> + <xs:extension base="xs:language" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="Name" type="tns:Name" /> + <xs:complexType name="Name" > + <xs:simpleContent> + <xs:extension base="xs:Name" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="NMTOKEN" type="tns:NMTOKEN" /> + <xs:complexType name="NMTOKEN" > + <xs:simpleContent> + <xs:extension base="xs:NMTOKEN" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="NCName" type="tns:NCName" /> + <xs:complexType name="NCName" > + <xs:simpleContent> + <xs:extension base="xs:NCName" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="NMTOKENS" type="tns:NMTOKENS" /> + <xs:complexType name="NMTOKENS" > + <xs:simpleContent> + <xs:extension base="xs:NMTOKENS" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="ID" type="tns:ID" /> + <xs:complexType name="ID" > + <xs:simpleContent> + <xs:extension base="xs:ID" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="IDREF" type="tns:IDREF" /> + <xs:complexType name="IDREF" > + <xs:simpleContent> + <xs:extension base="xs:IDREF" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="ENTITY" type="tns:ENTITY" /> + <xs:complexType name="ENTITY" > + <xs:simpleContent> + <xs:extension base="xs:ENTITY" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="IDREFS" type="tns:IDREFS" /> + <xs:complexType name="IDREFS" > + <xs:simpleContent> + <xs:extension base="xs:IDREFS" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="ENTITIES" type="tns:ENTITIES" /> + <xs:complexType name="ENTITIES" > + <xs:simpleContent> + <xs:extension base="xs:ENTITIES" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="decimal" type="tns:decimal" /> + <xs:complexType name="decimal" > + <xs:simpleContent> + <xs:extension base="xs:decimal" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="integer" type="tns:integer" /> + <xs:complexType name="integer" > + <xs:simpleContent> + <xs:extension base="xs:integer" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="nonPositiveInteger" type="tns:nonPositiveInteger" /> + <xs:complexType name="nonPositiveInteger" > + <xs:simpleContent> + <xs:extension base="xs:nonPositiveInteger" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="negativeInteger" type="tns:negativeInteger" /> + <xs:complexType name="negativeInteger" > + <xs:simpleContent> + <xs:extension base="xs:negativeInteger" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="long" type="tns:long" /> + <xs:complexType name="long" > + <xs:simpleContent> + <xs:extension base="xs:long" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="int" type="tns:int" /> + <xs:complexType name="int" > + <xs:simpleContent> + <xs:extension base="xs:int" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="short" type="tns:short" /> + <xs:complexType name="short" > + <xs:simpleContent> + <xs:extension base="xs:short" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="byte" type="tns:byte" /> + <xs:complexType name="byte" > + <xs:simpleContent> + <xs:extension base="xs:byte" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="nonNegativeInteger" type="tns:nonNegativeInteger" /> + <xs:complexType name="nonNegativeInteger" > + <xs:simpleContent> + <xs:extension base="xs:nonNegativeInteger" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="unsignedLong" type="tns:unsignedLong" /> + <xs:complexType name="unsignedLong" > + <xs:simpleContent> + <xs:extension base="xs:unsignedLong" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="unsignedInt" type="tns:unsignedInt" /> + <xs:complexType name="unsignedInt" > + <xs:simpleContent> + <xs:extension base="xs:unsignedInt" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="unsignedShort" type="tns:unsignedShort" /> + <xs:complexType name="unsignedShort" > + <xs:simpleContent> + <xs:extension base="xs:unsignedShort" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="unsignedByte" type="tns:unsignedByte" /> + <xs:complexType name="unsignedByte" > + <xs:simpleContent> + <xs:extension base="xs:unsignedByte" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="positiveInteger" type="tns:positiveInteger" /> + <xs:complexType name="positiveInteger" > + <xs:simpleContent> + <xs:extension base="xs:positiveInteger" > + <xs:attributeGroup ref="tns:commonAttributes" /> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + + <xs:element name="anyType" /> +</xs:schema> + Added: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/retrieved/src/schemas.xmlsoap.org/ws/2004/08/addressing.xsd =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/retrieved/src/schemas.xmlsoap.org/ws/2004/08/addressing.xsd (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/retrieved/src/schemas.xmlsoap.org/ws/2004/08/addressing.xsd 2009-06-16 11:31:09 UTC (rev 256) @@ -0,0 +1,149 @@ +<?xml version="1.0"?> +<!-- +Copyright © 2002-2004 BEA Systems Inc., International Business Machines Corporation, +Microsoft Corporation, Inc, SAP AG, and Sun Microsystems, Inc.. All rights reserved. + +Permission to copy, display, perform, modify and distribute the WS-Addressing Specification, +and to authorize others to do the foregoing, in any medium without fee or royalty is hereby +granted for the purpose of developing and evaluating the WS-Addressing Specification. + +BEA, IBM, Microsoft, SAP AG, and Sun Microsystems (collectively, the "Authors") each agree +to grant a license to third parties, under royalty-free and otherwise reasonable, +non-discriminatory terms and conditions, to their respective essential patent claims that +they deem necessary to implement the WS-Addressing Specification. + +DISCLAIMERS: + +THE WS-Addressing Specification IS PROVIDED "AS IS", AND THE AUTHORS MAKE NO REPRESENTATIONS +OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE +CONTENTS OF THE WS-Addressing Specification IS SUITABLE FOR ANY PURPOSE; NOR THAT THE +IMPLEMENTATION OF SUCH CONTENTS WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, +TRADEMARKS OR OTHER RIGHTS. + +THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL +DAMAGES ARISING OUT OF ANY USE OF THE WS-Addressing Specification OR THE PERFORMANCE OR +IMPLEMENTATION OF THE CONTENTS THEREOF. + +You may remove these disclaimers from your modified versions of the WS-Addressing +Specification provided that you effectively disclaim all warranties and liabilities on behalf +of all copyright holders in the copies of any such modified versions you distribute. + +The name and trademarks of the Authors may NOT be used in any manner, including advertising +or publicity pertaining to the WS-Addressing Specification or its contents without specific, +written prior permission. Title to copyright in the WS-Addressing Specification will at all +times remain with the Authors. + +No other rights are granted by implication, estoppel or otherwise. + +--> +<xs:schema targetNamespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" elementFormDefault="qualified" blockDefault="#all"> + <!-- //////////////////// WS-Addressing //////////////////// --> + <!-- Endpoint reference --> + <xs:element name="EndpointReference" type="wsa:EndpointReferenceType"/> + <xs:complexType name="EndpointReferenceType"> + <xs:sequence> + <xs:element name="Address" type="wsa:AttributedURI"/> + <xs:element name="ReferenceProperties" type="wsa:ReferencePropertiesType" minOccurs="0"/> + <xs:element name="ReferenceParameters" type="wsa:ReferenceParametersType" minOccurs="0"/> + <xs:element name="PortType" type="wsa:AttributedQName" minOccurs="0"/> + <xs:element name="ServiceName" type="wsa:ServiceNameType" minOccurs="0"/> + <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"> + <xs:annotation> + <xs:documentation> + If "Policy" elements from namespace "http://schemas.xmlsoap.org/ws/2002/12/policy#policy" are used, they must appear first (before any extensibility elements). + </xs:documentation> + </xs:annotation> + </xs:any> + </xs:sequence> + <xs:anyAttribute namespace="##other" processContents="lax"/> + </xs:complexType> + <xs:complexType name="ReferencePropertiesType"> + <xs:sequence> + <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="ReferenceParametersType"> + <xs:sequence> + <xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + <xs:complexType name="ServiceNameType"> + <xs:simpleContent> + <xs:extension base="xs:QName"> + <xs:attribute name="PortName" type="xs:NCName"/> + <xs:anyAttribute namespace="##other" processContents="lax"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + <!-- Message information header blocks --> + <xs:element name="MessageID" type="wsa:AttributedURI"/> + <xs:element name="RelatesTo" type="wsa:Relationship"/> + <xs:element name="To" type="wsa:AttributedURI"/> + <xs:element name="Action" type="wsa:AttributedURI"/> + <xs:element name="From" type="wsa:EndpointReferenceType"/> + <xs:element name="ReplyTo" type="wsa:EndpointReferenceType"/> + <xs:element name="FaultTo" type="wsa:EndpointReferenceType"/> + <xs:complexType name="Relationship"> + <xs:simpleContent> + <xs:extension base="xs:anyURI"> + <xs:attribute name="RelationshipType" type="xs:QName" use="optional"/> + <xs:anyAttribute namespace="##other" processContents="lax"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + <xs:simpleType name="RelationshipTypeValues"> + <xs:restriction base="xs:QName"> + <xs:enumeration value="wsa:Reply"/> + </xs:restriction> + </xs:simpleType> + <!-- + June 19, 2007: The ReplyAfter element is deprecated. The name of this element does not match the + name (RetryAfter) used in the specification (http://www.w3.org/Submission/2004/SUBM-ws-addressing-20040810/). + --> + <xs:element name="ReplyAfter" type="wsa:ReplyAfterType"/> + <xs:complexType name="ReplyAfterType"> + <xs:simpleContent> + <xs:extension base="xs:nonNegativeInteger"> + <xs:anyAttribute namespace="##other"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + <!-- + June 19, 2007: The RetryAfter element has been added to be consistent with the specification + (http://www.w3.org/Submission/2004/SUBM-ws-addressing-20040810/). + --> + <xs:element name="RetryAfter" type="wsa:RetryAfterType"/> + <xs:complexType name="RetryAfterType"> + <xs:simpleContent> + <xs:extension base="xs:nonNegativeInteger"> + <xs:anyAttribute namespace="##other"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + <xs:simpleType name="FaultSubcodeValues"> + <xs:restriction base="xs:QName"> + <xs:enumeration value="wsa:InvalidMessageInformationHeader"/> + <xs:enumeration value="wsa:MessageInformationHeaderRequired"/> + <xs:enumeration value="wsa:DestinationUnreachable"/> + <xs:enumeration value="wsa:ActionNotSupported"/> + <xs:enumeration value="wsa:EndpointUnavailable"/> + </xs:restriction> + </xs:simpleType> + <xs:attribute name="Action" type="xs:anyURI"/> + <!-- Common declarations and definitions --> + <xs:complexType name="AttributedQName"> + <xs:simpleContent> + <xs:extension base="xs:QName"> + <xs:anyAttribute namespace="##other" processContents="lax"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> + <xs:complexType name="AttributedURI"> + <xs:simpleContent> + <xs:extension base="xs:anyURI"> + <xs:anyAttribute namespace="##other" processContents="lax"/> + </xs:extension> + </xs:simpleContent> + </xs:complexType> +</xs:schema> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ale...@us...> - 2009-06-10 13:13:35
|
Revision: 255 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=255&view=rev Author: alexloewen Date: 2009-06-10 13:13:26 +0000 (Wed, 10 Jun 2009) Log Message: ----------- fixed updateCategory and addCategory Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/IliasAdapter_addCategory/Input.xml Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/IliasAdapter_addCategory/Input.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/IliasAdapter_addCategory/Input.xml 2009-06-10 13:13:20 UTC (rev 254) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/IliasAdapter_addCategory/Input.xml 2009-06-10 13:13:26 UTC (rev 255) @@ -1,3 +1,4 @@ + <soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ili="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:dt="http://cse.campussource.de/schema/DataTypes"> <soapenv:Body> <ili:processCategory> @@ -8,9 +9,15 @@ <!--Zero or more repetitions:--> <dt:attribute> <dt:name>name</dt:name> - <dt:value>Fakultät 4 (Sprach-, Literatur- u. Kulturwissenschaften)</dt:value> + <dt:value>Fakultät 5</dt:value> <dt:transient>false</dt:transient> </dt:attribute> + <!--- - - - - Attribute: clientId - - - - - --> + <dt:attribute> + <dt:name>clientId</dt:name> + <dt:value>lecture:32350</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--Optional:--> <dt:parent>?string?</dt:parent> <!--Optional:--> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ale...@us...> - 2009-06-10 13:13:22
|
Revision: 254 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=254&view=rev Author: alexloewen Date: 2009-06-10 13:13:20 +0000 (Wed, 10 Jun 2009) Log Message: ----------- fixed updateCategory and addCategory Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCategory.bpel trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/UpdateCategory.bpel Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCategory.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCategory.bpel 2009-06-10 12:36:49 UTC (rev 253) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCategory.bpel 2009-06-10 13:13:20 UTC (rev 254) @@ -4,6 +4,7 @@ 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" @@ -49,7 +50,7 @@ <from> <literal> <Object xmlns="http://cse.campussource.de/schema/ilias/objects" type="cat"> - <Title>category2</Title> + <Title>categoryTest</Title> <Description>test category</Description> </Object> </literal> @@ -58,8 +59,17 @@ </copy> </assign> +<!-- Copy the actial Title! .category/dt:attribute[dt:name = 'name']/dt:value!--> + <assign name="CopyTheTitle"> + <copy> + <from>$AddCategoryIn.category/dt:attribute[dt:name = 'name']/dt:value</from> + <to>$CategoryXML/il_objs:Title/text()</to> + </copy> + </assign> + + <!-- Render XML to string --> - <assign name="marshalCategoryXML"> + <assign name="marshalCategoryXMLToString"> <copy> <from>sxxf:doMarshal($CategoryXML)</from> <to>$AddObjectIn.object_xml</to> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/UpdateCategory.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/UpdateCategory.bpel 2009-06-10 12:36:49 UTC (rev 253) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/UpdateCategory.bpel 2009-06-10 13:13:20 UTC (rev 254) @@ -20,7 +20,6 @@ <partnerLink name="IliasAdpater" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/UpdateCategory" partnerLinkType="tns:UpdateCategory" myRole="UpdateCategoryPortTypeRole"/> </partnerLinks> <variables> - <variable name="testVariable1" type="xsd:string"/> <variable name="GetObjectsByTitleOut" xmlns:tns="urn:ilUserAdministration" messageType="tns:getObjectsByTitleResponse"/> <variable name="GetObjectsByTitleIn" xmlns:tns="urn:ilUserAdministration" messageType="tns:getObjectsByTitleRequest"/> <variable name="UpdateObjectsOut" xmlns:tns="urn:ilUserAdministration" messageType="tns:updateObjectsResponse"/> @@ -79,21 +78,10 @@ <to>$CategoryXMLtransformed/il_objs:Object/il_objs:Title/text()</to> </copy> </assign> - - <assign name="Assign1"> - <copy> - <from>$UpdateCategoryIn.category/dt:attribute[dt:name = 'name']/dt:value</from> - <to>$testVariable1</to> - </copy> - </assign> + <assign name="deleteNamespaces"> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <ns0:from>concat('***Title=: ', $testVariable1)</ns0:from> - </sxt:log> - </sxt:trace> - <copy> + <copy> <from>ns0:doXslTransform('urn:stylesheets:deleteObjectsNS.xsl', $CategoryXMLtransformed)</from> <to variable="CategoryXML"/> </copy> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ale...@us...> - 2009-06-10 12:56:43
|
Revision: 253 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=253&view=rev Author: alexloewen Date: 2009-06-10 12:36:49 +0000 (Wed, 10 Jun 2009) Log Message: ----------- edited updateCategory and UpdateCourse. Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/CSEIPCA/build.xml trunk/sandbox/lsf-adapter-demo/CSEIPCA/nbproject/build-impl.xml trunk/sandbox/lsf-adapter-demo/CSEIPCA/nbproject/genfiles.properties trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_updateCategory/Input.xml trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_updateCourse/Input.xml Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/build.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/build.xml 2009-06-10 12:36:38 UTC (rev 252) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/build.xml 2009-06-10 12:36:49 UTC (rev 253) @@ -1,24 +1,79 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- You may freely edit this file. See commented blocks below for --> +<!-- some examples of how to customize the build. --> +<!-- (If you delete it and reopen the project it will be recreated.) --> <project name="" default="default" basedir="." xmlns:web="http://www.netbeans.org/ns/j2ee-ejbjarproject/1"> + <description>Builds, tests, and runs the project .</description> <import file="nbproject/build-impl.xml"/> - <target name="init-esb-ide" if="netbeans.home"> + <!-- + + There exist several targets which are by default empty and which can be + used for execution of your tasks. These targets are usually executed + before and after some main targets. They are: + + pre-init: called before initialization of project properties + post-init: called after initialization of project properties + pre-compile: called before javac compilation + post-compile: called after javac compilation + pre-compile-single: called before javac compilation of single file + post-compile-single: called after javac compilation of single file + pre-dist: called before jar building + post-dist: called after jar building + post-clean: called after cleaning build products + + Example of pluging an obfuscator after the compilation could look like + + <target name="post-compile"> + <obfuscate> + <fileset dir="${build.classes.dir}"/> + </obfuscate> + </target> + + For list of available properties check the imported + nbproject/build-impl.xml file. + + + Other way how to customize the build is by overriding existing main targets. + The target of interest are: + + init-macrodef-javac: defines macro for javac compilation + init-macrodef-debug: defines macro for class debugging + do-dist: jar archive building + run: execution of project + javadoc-build: javadoc generation + + Example of overriding the target for project execution could look like + + <target name="run" depends="<PROJNAME>-impl.jar"> + <exec dir="bin" executable="launcher.exe"> + <arg file="${dist.jar}"/> + </exec> + </target> + + Notice that overridden target depends on jar target and not only on + compile target as regular run target does. Again, for list of available + properties which you can use check the target you are overriding in + nbproject/build-impl.xml file. + + --> + <target name="-init-esb-ide" if="netbeans.home"> <property name="esb.netbeans.platform" value="${netbeans.home}"/> </target> - <target name="init-esb-cli" unless="netbeans.home"> + <target name="-init-esb-cmdline" unless="netbeans.home"> <property file="${basedir}/nbproject/private/private.properties"/> <property name="esb.netbeans.platform" value="${esb.netbeans.home}/platform9"/> <property name="netbeans.user" value="${esb.netbeans.user}"/> <property name="from.commandline" value="true"/> </target> - <target name="check-catd-context"> + <target name="-check-catd-context"> <condition property="no.catd.context"> <not> <isset property="org.netbeans.modules.compapp.catd.context"/> </not> </condition> </target> - <target name="init-catd" if="no.catd.context"> + <target name="-init-catd" if="no.catd.context"> <property name="org.netbeans.modules.compapp.catd.context" value=""/> </target> - <target name="pre-init" depends="init-esb-ide,init-esb-cli,check-catd-context,init-catd"/> + <target name="pre-init" depends="-init-esb-ide,-init-esb-cmdline,-check-catd-context,-init-catd"/> </project> Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/nbproject/build-impl.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/nbproject/build-impl.xml 2009-06-10 12:36:38 UTC (rev 252) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/nbproject/build-impl.xml 2009-06-10 12:36:49 UTC (rev 253) @@ -1,13 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - *** GENERATED FROM project.xml - DO NOT EDIT *** - *** EDIT ../build.xml INSTEAD *** ---> + *** GENERATED FROM project.xml - DO NOT EDIT *** + *** EDIT ../build.xml INSTEAD *** + + For the purpose of easier reading the script + is divided into following sections: + + - initialization + - compilation + - dist + - execution + - debugging + - cleanup + + --> <project name="CSEIPCA-jbi-impl" default="build" basedir=".."> - <target name="default" depends="dist"/> + <target name="default" depends="dist" description="Build whole project."/> <!-- - INITIALIZATION SECTION - --> + INITIALIZATION SECTION + --> <target name="pre-init"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> @@ -25,9 +36,10 @@ <property file="nbproject/project.properties"/> </target> <target name="do-init" depends="pre-init,init-private,init-userdir,init-user,init-project"> + <!-- The two properties below are usually overridden --> + <!-- by the active platform. Just a fallback. --> <property name="default.javac.source" value="1.4"/> <property name="default.javac.target" value="1.4"/> - <property name="esb.netbeans.platform" value="${netbeans.home}"/> <condition property="have.tests"> <or> <available file="${test.dir}"/> @@ -106,8 +118,8 @@ </target> <target name="init" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init,post-init,init-check,-init-taskdefs"/> <!-- - COMPILATION SECTION - --> + COMPILATION SECTION + --> <target name="deps-jar" depends="init" unless="${no.dependencies}"> <ant target="dist_se" inheritall="false" antfile="${project.Common}/build.xml"/> <property name="Common.su.name" value="Common"/> @@ -241,7 +253,7 @@ <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="compile" depends="init,deps-jar,pre-pre-compile,pre-compile,do-compile,post-compile"/> + <target name="compile" depends="init,deps-jar,pre-pre-compile,pre-compile,do-compile,post-compile" description="Compile project."/> <target name="pre-compile-single"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> @@ -255,9 +267,9 @@ </target> <target name="compile-single" depends="init,deps-jar,pre-pre-compile,pre-compile-single,do-compile-single,post-compile-single"/> <!-- - DIST BUILDING SECTION - --> - <target name="jbi-build" depends="init,init-deploy,deps-jar,deps-javaee-jar"> + DIST BUILDING SECTION + --> + <target name="jbi-build" depends="init,init-deploy,deps-jar,deps-javaee-jar" description="Build Service Assembly."> <mkdir dir="${src.dir}"/> <copy todir="${src.dir}/../jbiServiceUnits" overwrite="true"> <fileset dir="${src.dir}"/> @@ -277,12 +289,12 @@ <fileset dir="${build.dir}" excludes="jar/*"/> </jar> </target> - <target name="jbi-clean-build" depends="init,init-deploy,clean,jbi-build"/> - <target name="dist" depends="jbi-build"/> + <target name="jbi-clean-build" depends="init,init-deploy,clean,jbi-build" description="Clean and Build Service Assembly."/> + <target name="dist" depends="jbi-build" description="Build distribution (JAR)."/> <!-- - EXECUTION SECTION - --> - <target name="run" depends="jbi-build,run-jbi-deploy"/> + EXECUTION SECTION + --> + <target name="run" depends="jbi-build,run-jbi-deploy" description="Deploy to server."/> <target name="init-deploy"> <property name="include.jar.manifest" value=""/> </target> @@ -310,9 +322,9 @@ <teardown-debug-environment netBeansUserDir="${netbeans.user}" j2eeServerInstance="${j2ee.server.instance}"/> </target> <!-- - DEBUGGING SECTION - --> - <target name="debug" depends="run,-pre-debug" if="esb.netbeans.platform"/> + DEBUGGING SECTION + --> + <target name="debug" description="Debug project in IDE." depends="run,-pre-debug" if="esb.netbeans.platform"/> <target name="pre-debug-fix" depends="init"> <fail unless="fix.includes">Must set fix.includes</fail> <property name="javac.includes" value="${fix.includes}.java"/> @@ -322,8 +334,8 @@ </target> <target name="debug-fix" if="esb.netbeans.platform" depends="init,pre-debug-fix,do-debug-fix"/> <!-- - CLEANUP SECTION - --> + CLEANUP SECTION + --> <target name="deps-clean" depends="init" unless="${no.dependencies}"> <ant target="clean" inheritall="false" antfile="${project.Common}/build.xml"/> <ant target="clean" inheritall="false" antfile="${project.ILIASClientAdapter}/build.xml"/> @@ -341,15 +353,16 @@ <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="clean" depends="init,deps-clean,do-clean,post-clean"/> - <target name="jbi-clean-config" depends="init,clear-casa,jbi-clean-build"/> + <target name="clean" depends="init,deps-clean,do-clean,post-clean" description="Clean build products."/> + <target name="jbi-clean-config" depends="init,clear-casa,jbi-clean-build" description="Clean service assembly."/> <target name="clear-casa"> <delete file="${source.root}/conf/${jbi.service-assembly.id}.casa"/> <delete file="${src.dir}/${jbi.service-assembly.id}.wsdl"/> </target> <!-- - JUNIT EXECUTION SECTION - --> + JUNIT EXECUTION SECTION + ======================= + --> <target name="-pre-test-run" if="have.tests" depends="init"> <mkdir dir="${test.results.dir}"/> <path id="unit.test.classpath"> @@ -425,12 +438,12 @@ </target> <target name="test-report" if="have.tests" depends="init"/> <target name="-test-browse" if="esb.netbeans.platform+have.tests" depends="init"/> - <target name="test" depends="init,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse"/> - <target name="test-single" depends="init,-pre-test-run,-do-single-test-run,test-report,-post-single-test-run,-test-browse"/> - <target name="debug-single" depends="init,-pre-test-run,-pre-debug,-do-single-test-run,-post-debug,test-report,-post-single-test-run,-test-browse"/> + <target name="test" depends="init,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests."/> + <target name="test-single" depends="init,-pre-test-run,-do-single-test-run,test-report,-post-single-test-run,-test-browse" description="Run unit tests."/> + <target name="debug-single" depends="init,-pre-test-run,-pre-debug,-do-single-test-run,-post-debug,test-report,-post-single-test-run,-test-browse" description="Debug unit tests."/> <target name="-post-unit-test-run" if="have.tests+tests.failed" depends="init,-pre-test-run,-do-test-run"> <echo>Some tests failed; see details above.</echo> </target> - <target name="unit-test" depends="init,-pre-test-run,-do-test-run,test-report,-post-unit-test-run,-test-browse"/> - <target name="jbi-unit-test" depends="run,unit-test,undeploy"/> + <target name="unit-test" depends="init,-pre-test-run,-do-test-run,test-report,-post-unit-test-run,-test-browse" description="Run unit tests in a batch."/> + <target name="jbi-unit-test" depends="run,unit-test,undeploy" description="build, deploy, test, and undeploy."/> </project> Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/nbproject/genfiles.properties =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/nbproject/genfiles.properties 2009-06-10 12:36:38 UTC (rev 252) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/nbproject/genfiles.properties 2009-06-10 12:36:49 UTC (rev 253) @@ -1,8 +1,8 @@ build.xml.data.CRC32=b15138c1 -build.xml.script.CRC32=22f94a4b -build.xml.stylesheet.CRC32=b168c0ed +build.xml.script.CRC32=bd4e221c +build.xml.stylesheet.CRC32=d4244632 # 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=b15138c1 -nbproject/build-impl.xml.script.CRC32=cbf50caf -nbproject/build-impl.xml.stylesheet.CRC32=2f99740f +nbproject/build-impl.xml.script.CRC32=29630ce0 +nbproject/build-impl.xml.stylesheet.CRC32=c7d487f2 Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa 2009-06-10 12:36:38 UTC (rev 252) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa 2009-06-10 12:36:49 UTC (rev 253) @@ -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://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateCategory" xmlns:ns11="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/UpdateCategory" xmlns:ns12="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCategory" xmlns:ns13="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCategory" xmlns:ns14="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCourse" xmlns:ns15="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/AddCourse" xmlns:ns16="http://cse.campussource.de/bpel/ILIASClientAdapter/UpdateCourse" xmlns:ns17="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/UpdateCourse" xmlns:ns18="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCategory" xmlns:ns19="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/AddCategory" xmlns:ns2="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" xmlns:ns20="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCourse" xmlns:ns21="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCourse" xmlns:ns22="http://cse.campussource.de/bpel/ILIASClientAdapter/OutboundClientAdapter" xmlns:ns23="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" xmlns:ns24="http://enterprise.netbeans.org/bpel/ObjectProcessor/ReplyProcessor" xmlns:ns25="http://enterprise.netbeans.org/bpel/ObjectProcessor/newProcess" xmlns:ns26="http://enterprise.netbeans.org/bpel/LSFClientAdapter/InboundClientAdapter" xmlns:ns3="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" xmlns:ns4="LSFClientAdapterCA" xmlns:ns5="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/LSFClientAdapter" xmlns:ns6="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" xmlns:ns7="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:ns8="http://cse.campussource.de/bpel/ILIASClientAdapter/Login" xmlns:ns9="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/Login" xmlns:xlink="http://www.w3.org/2000/xlink"> +<casa xmlns="http://java.sun.com/xml/ns/casa" xmlns:ns1="urn:ilUserAdministration" xmlns:ns10="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/Login" xmlns:ns11="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCategory" xmlns:ns12="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/AddCategory" xmlns:ns13="http://cse.campussource.de/bpel/ILIASClientAdapter/UpdateCourse" xmlns:ns14="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/UpdateCourse" xmlns:ns15="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCourse" xmlns:ns16="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/AddCourse" xmlns:ns17="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateCategory" xmlns:ns18="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/UpdateCategory" xmlns:ns19="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCourse" xmlns:ns2="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" xmlns:ns20="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCourse" xmlns:ns21="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCategory" xmlns:ns22="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCategory" xmlns:ns23="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" xmlns:ns24="http://enterprise.netbeans.org/bpel/ObjectProcessor/ReplyProcessor" xmlns:ns25="http://enterprise.netbeans.org/bpel/ObjectProcessor/newProcess" xmlns:ns26="http://enterprise.netbeans.org/bpel/LSFClientAdapter/InboundClientAdapter" xmlns:ns3="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" xmlns:ns4="LSFClientAdapterCA" xmlns:ns5="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/LSFClientAdapter" xmlns:ns6="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" xmlns:ns7="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:ns8="http://cse.campussource.de/bpel/ILIASClientAdapter/OutboundClientAdapter" xmlns:ns9="http://cse.campussource.de/bpel/ILIASClientAdapter/Login" 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,30 +7,30 @@ <endpoint endpoint-name="casaPort1" interface-name="ns5:LSFClientAdapterPortType" name="endpoint4" service-name="ns4:casaService1"/> <endpoint endpoint-name="ObjectProcessorPortTypeBindingPort" interface-name="ns6:ObjectProcessorPortType" name="endpoint5" service-name="ns6:ObjectProcessorService"/> <endpoint endpoint-name="ILIASClientAdapterPort" interface-name="ns7:ILIASClientAdapterPortType" name="endpoint6" service-name="ns7:ILIASClientAdapterService"/> - <endpoint display-name="IliasAdapter" endpoint-name="LoginPortTypeRole_myRole" file-path="Login.bpel" interface-name="ns9:LoginPortType" name="endpoint7" process-name="Login" service-name="ns8:IliasAdapter"/> - <endpoint display-name="IliasAdpater" endpoint-name="UpdateCategoryPortTypeRole_myRole" file-path="UpdateCategory.bpel" interface-name="ns11:UpdateCategoryPortType" name="endpoint8" process-name="UpdateCategory" service-name="ns10:IliasAdpater"/> - <endpoint display-name="IliasAdapter" endpoint-name="DeleteCategoryPortTypeRole_myRole" file-path="DeleteCategory.bpel" interface-name="ns13:DeleteCategoryPortType" name="endpoint9" process-name="DeleteCategory" service-name="ns12:IliasAdapter"/> - <endpoint display-name="IliasAdapter" endpoint-name="AddCoursePortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns15:AddCoursePortType" name="endpoint10" process-name="AddCourse" service-name="ns14:IliasAdapter"/> - <endpoint display-name="IliasAdapter" endpoint-name="UpdateCoursePortTypeRole_myRole" file-path="UpdateCourse.bpel" interface-name="ns17:UpdateCoursePortType" name="endpoint11" process-name="UpdateCourse" service-name="ns16:IliasAdapter"/> - <endpoint display-name="IliasAdapter" endpoint-name="AddCategoryPortTypeRole_myRole" file-path="AddCategory.bpel" interface-name="ns19:AddCategoryPortType" name="endpoint12" process-name="AddCategory" service-name="ns18:IliasAdapter"/> - <endpoint display-name="IliasAdapter" endpoint-name="DeleteCoursePortTypeRole_myRole" file-path="DeleteCourse.bpel" interface-name="ns21:DeleteCoursePortType" name="endpoint13" process-name="DeleteCourse" service-name="ns20:IliasAdapter"/> - <endpoint display-name="ILIASAdapter" endpoint-name="ILIASClientAdapterPortTypeRole_myRole" file-path="OutboundClientAdapter.bpel" interface-name="ns7:ILIASClientAdapterPortType" name="endpoint14" process-name="OutboundClientAdapter" service-name="ns22:ILIASAdapter"/> - <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="Login.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint15" process-name="Login" service-name="ns8:ILIAS"/> - <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint16" process-name="UpdateCategory" service-name="ns10:ILIAS"/> - <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint17" process-name="DeleteCategory" service-name="ns12:ILIAS"/> - <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint18" process-name="AddCourse" service-name="ns14:ILIAS"/> - <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint19" process-name="UpdateCourse" service-name="ns16:ILIAS"/> - <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint20" process-name="AddCategory" service-name="ns18:ILIAS"/> - <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint21" process-name="DeleteCourse" service-name="ns20:ILIAS"/> - <endpoint display-name="Login" endpoint-name="LoginPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns9:LoginPortType" name="endpoint22" process-name="OutboundClientAdapter" service-name="ns22:Login"/> - <endpoint display-name="AddCourse" endpoint-name="AddCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns15:AddCoursePortType" name="endpoint23" process-name="OutboundClientAdapter" service-name="ns22:AddCourse"/> - <endpoint display-name="UpdateCourse" endpoint-name="UpdateCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns17:UpdateCoursePortType" name="endpoint24" process-name="OutboundClientAdapter" service-name="ns22:UpdateCourse"/> - <endpoint display-name="DeleteCourse" endpoint-name="DeleteCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns21:DeleteCoursePortType" name="endpoint25" process-name="OutboundClientAdapter" service-name="ns22:DeleteCourse"/> - <endpoint display-name="AddCategory" endpoint-name="AddCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns19:AddCategoryPortType" name="endpoint26" process-name="OutboundClientAdapter" service-name="ns22:AddCategory"/> - <endpoint display-name="UpdateCategory" endpoint-name="UpdateCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns11:UpdateCategoryPortType" name="endpoint27" process-name="OutboundClientAdapter" service-name="ns22:UpdateCategory"/> - <endpoint display-name="DeleteCategory" endpoint-name="DeleteCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns13:DeleteCategoryPortType" name="endpoint28" process-name="OutboundClientAdapter" service-name="ns22:DeleteCategory"/> - <endpoint display-name="ReplyProcessor" endpoint-name="ReplyProcessorPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns23:ReplyProcessorPortType" name="endpoint29" process-name="OutboundClientAdapter" service-name="ns22:ReplyProcessor"/> - <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint30" process-name="OutboundClientAdapter" service-name="ns22:ILIAS"/> + <endpoint display-name="ILIASAdapter" endpoint-name="ILIASClientAdapterPortTypeRole_myRole" file-path="OutboundClientAdapter.bpel" interface-name="ns7:ILIASClientAdapterPortType" name="endpoint7" process-name="OutboundClientAdapter" service-name="ns8:ILIASAdapter"/> + <endpoint display-name="IliasAdapter" endpoint-name="LoginPortTypeRole_myRole" file-path="Login.bpel" interface-name="ns10:LoginPortType" name="endpoint8" process-name="Login" service-name="ns9:IliasAdapter"/> + <endpoint display-name="IliasAdapter" endpoint-name="AddCategoryPortTypeRole_myRole" file-path="AddCategory.bpel" interface-name="ns12:AddCategoryPortType" name="endpoint9" process-name="AddCategory" service-name="ns11:IliasAdapter"/> + <endpoint display-name="IliasAdapter" endpoint-name="UpdateCoursePortTypeRole_myRole" file-path="UpdateCourse.bpel" interface-name="ns14:UpdateCoursePortType" name="endpoint10" process-name="UpdateCourse" service-name="ns13:IliasAdapter"/> + <endpoint display-name="IliasAdapter" endpoint-name="AddCoursePortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns16:AddCoursePortType" name="endpoint11" process-name="AddCourse" service-name="ns15:IliasAdapter"/> + <endpoint display-name="IliasAdpater" endpoint-name="UpdateCategoryPortTypeRole_myRole" file-path="UpdateCategory.bpel" interface-name="ns18:UpdateCategoryPortType" name="endpoint12" process-name="UpdateCategory" service-name="ns17:IliasAdpater"/> + <endpoint display-name="IliasAdapter" endpoint-name="DeleteCoursePortTypeRole_myRole" file-path="DeleteCourse.bpel" interface-name="ns20:DeleteCoursePortType" name="endpoint13" process-name="DeleteCourse" service-name="ns19:IliasAdapter"/> + <endpoint display-name="IliasAdapter" endpoint-name="DeleteCategoryPortTypeRole_myRole" file-path="DeleteCategory.bpel" interface-name="ns22:DeleteCategoryPortType" name="endpoint14" process-name="DeleteCategory" service-name="ns21:IliasAdapter"/> + <endpoint display-name="Login" endpoint-name="LoginPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns10:LoginPortType" name="endpoint15" process-name="OutboundClientAdapter" service-name="ns8:Login"/> + <endpoint display-name="AddCourse" endpoint-name="AddCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns16:AddCoursePortType" name="endpoint16" process-name="OutboundClientAdapter" service-name="ns8:AddCourse"/> + <endpoint display-name="UpdateCourse" endpoint-name="UpdateCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns14:UpdateCoursePortType" name="endpoint17" process-name="OutboundClientAdapter" service-name="ns8:UpdateCourse"/> + <endpoint display-name="DeleteCourse" endpoint-name="DeleteCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns20:DeleteCoursePortType" name="endpoint18" process-name="OutboundClientAdapter" service-name="ns8:DeleteCourse"/> + <endpoint display-name="AddCategory" endpoint-name="AddCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns12:AddCategoryPortType" name="endpoint19" process-name="OutboundClientAdapter" service-name="ns8:AddCategory"/> + <endpoint display-name="UpdateCategory" endpoint-name="UpdateCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns18:UpdateCategoryPortType" name="endpoint20" process-name="OutboundClientAdapter" service-name="ns8:UpdateCategory"/> + <endpoint display-name="DeleteCategory" endpoint-name="DeleteCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns22:DeleteCategoryPortType" name="endpoint21" process-name="OutboundClientAdapter" service-name="ns8:DeleteCategory"/> + <endpoint display-name="ReplyProcessor" endpoint-name="ReplyProcessorPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns23:ReplyProcessorPortType" name="endpoint22" process-name="OutboundClientAdapter" service-name="ns8:ReplyProcessor"/> + <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint23" process-name="OutboundClientAdapter" service-name="ns8:ILIAS"/> + <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="Login.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint24" process-name="Login" service-name="ns9:ILIAS"/> + <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint25" process-name="AddCategory" service-name="ns11:ILIAS"/> + <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint26" process-name="UpdateCourse" service-name="ns13:ILIAS"/> + <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint27" process-name="AddCourse" service-name="ns15:ILIAS"/> + <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint28" process-name="UpdateCategory" service-name="ns17:ILIAS"/> + <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint29" process-name="DeleteCourse" service-name="ns19:ILIAS"/> + <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint30" process-name="DeleteCategory" service-name="ns21:ILIAS"/> <endpoint display-name="ClientAdapter" endpoint-name="ReplyProcessorPortTypeRole_myRole" file-path="ReplyProcessor.bpel" interface-name="ns23:ReplyProcessorPortType" name="endpoint31" process-name="ReplyProcessor" service-name="ns24:ClientAdapter"/> <endpoint display-name="ClientAdapter" endpoint-name="ObjectProcessorPortTypeRole_myRole" file-path="InboundObjectProcessor.bpel" interface-name="ns6:ObjectProcessorPortType" name="endpoint32" process-name="InboundObjectProcessor" service-name="ns25:ClientAdapter"/> <endpoint display-name="IdentityMapper" endpoint-name="IdentityMapperPortTypeRole_partnerRole" file-path="InboundObjectProcessor.bpel" interface-name="ns2:IdentityMapperPortType" name="endpoint33" process-name="InboundObjectProcessor" service-name="ns25:IdentityMapper"/> @@ -91,13 +91,18 @@ <consumes endpoint="endpoint4"/> <provides endpoint="endpoint4"/> </port> - <port x="67" y="345"> - <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 x="0" y="-1"> + <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ilias-3.10.5-fixed.wsdl#xpointer(/definitions/service[@name='ILIASSoapWebservice']/port[@name='ILIASSoapWebservicePort'])" xlink:type="simple"/> + <consumes endpoint="endpoint1"/> + <provides endpoint="endpoint1"/> </port> - <port x="67" y="268"> - <link xlink:href="../jbiServiceUnits/ObjectProcessor/InboundObjectProcessor.wsdl#xpointer(/definitions/service[@name='ObjectProcessorService']/port[@name='ObjectProcessorPortTypeBindingPort'])" xlink:type="simple"/> + <port x="67" y="37"> + <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ILIASClientAdapter.wsdl#xpointer(/definitions/service[@name='ILIASClientAdapterService']/port[@name='ILIASClientAdapterPort'])" xlink:type="simple"/> + <consumes endpoint="endpoint6"/> + <provides endpoint="endpoint6"/> + </port> + <port 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"/> <consumes endpoint="endpoint5"/> <provides endpoint="endpoint5"/> </port> @@ -106,106 +111,101 @@ <consumes endpoint="endpoint2"/> <provides endpoint="endpoint2"/> </port> - <port x="67" y="114"> - <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="345"> + <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 x="67" y="37"> - <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ILIASClientAdapter.wsdl#xpointer(/definitions/service[@name='ILIASClientAdapterService']/port[@name='ILIASClientAdapterPort'])" xlink:type="simple"/> - <consumes endpoint="endpoint6"/> - <provides endpoint="endpoint6"/> - </port> </ports> </binding-component-service-unit> </service-units> <connections> - <connection consumer="endpoint22" provider="endpoint7" state="unchanged"/> - <connection consumer="endpoint15" provider="endpoint1" state="unchanged"/> - <connection consumer="endpoint16" provider="endpoint1" state="unchanged"/> - <connection consumer="endpoint17" provider="endpoint1" state="unchanged"/> - <connection consumer="endpoint18" provider="endpoint1" state="unchanged"/> - <connection consumer="endpoint19" provider="endpoint1" state="unchanged"/> - <connection consumer="endpoint20" provider="endpoint1" state="unchanged"/> - <connection consumer="endpoint21" provider="endpoint1" state="unchanged"/> + <connection consumer="endpoint23" provider="endpoint1" state="unchanged"/> + <connection consumer="endpoint24" provider="endpoint1" state="unchanged"/> + <connection consumer="endpoint25" provider="endpoint1" state="unchanged"/> + <connection consumer="endpoint26" provider="endpoint1" 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="endpoint24" provider="endpoint11" state="unchanged"/> + <connection consumer="endpoint15" provider="endpoint8" state="unchanged"/> <connection consumer="endpoint2" provider="endpoint34" state="unchanged"/> <connection consumer="endpoint33" provider="endpoint34" state="unchanged"/> + <connection consumer="endpoint17" provider="endpoint10" state="unchanged"/> <connection consumer="endpoint3" provider="endpoint35" state="unchanged"/> <connection consumer="endpoint37" provider="endpoint35" state="unchanged"/> <connection consumer="endpoint4" provider="endpoint36" state="unchanged"/> - <connection consumer="endpoint23" provider="endpoint10" state="unchanged"/> + <connection consumer="endpoint16" provider="endpoint11" state="unchanged"/> <connection consumer="endpoint5" provider="endpoint32" state="unchanged"/> <connection consumer="endpoint38" provider="endpoint32" state="unchanged"/> - <connection consumer="endpoint25" provider="endpoint13" state="unchanged"/> - <connection consumer="endpoint28" provider="endpoint9" state="unchanged"/> - <connection consumer="endpoint6" provider="endpoint14" state="unchanged"/> - <connection consumer="endpoint27" provider="endpoint8" state="unchanged"/> - <connection consumer="endpoint29" provider="endpoint31" state="unchanged"/> - <connection consumer="endpoint26" provider="endpoint12" state="unchanged"/> + <connection consumer="endpoint18" provider="endpoint13" state="unchanged"/> + <connection consumer="endpoint21" provider="endpoint14" state="unchanged"/> + <connection consumer="endpoint6" provider="endpoint7" state="unchanged"/> + <connection consumer="endpoint20" provider="endpoint12" state="unchanged"/> + <connection consumer="endpoint19" provider="endpoint9" state="unchanged"/> + <connection consumer="endpoint22" provider="endpoint31" state="unchanged"/> </connections> <porttypes> <link xlink:href="../jbiasa/CSEIPCA.wsdl#xpointer(/definitions/portType[@name='dummyCasaPortType'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/Common/CDMM.wsdl#xpointer(/definitions/portType[@name='CDMMPortType'])" 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/XSLTTransform/META-INF/wsdl/XSLTTransform/XSLTTransform.wsdl#xpointer(/definitions/portType[@name='XSLTTransformPortType'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/META-INF/Common/src/CDMM.wsdl#xpointer(/definitions/portType[@name='CDMMPortType'])" 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='IdentityMapperPortType'])" 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/UpdateCategory.wsdl#xpointer(/definitions/portType[@name='UpdateCategoryPortType'])" 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-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/ILIASClientAdapter.wsdl#xpointer(/definitions/portType[@name='ILIASClientAdapterPortType'])" 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/UpdateCategory.wsdl#xpointer(/definitions/portType[@name='UpdateCategoryPortType'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/DeleteCategory.wsdl#xpointer(/definitions/portType[@name='DeleteCategoryPortType'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/UpdateCourse.wsdl#xpointer(/definitions/portType[@name='UpdateCoursePortType'])" 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/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/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/Common/src/CDMM.wsdl#xpointer(/definitions/portType[@name='CDMMPortType'])" 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/IdentityMapper/META-INF/wsdl/IdentityMapperWS/IdentityMapper.wsdl#xpointer(/definitions/portType[@name='IdentityMapperPortType'])" 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/Common/CDMM.wsdl#xpointer(/definitions/portType[@name='CDMMPortType'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/CSEIPCA.wsdl#xpointer(/definitions/portType[@name='dummyCasaPortType'])" 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/ReplyProcessor.wsdl#xpointer(/definitions/portType[@name='ReplyProcessorPortType'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/ObjectProcessor/InboundObjectProcessor.wsdl#xpointer(/definitions/portType[@name='ObjectProcessorPortType'])" xlink:type="simple"/> </porttypes> <bindings> <link xlink:href="../jbiasa/CSEIPCA.wsdl#xpointer(/definitions/binding[@name='casaBinding1'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/Common/CDMM.wsdl#xpointer(/definitions/binding[@name='CDMMPortTypeBinding'])" 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/ILIASClientAdapter/ILIASClientAdapter.wsdl#xpointer(/definitions/binding[@name='ILIASClientAdapterBinding'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ilias-3.10.5.wsdl#xpointer(/definitions/binding[@name='ILIASSoapWebserviceBinding'])" xlink:type="simple"/> + <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/LSFClientAdapter/src/_references/_projects/ObjectProcessor/src/InboundObjectProcessor.wsdl#xpointer(/definitions/binding[@name='ObjectProcessorPortTypeBinding'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/META-INF/Common/src/CDMM.wsdl#xpointer(/definitions/binding[@name='CDMMPortTypeBinding'])" 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/LSFClientAdapter/LSFClientAdapter.wsdl#xpointer(/definitions/binding[@name='LSFClientAdapterPortTypeBinding'])" xlink:type="simple"/> <link xlink:href="../jbiServiceUnits/LSFClientAdapter/XSLTTransform.wsdl#xpointer(/definitions/binding[@name='XSLTTransformBinding'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/Common/CDMM.wsdl#xpointer(/definitions/binding[@name='CDMMPortTypeBinding'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/CSEIPCA.wsdl#xpointer(/definitions/binding[@name='casaBinding1'])" 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/InboundObjectProcessor.wsdl#xpointer(/definitions/binding[@name='ObjectProcessorPortTypeBinding'])" 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/META-INF/Common/src/CDMM.wsdl#xpointer(/definitions/binding[@name='CDMMPortTypeBinding'])" 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/IdentityMapper/src/conf/wsdl/IdentityMapperWS/IdentityMapper.wsdl#xpointer(/definitions/binding[@name='IdentityMapperBinding'])" xlink:type="simple"/> - <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/CSEIPCA.wsdl#xpointer(/definitions/binding[@name='casaBinding1'])" xlink:type="simple"/> - <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/ILIASClientAdapter/ilias-3.10.5.wsdl#xpointer(/definitions/binding[@name='ILIASSoapWebserviceBinding'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/IdentityMapper/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"/> </bindings> <services> <link xlink:href="../jbiasa/CSEIPCA.wsdl#xpointer(/definitions/service[@name='casaService1'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/Common/CDMM.wsdl#xpointer(/definitions/service[@name='CDMMService'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/LSFClientAdapter/XSLTTransform.wsdl#xpointer(/definitions/service[@name='XSLTTransformService'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/ObjectProcessor/InboundObjectProcessor.wsdl#xpointer(/definitions/service[@name='ObjectProcessorService'])" 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/ILIASClientAdapter/ilias-3.10.5-fixed.wsdl#xpointer(/definitions/service[@name='ILIASSoapWebservice'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ILIASClientAdapter.wsdl#xpointer(/definitions/service[@name='ILIASClientAdapterService'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ilias-3.10.5.wsdl#xpointer(/definitions/service[@name='ILIASSoapWebservice'])" xlink:type="simple"/> + <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/LSFClientAdapter/src/_references/_projects/ObjectProcessor/src/InboundObjectProcessor.wsdl#xpointer(/definitions/service[@name='ObjectProcessorService'])" xlink:type="simple"/> <link xlink:href="../jbiServiceUnits/META-INF/Common/src/CDMM.wsdl#xpointer(/definitions/service[@name='CDMMService'])" 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/IdentityMapper/src/conf/wsdl/IdentityMapperWS/IdentityMapper.wsdl#xpointer(/definitions/service[@name='IdentityMapperService'])" xlink:type="simple"/> - <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/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/LSFClientAdapter/XSLTTransform.wsdl#xpointer(/definitions/service[@name='XSLTTransformService'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/Common/CDMM.wsdl#xpointer(/definitions/service[@name='CDMMService'])" xlink:type="simple"/> <link xlink:href="../jbiServiceUnits/CSEIPCA.wsdl#xpointer(/definitions/service[@name='casaService1'])" xlink:type="simple"/> - <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/ILIASClientAdapter/ilias-3.10.5.wsdl#xpointer(/definitions/service[@name='ILIASSoapWebservice'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/IdentityMapper/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/XSLTTransform/META-INF/wsdl/XSLTTransform/XSLTTransform.wsdl#xpointer(/definitions/service[@name='XSLTTransformService'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/ObjectProcessor/InboundObjectProcessor.wsdl#xpointer(/definitions/service[@name='ObjectProcessorService'])" xlink:type="simple"/> </services> <regions> <region name="WSDL Endpoints" width="150"/> Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_updateCategory/Input.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_updateCategory/Input.xml 2009-06-10 12:36:38 UTC (rev 252) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_updateCategory/Input.xml 2009-06-10 12:36:49 UTC (rev 253) @@ -1,3 +1,4 @@ + <soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ili="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:dt="http://cse.campussource.de/schema/DataTypes"> <soapenv:Body> <ili:processCategory> @@ -8,9 +9,15 @@ <!--Zero or more repetitions:--> <dt:attribute> <dt:name>name</dt:name> - <dt:value>Fakultät 4 (Sprach-, Literatur- u. Kulturwissenschaften)</dt:value> + <dt:value>Lehrstuhl 10</dt:value> <dt:transient>false</dt:transient> </dt:attribute> + <!--- - - - - Attribute: clientId - - - - - --> + <dt:attribute> + <dt:name>clientId</dt:name> + <dt:value>lecture:32350</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--Optional:--> <dt:parent>?string?</dt:parent> <!--Optional:--> Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_updateCourse/Input.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_updateCourse/Input.xml 2009-06-10 12:36:38 UTC (rev 252) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_updateCourse/Input.xml 2009-06-10 12:36:49 UTC (rev 253) @@ -15,13 +15,13 @@ <!--- - - - - Attribute: title - - - - - --> <dt:attribute> <dt:name>title</dt:name> - <dt:value>Phonetische Aspekte des Russischem</dt:value> + <dt:value>Phonetische Aspekte des Chinesischen</dt:value> <dt:transient>false</dt:transient> </dt:attribute> <!--- - - - - Attribute: shortDescription - - - - - --> <dt:attribute> <dt:name>shortDescription</dt:name> - <dt:value>kurze Beschreibung tested</dt:value> + <dt:value>kurze TestBeschreibung 2</dt:value> <dt:transient>false</dt:transient> </dt:attribute> <!--- - - - - Attribute: abbreviation - - - - - --> @@ -36,6 +36,13 @@ <dt:value>deutsch</dt:value> <dt:transient>false</dt:transient> </dt:attribute> + <!--- - - - - Attribute: clientId - - - - - --> + <dt:attribute> + <dt:name>clientId</dt:name> + <dt:value>lecture:32350</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--Optional:--> <dt:categories> <!--Zero or more repetitions:--> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ale...@us...> - 2009-06-10 12:56:14
|
Revision: 252 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=252&view=rev Author: alexloewen Date: 2009-06-10 12:36:38 +0000 (Wed, 10 Jun 2009) Log Message: ----------- edited updateCategory and UpdateCourse. Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/build.xml trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/build-impl.xml trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/genfiles.properties trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/UpdateCategory.bpel trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/UpdateCourse.bpel Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/build.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/build.xml 2009-06-10 06:58:18 UTC (rev 251) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/build.xml 2009-06-10 12:36:38 UTC (rev 252) @@ -1,24 +1,66 @@ <?xml version="1.0" encoding="UTF-8"?> +<!-- You may freely edit this file. See commented blocks below for --> +<!-- some examples of how to customize the build. --> +<!-- (If you delete it and reopen the project it will be recreated.) --> <project name="" default="default" basedir="." xmlns:web="http://www.netbeans.org/ns/j2ee-ejbjarproject/1"> + <description>Builds, tests, and runs the project .</description> <import file="nbproject/build-impl.xml"/> - <target name="init-esb-ide" if="netbeans.home"> + <!-- + There exist several targets which are by default empty and which can be + used for execution of your tasks. These targets are usually executed + before and after some main targets. They are: + + -pre-init called before initialization of project properties + -post-init called after initialization of project properties + -pre-compile called before javac compilation + -post-compile called after javac compilation + -pre-compile-single called before javac compilation of single file + -post-compile-single called after javac compilation of single file + -pre-dist called before jar building + -post-dist called after jar building + -post-clean called after cleaning build products + + Example of pluging an obfuscator after the compilation could look like + + <target name="post-compile"> + <obfuscate> + <fileset dir="${build.classes.dir}"/> + </obfuscate> + </target> + + For list of available properties check the imported + nbproject/build-impl.xml file. + + Other way how to customize the build is by overriding existing main targets. + The target of interest are: + + init-macrodef-javac defines macro for javac compilation + init-macrodef-debug defines macro for class debugging + do-dist jar archive building + run execution of project + javadoc-build javadoc generation + + Example of overriding the target for project execution could look like + + <target name="run" depends="<PROJNAME>-impl.jar"> + <exec dir="bin" executable="launcher.exe"> + <arg file="${dist.jar}"/> + </exec> + </target> + + Notice that overridden target depends on jar target and not only on + compile target as regular run target does. Again, for list of available + properties which you can use check the target you are overriding in + nbproject/build-impl.xml file. + --> + <target name="-init-esb-ide" if="netbeans.home"> <property name="esb.netbeans.platform" value="${netbeans.home}"/> </target> - <target name="init-esb-cli" unless="netbeans.home"> + <target name="-init-esb-cmdline" unless="netbeans.home"> <property file="${basedir}/nbproject/private/private.properties"/> <property name="esb.netbeans.platform" value="${esb.netbeans.home}/platform9"/> <property name="netbeans.user" value="${esb.netbeans.user}"/> <property name="from.commandline" value="true"/> </target> - <target name="check-catd-context"> - <condition property="no.catd.context"> - <not> - <isset property="org.netbeans.modules.compapp.catd.context"/> - </not> - </condition> - </target> - <target name="init-catd" if="no.catd.context"> - <property name="org.netbeans.modules.compapp.catd.context" value=""/> - </target> - <target name="pre-init" depends="init-esb-ide,init-esb-cli,check-catd-context,init-catd"/> + <target name="-pre-init" depends="-init-esb-ide,-init-esb-cmdline"/> </project> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml 2009-06-10 06:58:18 UTC (rev 251) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml 2009-06-10 12:36:38 UTC (rev 252) @@ -2,6 +2,6 @@ <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system"> <system systemId="file:/home/pete/openESB/ilias-3.10.5.wsdl" uri="src/ilias-3.10.5.wsdl"/> <system systemId="Common/CDDM.xsd" uri="nb-uri:Common#src/CDDM.xsd"/> + <system systemId="ObjectProcessor/ReplyProcessor.wsdl" uri="nb-uri:ObjectProcessor#src/ReplyProcessor.wsdl"/> <nextCatalog catalog="nbproject/private/cache/retriever/catalog.xml"/> - <system systemId="ObjectProcessor/ReplyProcessor.wsdl" uri="nb-uri:ObjectProcessor#src/ReplyProcessor.wsdl"/> </catalog> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/build-impl.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/build-impl.xml 2009-06-10 06:58:18 UTC (rev 251) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/build-impl.xml 2009-06-10 12:36:38 UTC (rev 252) @@ -1,43 +1,52 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - *** GENERATED FROM project.xml - DO NOT EDIT *** - *** EDIT ../build.xml INSTEAD *** + *** GENERATED FROM project.xml - DO NOT EDIT *** + *** EDIT ../build.xml INSTEAD *** + + For the purpose of easier reading the script + is divided into following sections: + + - initialization + - dist + - cleanup --> <project name="ILIASClientAdapter-impl" default="default" basedir=".."> - <target name="default" depends="dist_se"/> + <target name="default" depends="dist_se" description="Build whole project."/> <!-- + ====================== INITIALIZATION SECTION + ====================== --> - <target name="pre-init"> + <target name="-pre-init"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="init-private" depends="pre-init"> + <target name="-init-private" depends="-pre-init"> <property file="nbproject/private/private.properties"/> </target> - <target name="init-userdir" depends="pre-init,init-private"> + <target name="-init-userdir" depends="-pre-init,-init-private"> <property name="user.properties.file" location="${netbeans.user}/build.properties"/> </target> - <target name="init-user" depends="pre-init,init-private,init-userdir"> + <target name="-init-user" depends="-pre-init,-init-private,-init-userdir"> <property file="${user.properties.file}"/> </target> - <target name="init-project" depends="pre-init,init-private,init-userdir,init-user"> + <target name="-init-project" depends="-pre-init,-init-private,-init-userdir,-init-user"> <property file="nbproject/project.properties"/> </target> - <target name="do-init" depends="pre-init,init-private,init-userdir,init-user,init-project"> + <target name="-do-init" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project"> <available file="${src.dir}/../retrieved" property="retrieved.exists"/> </target> - <target name="post-init"> + <target name="-post-init"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="init-check" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init"> + <target name="-init-check" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init"> <fail unless="src.dir">Must set src.dir</fail> <fail unless="build.dir">Must set build.dir</fail> <fail unless="dist.dir">Must set dist.dir</fail> <fail unless="dist.jar">Must set dist.jar</fail> </target> - <target name="init-taskdefs" if="from.commandline"> + <target name="-init-taskdefs" if="from.commandline"> <path id="ant.task.classpath"> <pathelement location="${esb.netbeans.platform}/../ide10/modules/ext/resolver-1.2.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-apache-xml-resolver.jar"/> @@ -86,21 +95,25 @@ <classpath refid="ant.task.classpath"/> </taskdef> </target> - <target name="init" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init,post-init,init-check,init-taskdefs"/> + <target name="init" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init,-post-init,-init-check,-init-taskdefs"/> <!-- + ===================== DIST BUILDING SECTION + ===================== --> - <target name="pre-dist"> + <target name="-pre-dist"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="deps-jar-dist" depends="init" unless="${no.dependencies}"> + <target name="-deps-jar-dist" depends="init" unless="${no.dependencies}"> <ant target="dist_se" inheritall="false" dir="${project.Common}"/> <ant target="dist_se" inheritall="false" dir="${project.ObjectProcessor}"/> </target> - <target name="do-dist" depends="init,pre-dist"> + <target name="-do-dist" depends="init,-pre-dist"> <mkdir dir="${build.dir}"/> + <!--validation--> <validate-project buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" buildDependentProjectDir="${basedir}/${build.dir}/dependentProjectFiles" classpathRef="ant.task.classpath" allowBuildWithError="${allow.build.with.error}" validation="${validation}"/> + <!-- copy all files from project source directory to build directory. --> <copy todir="${build.dir}" preservelastmodified="true"> <fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd, **/*.xsl, **/*.xslt, **/*.jar" dir="${src.dir}"/> </copy> @@ -114,29 +127,31 @@ </fileset> </jar> </target> - <target name="post-dist"> + <target name="-post-dist"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="dist_se" depends="init,pre-dist,deps-jar-dist,do-dist,post-dist"/> + <target name="dist_se" depends="init,-pre-dist,-deps-jar-dist,-do-dist,-post-dist" description="Build distribution."/> <!-- + =============== CLEANUP SECTION + =============== --> - <target name="pre-clean"> + <target name="-pre-clean"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="deps-clean" depends="init" unless="${no.dependencies}"> + <target name="-deps-clean" depends="init" unless="${no.dependencies}"> <ant target="clean" inheritall="false" dir="${project.Common}"/> <ant target="clean" inheritall="false" dir="${project.ObjectProcessor}"/> </target> - <target name="do-clean" depends="init,pre-clean"> + <target name="-do-clean" depends="init,-pre-clean"> <delete dir="${build.dir}"/> <delete dir="${dist.dir}"/> </target> - <target name="post-clean"> + <target name="-post-clean"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="clean" depends="init,pre-clean,deps-clean,do-clean,post-clean"/> + <target name="clean" depends="init,-pre-clean,-deps-clean,-do-clean,-post-clean" description="Clean build products."/> </project> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/genfiles.properties =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/genfiles.properties 2009-06-10 06:58:18 UTC (rev 251) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/genfiles.properties 2009-06-10 12:36:38 UTC (rev 252) @@ -1,8 +1,8 @@ build.xml.data.CRC32=da61cde5 -build.xml.script.CRC32=22f94a4b -build.xml.stylesheet.CRC32=b168c0ed +build.xml.script.CRC32=60b50638 +build.xml.stylesheet.CRC32=f35fd70d # 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=da61cde5 -nbproject/build-impl.xml.script.CRC32=544d13e7 -nbproject/build-impl.xml.stylesheet.CRC32=2e896532 +nbproject/build-impl.xml.script.CRC32=fdb3b604 +nbproject/build-impl.xml.stylesheet.CRC32=5068533b Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/UpdateCategory.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/UpdateCategory.bpel 2009-06-10 06:58:18 UTC (rev 251) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/UpdateCategory.bpel 2009-06-10 12:36:38 UTC (rev 252) @@ -8,6 +8,7 @@ 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:il_objs="http://cse.campussource.de/schema/ilias/objects" xmlns:tns="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateCategory" 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"> <import namespace="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/UpdateCategory" location="UpdateCategory.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> @@ -19,6 +20,7 @@ <partnerLink name="IliasAdpater" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/UpdateCategory" partnerLinkType="tns:UpdateCategory" myRole="UpdateCategoryPortTypeRole"/> </partnerLinks> <variables> + <variable name="testVariable1" type="xsd:string"/> <variable name="GetObjectsByTitleOut" xmlns:tns="urn:ilUserAdministration" messageType="tns:getObjectsByTitleResponse"/> <variable name="GetObjectsByTitleIn" xmlns:tns="urn:ilUserAdministration" messageType="tns:getObjectsByTitleRequest"/> <variable name="UpdateObjectsOut" xmlns:tns="urn:ilUserAdministration" messageType="tns:updateObjectsResponse"/> @@ -70,21 +72,27 @@ </copy> </assign> - <assign name="fakeUpdateData"> + + <assign name="SetUpdatedData"> <copy> - <from>'test12'</from> - <to>$CategoryXMLtransformed/il_objs:Object/il_objs:Title</to> + <from>$UpdateCategoryIn.category/dt:attribute[dt:name = 'name']/dt:value</from> + <to>$CategoryXMLtransformed/il_objs:Object/il_objs:Title/text()</to> </copy> - <copy> - <from>'descrTest2'</from> - <to>$CategoryXMLtransformed/il_objs:Object/il_objs:Description</to> + </assign> + + <assign name="Assign1"> + <copy> + <from>$UpdateCategoryIn.category/dt:attribute[dt:name = 'name']/dt:value</from> + <to>$testVariable1</to> </copy> - <copy> - <from>sxxf:current-dateTime()</from> - <to>$CategoryXMLtransformed/il_objs:Object/il_objs:LastUpdate</to> - </copy> </assign> + <assign name="deleteNamespaces"> + <sxt:trace> + <sxt:log level="info" location="onStart"> + <ns0:from>concat('***Title=: ', $testVariable1)</ns0:from> + </sxt:log> + </sxt:trace> <copy> <from>ns0:doXslTransform('urn:stylesheets:deleteObjectsNS.xsl', $CategoryXMLtransformed)</from> <to variable="CategoryXML"/> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/UpdateCourse.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/UpdateCourse.bpel 2009-06-10 06:58:18 UTC (rev 251) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/UpdateCourse.bpel 2009-06-10 12:36:38 UTC (rev 252) @@ -24,6 +24,7 @@ <partnerLink name="IliasAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/UpdateCourse" partnerLinkType="tns:UpdateCourse" myRole="UpdateCoursePortTypeRole"/> </partnerLinks> <variables> + <variable name="testUpdate1" type="xsd:string"/> <variable name="UpdateILIASCourseOut" xmlns:tns="urn:ilUserAdministration" messageType="tns:updateCourseResponse"/> <variable name="UpdateILIASCourseIn" xmlns:tns="urn:ilUserAdministration" messageType="tns:updateCourseRequest"/> <variable name="UpdateCourseOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/UpdateCourse" messageType="tns:updateCourseResponse"/> @@ -61,15 +62,15 @@ <to variable="CourseXML"/> </copy> </assign> --> - + <!--delete Namespaces bevor XSLT Transformation !--> <assign name="copyTheActualDataToCourseXML"> <copy> - <from>ns0:doXslTransform('urn:stylesheets:updateCourseXSLT.xsl', $UpdateCourseIn.course)</from> + <from>ns0:doXslTransform('urn:stylesheets:updateCourseXSLT.xsl', ns0:doXslTransform('urn:stylesheets:deleteObjectsNS.xsl',$UpdateCourseIn.course))</from> <to variable="CourseXML"/> </copy> </assign> - + <assign name="marshalCourseXML"> <sxt:trace> <sxt:log level="info" location="onStart"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <id...@us...> - 2009-06-10 06:59:43
|
Revision: 251 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=251&view=rev Author: idueppe Date: 2009-06-10 06:58:18 +0000 (Wed, 10 Jun 2009) Log Message: ----------- starting to fix the decorator issue. First Step - polishing the test code to be left sided. Modified Paths: -------------- trunk/cse-ip/sc-cdmm/src/test/java/de/campussource/cse/cdmm/TestXmlConversion.java Modified: trunk/cse-ip/sc-cdmm/src/test/java/de/campussource/cse/cdmm/TestXmlConversion.java =================================================================== --- trunk/cse-ip/sc-cdmm/src/test/java/de/campussource/cse/cdmm/TestXmlConversion.java 2009-06-09 13:02:33 UTC (rev 250) +++ trunk/cse-ip/sc-cdmm/src/test/java/de/campussource/cse/cdmm/TestXmlConversion.java 2009-06-10 06:58:18 UTC (rev 251) @@ -59,7 +59,7 @@ } @Test - public void testAccountXml() { + public void testAccountXml() throws JAXBException, IOException { System.out.println("----- entering Account XML Test -----"); // create and fetch account object EntityContainer container = generateTestStructure(); @@ -69,52 +69,41 @@ account = acc; } } - if (account == null) { - fail("no account object created"); - } + assertNotNull("No account object created", account); + // create jaxb context and marshaller Marshaller marshaller = null; JAXBContext context = null; - try { - context = JAXBContext.newInstance(AccountJAXBDecorator.class); - marshaller = context.createMarshaller(); - marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); - } catch (JAXBException e) { - e.printStackTrace(); - fail(e.getMessage()); - } + context = JAXBContext.newInstance(AccountJAXBDecorator.class); + marshaller = context.createMarshaller(); + marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); + // convert account object to xml String outputXml = ""; - try { - Writer writer = new StringWriter(); - marshaller.marshal(account, writer); - outputXml = writer.toString(); - writer.close(); - } catch (JAXBException e) { - fail(e.getMessage()); - } catch (IOException e) { - fail(e.getMessage()); - } + + Writer writer = new StringWriter(); + marshaller.marshal(account, writer); + outputXml = writer.toString(); + writer.close(); + assertTrue((outputXml != null) && (!outputXml.trim().isEmpty())); System.out.println(outputXml); // convert xml back to an object and assert equality to source object Account convertedAccount = null; - try { - Unmarshaller unmarshaller = context.createUnmarshaller(); - convertedAccount = (Account) unmarshaller.unmarshal(new StringReader(outputXml)); - System.out.println(convertedAccount.toString()); - } catch (JAXBException e) { - fail(e.getMessage()); - } + + Unmarshaller unmarshaller = context.createUnmarshaller(); + convertedAccount = (Account) unmarshaller.unmarshal(new StringReader(outputXml)); + System.out.println(convertedAccount.toString()); + assertTrue(account.equals(convertedAccount)); System.out.println("----- leaving Account XML Test -----"); } @Test - public void testCategoryXml() { + public void testCategoryXml() throws JAXBException, IOException { System.out.println("----- entering Category XML Test -----"); // create and fetch category object EntityContainer container = generateTestStructure(); @@ -123,46 +112,36 @@ // create jaxb context and marshaller Marshaller marshaller = null; + JAXBContext context = null; - try { - context = JAXBContext.newInstance(CategoryJAXBDecorator.class); - marshaller = context.createMarshaller(); - marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); - } catch (JAXBException e) { - e.printStackTrace(); - fail(e.getMessage()); - } + context = JAXBContext.newInstance(CategoryJAXBDecorator.class); + marshaller = context.createMarshaller(); + marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); // convert category object to xml String outputXml = ""; - try { - Writer writer = new StringWriter(); - marshaller.marshal(category, writer); - outputXml = writer.toString(); - writer.close(); - } catch (JAXBException e) { - fail(e.getMessage()); - } catch (IOException e) { - fail(e.getMessage()); - } + + Writer writer = new StringWriter(); + marshaller.marshal(category, writer); + outputXml = writer.toString(); + writer.close(); + assertTrue((outputXml != null) && (outputXml != "")); System.out.println(outputXml); // convert xml back to an object and assert equality to source object Category convertedCategory = null; - try { - Unmarshaller unmarshaller = context.createUnmarshaller(); - convertedCategory = (Category) unmarshaller.unmarshal(new StringReader(outputXml)); - System.out.println(convertedCategory.toString()); - } catch (JAXBException e) { - fail(e.getMessage()); - } + + Unmarshaller unmarshaller = context.createUnmarshaller(); + convertedCategory = (Category) unmarshaller.unmarshal(new StringReader(outputXml)); + System.out.println(convertedCategory.toString()); + assertTrue(category.equals(convertedCategory)); System.out.println("----- leaving Category XML Test -----"); } @Test - public void testCourseXml() { + public void testCourseXml() throws JAXBException, IOException { System.out.println("----- entering Course XML Test -----"); // create and fetch course object EntityContainer container = generateTestStructure(); @@ -172,45 +151,35 @@ // create jaxb context and marshaller Marshaller marshaller = null; JAXBContext context = null; - try { - context = JAXBContext.newInstance(CourseJAXBDecorator.class); - marshaller = context.createMarshaller(); - marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); - } catch (JAXBException e) { - e.printStackTrace(); - fail(e.getMessage()); - } + context = JAXBContext.newInstance(CourseJAXBDecorator.class); + marshaller = context.createMarshaller(); + marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); + // convert course object to xml String outputXml = ""; - try { - Writer writer = new StringWriter(); - marshaller.marshal(course, writer); - outputXml = writer.toString(); - writer.close(); - } catch (JAXBException e) { - fail(e.getMessage()); - } catch (IOException e) { - fail(e.getMessage()); - } + + Writer writer = new StringWriter(); + marshaller.marshal(course, writer); + outputXml = writer.toString(); + writer.close(); + assertTrue((outputXml != null) && (outputXml != "")); System.out.println(outputXml); // convert xml back to an object and assert equality to source object Course convertedCourse = null; - try { - Unmarshaller unmarshaller = context.createUnmarshaller(); - convertedCourse = (Course) unmarshaller.unmarshal(new StringReader(outputXml)); - System.out.println(convertedCourse.toString()); - } catch (JAXBException e) { - fail(e.getMessage()); - } + + Unmarshaller unmarshaller = context.createUnmarshaller(); + convertedCourse = (Course) unmarshaller.unmarshal(new StringReader(outputXml)); + System.out.println(convertedCourse.toString()); + assertTrue(course.equals(convertedCourse)); System.out.println("----- leaving Course XML Test -----"); } @Test - public void testRoleXml() { + public void testRoleXml() throws JAXBException, IOException { System.out.println("----- entering Role XML Test -----"); // create and fetch role object EntityContainer container = generateTestStructure(); @@ -220,45 +189,32 @@ // create jaxb context and marshaller Marshaller marshaller = null; JAXBContext context = null; - try { - context = JAXBContext.newInstance(RoleJAXBDecorator.class); - marshaller = context.createMarshaller(); - marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); - } catch (JAXBException e) { - e.printStackTrace(); - fail(e.getMessage()); - } + context = JAXBContext.newInstance(RoleJAXBDecorator.class); + marshaller = context.createMarshaller(); + marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); // convert role object to xml String outputXml = ""; - try { - Writer writer = new StringWriter(); - marshaller.marshal(role, writer); - outputXml = writer.toString(); - writer.close(); - } catch (JAXBException e) { - fail(e.getMessage()); - } catch (IOException e) { - fail(e.getMessage()); - } + Writer writer = new StringWriter(); + marshaller.marshal(role, writer); + outputXml = writer.toString(); + writer.close(); + assertTrue((outputXml != null) && (outputXml != "")); System.out.println(outputXml); // convert xml back to an object and assert equality to source object Role convertedRole = null; - try { - Unmarshaller unmarshaller = context.createUnmarshaller(); - convertedRole = (Role) unmarshaller.unmarshal(new StringReader(outputXml)); - System.out.println(convertedRole.toString()); - } catch (JAXBException e) { - fail(e.getMessage()); - } + Unmarshaller unmarshaller = context.createUnmarshaller(); + convertedRole = (Role) unmarshaller.unmarshal(new StringReader(outputXml)); + System.out.println(convertedRole.toString()); + assertTrue(role.equals(convertedRole)); System.out.println("----- leaving Role XML Test -----"); } @Test - public void testGroupXml() { + public void testGroupXml() throws JAXBException, IOException { System.out.println("----- entering Group XML Test -----"); // create and fetch group object EntityContainer container = generateTestStructure(); @@ -273,77 +229,57 @@ // create jaxb context and marshaller Marshaller marshaller = null; JAXBContext context = null; - try { - context = JAXBContext.newInstance(GroupJAXBDecorator.class); - marshaller = context.createMarshaller(); - marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); - } catch (JAXBException e) { - e.printStackTrace(); - fail(e.getMessage()); - } + context = JAXBContext.newInstance(GroupJAXBDecorator.class); + marshaller = context.createMarshaller(); + marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); + // convert group object to xml String outputXml = ""; - try { - Writer writer = new StringWriter(); - marshaller.marshal(group, writer); - outputXml = writer.toString(); - writer.close(); - } catch (JAXBException e) { - fail(e.getMessage()); - } catch (IOException e) { - fail(e.getMessage()); - } + + Writer writer = new StringWriter(); + marshaller.marshal(group, writer); + outputXml = writer.toString(); + writer.close(); + assertTrue((outputXml != null) && (outputXml != "")); System.out.println(outputXml); // convert xml back to an object and assert equality to source object Group convertedGroup = null; - try { - Unmarshaller unmarshaller = context.createUnmarshaller(); - convertedGroup = (Group) unmarshaller.unmarshal(new StringReader(outputXml)); - System.out.println(convertedGroup.toString()); - } catch (JAXBException e) { - fail(e.getMessage()); - } + Unmarshaller unmarshaller = context.createUnmarshaller(); + convertedGroup = (Group) unmarshaller.unmarshal(new StringReader(outputXml)); + System.out.println(convertedGroup.toString()); + assertTrue(group.equals(convertedGroup)); System.out.println("----- leaving Group XML Test -----"); } @Test - public void testXmlSchema() { + public void testXmlSchema() throws JAXBException, IOException { // create jaxb context and marshaller Marshaller marshaller = null; JAXBContext context = null; - try { - context = JAXBContext.newInstance(new Class[] { EntityContainer.class, AccountJAXBDecorator.class, GroupJAXBDecorator.class, - RoleJAXBDecorator.class, CourseJAXBDecorator.class, CategoryJAXBDecorator.class, InputMessage.class }); - marshaller = context.createMarshaller(); - marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); - } catch (JAXBException e) { - e.printStackTrace(); - fail(e.getMessage()); - } + context = JAXBContext.newInstance(new Class[] { EntityContainer.class, AccountJAXBDecorator.class, + GroupJAXBDecorator.class, RoleJAXBDecorator.class, CourseJAXBDecorator.class, + CategoryJAXBDecorator.class, InputMessage.class }); + marshaller = context.createMarshaller(); + marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); // create schema final List<DOMResult> results = new ArrayList<DOMResult>(); - try { - context.generateSchema(new SchemaOutputResolver() { - @Override - public Result createOutput(String ns, String file) throws IOException { - DOMResult result = new DOMResult(); - result.setSystemId(file); - results.add(result); - return result; - } - }); - for (DOMResult result : results) { - System.out.println("----- Generated XML Schema: "); - printDOMResult(result); + context.generateSchema(new SchemaOutputResolver() { + @Override + public Result createOutput(String ns, String file) throws IOException { + DOMResult result = new DOMResult(); + result.setSystemId(file); + results.add(result); + return result; } - } catch (IOException e) { - e.printStackTrace(); - fail(e.getMessage()); + }); + for (DOMResult result : results) { + System.out.println("----- Generated XML Schema: "); + printDOMResult(result); } } @@ -359,9 +295,9 @@ private EntityContainer generateTestStructure() { // create small category structure: parentCategory -> childCategory Category parentCategory = DomainFactory.category(createUniqueId()); - parentCategory = new CategoryJAXBDecorator(parentCategory); + parentCategory = new CategoryJAXBDecorator(parentCategory); Category childCategory = DomainFactory.category(createUniqueId()); - childCategory = new CategoryJAXBDecorator(childCategory); + childCategory = new CategoryJAXBDecorator(childCategory); List<Category> childCategoryList = new ArrayList<Category>(); childCategoryList.add(childCategory); @@ -431,7 +367,7 @@ } @Test - public void testAttributeXml() { + public void testAttributeXml() throws JAXBException, IOException { System.out.println("----- entering Attribute XML Test -----"); // create category object with two attributes Category category = new CategoryJAXBDecorator(DomainFactory.category(createUniqueId())); @@ -446,46 +382,32 @@ // create jaxb context and marshaller Marshaller marshaller = null; JAXBContext context = null; - try { - context = JAXBContext.newInstance(CategoryJAXBDecorator.class, AttributeJAXBDecorator.class, PersistentAttribute.class, - TransientAttribute.class); - marshaller = context.createMarshaller(); - marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); - } catch (JAXBException e) { - e.printStackTrace(); - fail(e.getMessage()); - } + context = JAXBContext.newInstance(CategoryJAXBDecorator.class, AttributeJAXBDecorator.class, + PersistentAttribute.class, TransientAttribute.class); + marshaller = context.createMarshaller(); + marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); + // convert group object to xml String outputXml = ""; - try { - Writer writer = new StringWriter(); - marshaller.marshal(category, writer); - outputXml = writer.toString(); - writer.close(); - } catch (JAXBException e) { - fail(e.getMessage()); - } catch (IOException e) { - fail(e.getMessage()); - } + Writer writer = new StringWriter(); + marshaller.marshal(category, writer); + outputXml = writer.toString(); + writer.close(); assertTrue((outputXml != null) && (outputXml != "")); System.out.println(outputXml); // convert xml back to an object and assert equality to source object Category convertedCategory = null; - try { - Unmarshaller unmarshaller = context.createUnmarshaller(); - convertedCategory = (Category) unmarshaller.unmarshal(new StringReader(outputXml)); - System.out.println(convertedCategory.toString()); - } catch (JAXBException e) { - fail(e.getMessage()); - } + Unmarshaller unmarshaller = context.createUnmarshaller(); + convertedCategory = (Category) unmarshaller.unmarshal(new StringReader(outputXml)); + System.out.println(convertedCategory.toString()); assertTrue(category.equals(convertedCategory)); System.out.println("----- leaving Attribute XML Test -----"); } @Test - public void testInputMessageXml() { + public void testInputMessageXml() throws JAXBException, IOException { System.out.println("----- entering InputMessage XML Test -----"); InputMessage inputMessage = new InputMessage(); @@ -493,51 +415,33 @@ inputMessage.setEventTime(new Date()); inputMessage.setInputEvent(InputEventType.CREATE_UPDATE); - Marshaller marshaller = null; - JAXBContext context = null; - try { - context = JAXBContext.newInstance(InputMessage.class); - marshaller = context.createMarshaller(); - marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); - } catch (JAXBException e) { - e.printStackTrace(); - fail(e.getMessage()); - } + JAXBContext context = JAXBContext.newInstance(InputMessage.class); + Marshaller marshaller = context.createMarshaller(); + marshaller.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, Boolean.TRUE); // convert group object to xml String outputXml = ""; - try { - Writer writer = new StringWriter(); - marshaller.marshal(inputMessage, writer); - outputXml = writer.toString(); - writer.close(); - } catch (JAXBException e) { - fail(e.getMessage()); - } catch (IOException e) { - fail(e.getMessage()); - } + Writer writer = new StringWriter(); + marshaller.marshal(inputMessage, writer); + outputXml = writer.toString(); + writer.close(); assertTrue((outputXml != null) && (outputXml != "")); System.out.println(outputXml); System.out.println("----- leaving InputMessage XML Test -----"); } - - + @Test - public void testUnmarshalling() { + public void testUnmarshalling() throws JAXBException { String courseXml = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" + "<tns:course xmlns:tns=\"http://cse.campussource.de/DataTypes\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">" + "<id>1</id>" + "<categories>" + "<category>" + "<id>ID_2</id>" + "</category>" + "</categories>" + "</tns:course>"; - try { - JAXBContext context = JAXBContext.newInstance(CategoryJAXBDecorator.class, AttributeJAXBDecorator.class, PersistentAttribute.class, - TransientAttribute.class); - Unmarshaller unmarshaller = context.createUnmarshaller(); - Course convertedCourse = (Course) unmarshaller.unmarshal(new StringReader(courseXml)); - System.out.println(convertedCourse.toString()); - } catch (JAXBException e) { - fail(e.getMessage()); - } + JAXBContext context = JAXBContext.newInstance(CategoryJAXBDecorator.class, AttributeJAXBDecorator.class, + PersistentAttribute.class, TransientAttribute.class); + Unmarshaller unmarshaller = context.createUnmarshaller(); + Course convertedCourse = (Course) unmarshaller.unmarshal(new StringReader(courseXml)); + System.out.println(convertedCourse.toString()); } } \ 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-06-09 13:02:35
|
Revision: 250 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=250&view=rev Author: pkasprzak Date: 2009-06-09 13:02:33 +0000 (Tue, 09 Jun 2009) Log Message: ----------- * Stuff :) Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/CSEIPCA/build.xml trunk/sandbox/lsf-adapter-demo/CSEIPCA/nbproject/build-impl.xml trunk/sandbox/lsf-adapter-demo/CSEIPCA/nbproject/genfiles.properties trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/selected-tests.properties Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/build.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/build.xml 2009-06-09 08:04:55 UTC (rev 249) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/build.xml 2009-06-09 13:02:33 UTC (rev 250) @@ -1,79 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- You may freely edit this file. See commented blocks below for --> -<!-- some examples of how to customize the build. --> -<!-- (If you delete it and reopen the project it will be recreated.) --> <project name="" default="default" basedir="." xmlns:web="http://www.netbeans.org/ns/j2ee-ejbjarproject/1"> - <description>Builds, tests, and runs the project .</description> <import file="nbproject/build-impl.xml"/> - <!-- - - There exist several targets which are by default empty and which can be - used for execution of your tasks. These targets are usually executed - before and after some main targets. They are: - - pre-init: called before initialization of project properties - post-init: called after initialization of project properties - pre-compile: called before javac compilation - post-compile: called after javac compilation - pre-compile-single: called before javac compilation of single file - post-compile-single: called after javac compilation of single file - pre-dist: called before jar building - post-dist: called after jar building - post-clean: called after cleaning build products - - Example of pluging an obfuscator after the compilation could look like - - <target name="post-compile"> - <obfuscate> - <fileset dir="${build.classes.dir}"/> - </obfuscate> - </target> - - For list of available properties check the imported - nbproject/build-impl.xml file. - - - Other way how to customize the build is by overriding existing main targets. - The target of interest are: - - init-macrodef-javac: defines macro for javac compilation - init-macrodef-debug: defines macro for class debugging - do-dist: jar archive building - run: execution of project - javadoc-build: javadoc generation - - Example of overriding the target for project execution could look like - - <target name="run" depends="<PROJNAME>-impl.jar"> - <exec dir="bin" executable="launcher.exe"> - <arg file="${dist.jar}"/> - </exec> - </target> - - Notice that overridden target depends on jar target and not only on - compile target as regular run target does. Again, for list of available - properties which you can use check the target you are overriding in - nbproject/build-impl.xml file. - - --> - <target name="-init-esb-ide" if="netbeans.home"> + <target name="init-esb-ide" if="netbeans.home"> <property name="esb.netbeans.platform" value="${netbeans.home}"/> </target> - <target name="-init-esb-cmdline" unless="netbeans.home"> + <target name="init-esb-cli" unless="netbeans.home"> <property file="${basedir}/nbproject/private/private.properties"/> <property name="esb.netbeans.platform" value="${esb.netbeans.home}/platform9"/> <property name="netbeans.user" value="${esb.netbeans.user}"/> <property name="from.commandline" value="true"/> </target> - <target name="-check-catd-context"> + <target name="check-catd-context"> <condition property="no.catd.context"> <not> <isset property="org.netbeans.modules.compapp.catd.context"/> </not> </condition> </target> - <target name="-init-catd" if="no.catd.context"> + <target name="init-catd" if="no.catd.context"> <property name="org.netbeans.modules.compapp.catd.context" value=""/> </target> - <target name="pre-init" depends="-init-esb-ide,-init-esb-cmdline,-check-catd-context,-init-catd"/> + <target name="pre-init" depends="init-esb-ide,init-esb-cli,check-catd-context,init-catd"/> </project> Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/nbproject/build-impl.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/nbproject/build-impl.xml 2009-06-09 08:04:55 UTC (rev 249) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/nbproject/build-impl.xml 2009-06-09 13:02:33 UTC (rev 250) @@ -1,24 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - *** GENERATED FROM project.xml - DO NOT EDIT *** - *** EDIT ../build.xml INSTEAD *** - - For the purpose of easier reading the script - is divided into following sections: - - - initialization - - compilation - - dist - - execution - - debugging - - cleanup - - --> + *** GENERATED FROM project.xml - DO NOT EDIT *** + *** EDIT ../build.xml INSTEAD *** +--> <project name="CSEIPCA-jbi-impl" default="build" basedir=".."> - <target name="default" depends="dist" description="Build whole project."/> + <target name="default" depends="dist"/> <!-- - INITIALIZATION SECTION - --> + INITIALIZATION SECTION + --> <target name="pre-init"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> @@ -36,10 +25,9 @@ <property file="nbproject/project.properties"/> </target> <target name="do-init" depends="pre-init,init-private,init-userdir,init-user,init-project"> - <!-- The two properties below are usually overridden --> - <!-- by the active platform. Just a fallback. --> <property name="default.javac.source" value="1.4"/> <property name="default.javac.target" value="1.4"/> + <property name="esb.netbeans.platform" value="${netbeans.home}"/> <condition property="have.tests"> <or> <available file="${test.dir}"/> @@ -118,8 +106,8 @@ </target> <target name="init" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init,post-init,init-check,-init-taskdefs"/> <!-- - COMPILATION SECTION - --> + COMPILATION SECTION + --> <target name="deps-jar" depends="init" unless="${no.dependencies}"> <ant target="dist_se" inheritall="false" antfile="${project.Common}/build.xml"/> <property name="Common.su.name" value="Common"/> @@ -253,7 +241,7 @@ <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="compile" depends="init,deps-jar,pre-pre-compile,pre-compile,do-compile,post-compile" description="Compile project."/> + <target name="compile" depends="init,deps-jar,pre-pre-compile,pre-compile,do-compile,post-compile"/> <target name="pre-compile-single"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> @@ -267,9 +255,9 @@ </target> <target name="compile-single" depends="init,deps-jar,pre-pre-compile,pre-compile-single,do-compile-single,post-compile-single"/> <!-- - DIST BUILDING SECTION - --> - <target name="jbi-build" depends="init,init-deploy,deps-jar,deps-javaee-jar" description="Build Service Assembly."> + DIST BUILDING SECTION + --> + <target name="jbi-build" depends="init,init-deploy,deps-jar,deps-javaee-jar"> <mkdir dir="${src.dir}"/> <copy todir="${src.dir}/../jbiServiceUnits" overwrite="true"> <fileset dir="${src.dir}"/> @@ -289,12 +277,12 @@ <fileset dir="${build.dir}" excludes="jar/*"/> </jar> </target> - <target name="jbi-clean-build" depends="init,init-deploy,clean,jbi-build" description="Clean and Build Service Assembly."/> - <target name="dist" depends="jbi-build" description="Build distribution (JAR)."/> + <target name="jbi-clean-build" depends="init,init-deploy,clean,jbi-build"/> + <target name="dist" depends="jbi-build"/> <!-- - EXECUTION SECTION - --> - <target name="run" depends="jbi-build,run-jbi-deploy" description="Deploy to server."/> + EXECUTION SECTION + --> + <target name="run" depends="jbi-build,run-jbi-deploy"/> <target name="init-deploy"> <property name="include.jar.manifest" value=""/> </target> @@ -322,9 +310,9 @@ <teardown-debug-environment netBeansUserDir="${netbeans.user}" j2eeServerInstance="${j2ee.server.instance}"/> </target> <!-- - DEBUGGING SECTION - --> - <target name="debug" description="Debug project in IDE." depends="run,-pre-debug" if="esb.netbeans.platform"/> + DEBUGGING SECTION + --> + <target name="debug" depends="run,-pre-debug" if="esb.netbeans.platform"/> <target name="pre-debug-fix" depends="init"> <fail unless="fix.includes">Must set fix.includes</fail> <property name="javac.includes" value="${fix.includes}.java"/> @@ -334,8 +322,8 @@ </target> <target name="debug-fix" if="esb.netbeans.platform" depends="init,pre-debug-fix,do-debug-fix"/> <!-- - CLEANUP SECTION - --> + CLEANUP SECTION + --> <target name="deps-clean" depends="init" unless="${no.dependencies}"> <ant target="clean" inheritall="false" antfile="${project.Common}/build.xml"/> <ant target="clean" inheritall="false" antfile="${project.ILIASClientAdapter}/build.xml"/> @@ -353,16 +341,15 @@ <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="clean" depends="init,deps-clean,do-clean,post-clean" description="Clean build products."/> - <target name="jbi-clean-config" depends="init,clear-casa,jbi-clean-build" description="Clean service assembly."/> + <target name="clean" depends="init,deps-clean,do-clean,post-clean"/> + <target name="jbi-clean-config" depends="init,clear-casa,jbi-clean-build"/> <target name="clear-casa"> <delete file="${source.root}/conf/${jbi.service-assembly.id}.casa"/> <delete file="${src.dir}/${jbi.service-assembly.id}.wsdl"/> </target> <!-- - JUNIT EXECUTION SECTION - ======================= - --> + JUNIT EXECUTION SECTION + --> <target name="-pre-test-run" if="have.tests" depends="init"> <mkdir dir="${test.results.dir}"/> <path id="unit.test.classpath"> @@ -438,12 +425,12 @@ </target> <target name="test-report" if="have.tests" depends="init"/> <target name="-test-browse" if="esb.netbeans.platform+have.tests" depends="init"/> - <target name="test" depends="init,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse" description="Run unit tests."/> - <target name="test-single" depends="init,-pre-test-run,-do-single-test-run,test-report,-post-single-test-run,-test-browse" description="Run unit tests."/> - <target name="debug-single" depends="init,-pre-test-run,-pre-debug,-do-single-test-run,-post-debug,test-report,-post-single-test-run,-test-browse" description="Debug unit tests."/> + <target name="test" depends="init,-pre-test-run,-do-test-run,test-report,-post-test-run,-test-browse"/> + <target name="test-single" depends="init,-pre-test-run,-do-single-test-run,test-report,-post-single-test-run,-test-browse"/> + <target name="debug-single" depends="init,-pre-test-run,-pre-debug,-do-single-test-run,-post-debug,test-report,-post-single-test-run,-test-browse"/> <target name="-post-unit-test-run" if="have.tests+tests.failed" depends="init,-pre-test-run,-do-test-run"> <echo>Some tests failed; see details above.</echo> </target> - <target name="unit-test" depends="init,-pre-test-run,-do-test-run,test-report,-post-unit-test-run,-test-browse" description="Run unit tests in a batch."/> - <target name="jbi-unit-test" depends="run,unit-test,undeploy" description="build, deploy, test, and undeploy."/> + <target name="unit-test" depends="init,-pre-test-run,-do-test-run,test-report,-post-unit-test-run,-test-browse"/> + <target name="jbi-unit-test" depends="run,unit-test,undeploy"/> </project> Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/nbproject/genfiles.properties =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/nbproject/genfiles.properties 2009-06-09 08:04:55 UTC (rev 249) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/nbproject/genfiles.properties 2009-06-09 13:02:33 UTC (rev 250) @@ -1,8 +1,8 @@ build.xml.data.CRC32=b15138c1 -build.xml.script.CRC32=bd4e221c -build.xml.stylesheet.CRC32=d4244632 +build.xml.script.CRC32=22f94a4b +build.xml.stylesheet.CRC32=b168c0ed # 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=b15138c1 -nbproject/build-impl.xml.script.CRC32=29630ce0 -nbproject/build-impl.xml.stylesheet.CRC32=c7d487f2 +nbproject/build-impl.xml.script.CRC32=cbf50caf +nbproject/build-impl.xml.stylesheet.CRC32=2f99740f Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa 2009-06-09 08:04:55 UTC (rev 249) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/src/conf/CSEIPCA.casa 2009-06-09 13:02:33 UTC (rev 250) @@ -1,45 +1,47 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> -<casa xmlns="http://java.sun.com/xml/ns/casa" xmlns:ns1="LSFClientAdapterCA" xmlns:ns10="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCategory" xmlns:ns11="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/AddCategory" xmlns:ns12="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCourse" xmlns:ns13="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/AddCourse" xmlns:ns14="http://cse.campussource.de/bpel/ILIASClientAdapter/UpdateCourse" xmlns:ns15="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/UpdateCourse" xmlns:ns16="http://cse.campussource.de/bpel/ILIASClientAdapter/OutboundClientAdapter" xmlns:ns17="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateCategory" xmlns:ns18="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/UpdateCategory" xmlns:ns19="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCategory" xmlns:ns2="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/LSFClientAdapter" xmlns:ns20="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCategory" xmlns:ns21="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCourse" xmlns:ns22="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCourse" xmlns:ns23="http://enterprise.netbeans.org/bpel/ObjectProcessor/newProcess" xmlns:ns24="http://enterprise.netbeans.org/bpel/LSFClientAdapter/InboundClientAdapter" xmlns:ns3="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" xmlns:ns4="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" xmlns:ns5="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" xmlns:ns6="urn:ilUserAdministration" xmlns:ns7="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:ns8="http://cse.campussource.de/bpel/ILIASClientAdapter/Login" xmlns:ns9="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/Login" xmlns:xlink="http://www.w3.org/2000/xlink"> +<casa xmlns="http://java.sun.com/xml/ns/casa" xmlns:ns1="urn:ilUserAdministration" xmlns:ns10="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/UpdateCategory" xmlns:ns11="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/UpdateCategory" xmlns:ns12="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCategory" xmlns:ns13="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCategory" xmlns:ns14="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCourse" xmlns:ns15="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/AddCourse" xmlns:ns16="http://cse.campussource.de/bpel/ILIASClientAdapter/UpdateCourse" xmlns:ns17="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/UpdateCourse" xmlns:ns18="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCategory" xmlns:ns19="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/AddCategory" xmlns:ns2="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" xmlns:ns20="http://enterprise.netbeans.org/bpel/ILIASClientAdapter/DeleteCourse" xmlns:ns21="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/DeleteCourse" xmlns:ns22="http://cse.campussource.de/bpel/ILIASClientAdapter/OutboundClientAdapter" xmlns:ns23="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" xmlns:ns24="http://enterprise.netbeans.org/bpel/ObjectProcessor/ReplyProcessor" xmlns:ns25="http://enterprise.netbeans.org/bpel/ObjectProcessor/newProcess" xmlns:ns26="http://enterprise.netbeans.org/bpel/LSFClientAdapter/InboundClientAdapter" xmlns:ns3="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" xmlns:ns4="LSFClientAdapterCA" xmlns:ns5="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/LSFClientAdapter" xmlns:ns6="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" xmlns:ns7="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:ns8="http://cse.campussource.de/bpel/ILIASClientAdapter/Login" xmlns:ns9="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/Login" xmlns:xlink="http://www.w3.org/2000/xlink"> <endpoints> - <endpoint endpoint-name="casaPort1" interface-name="ns2:LSFClientAdapterPortType" name="endpoint1" service-name="ns1:casaService1"/> - <endpoint endpoint-name="XSLTTransformPort" interface-name="ns3:XSLTTransformPortType" name="endpoint2" service-name="ns3:XSLTTransformService"/> - <endpoint endpoint-name="IdentityMapperPort" interface-name="ns4:IdentityMapperPortType" name="endpoint3" service-name="ns4:IdentityMapperService"/> - <endpoint endpoint-name="ObjectProcessorPortTypeBindingPort" interface-name="ns5:ObjectProcessorPortType" name="endpoint4" service-name="ns5:ObjectProcessorService"/> - <endpoint endpoint-name="ILIASSoapWebservicePort" interface-name="ns6:ILIASSoapWebservicePortType" name="endpoint5" service-name="ns6:ILIASSoapWebservice"/> + <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"/> + <endpoint endpoint-name="XSLTTransformPort" interface-name="ns3:XSLTTransformPortType" name="endpoint3" service-name="ns3:XSLTTransformService"/> + <endpoint endpoint-name="casaPort1" interface-name="ns5:LSFClientAdapterPortType" name="endpoint4" service-name="ns4:casaService1"/> + <endpoint endpoint-name="ObjectProcessorPortTypeBindingPort" interface-name="ns6:ObjectProcessorPortType" name="endpoint5" service-name="ns6:ObjectProcessorService"/> <endpoint endpoint-name="ILIASClientAdapterPort" interface-name="ns7:ILIASClientAdapterPortType" name="endpoint6" service-name="ns7:ILIASClientAdapterService"/> <endpoint display-name="IliasAdapter" endpoint-name="LoginPortTypeRole_myRole" file-path="Login.bpel" interface-name="ns9:LoginPortType" name="endpoint7" process-name="Login" service-name="ns8:IliasAdapter"/> - <endpoint display-name="IliasAdapter" endpoint-name="AddCategoryPortTypeRole_myRole" file-path="AddCategory.bpel" interface-name="ns11:AddCategoryPortType" name="endpoint8" process-name="AddCategory" service-name="ns10:IliasAdapter"/> - <endpoint display-name="IliasAdapter" endpoint-name="AddCoursePortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns13:AddCoursePortType" name="endpoint9" process-name="AddCourse" service-name="ns12:IliasAdapter"/> - <endpoint display-name="IliasAdapter" endpoint-name="UpdateCoursePortTypeRole_myRole" file-path="UpdateCourse.bpel" interface-name="ns15:UpdateCoursePortType" name="endpoint10" process-name="UpdateCourse" service-name="ns14:IliasAdapter"/> - <endpoint display-name="ILIASAdapter" endpoint-name="ILIASClientAdapterPortTypeRole_myRole" file-path="OutboundClientAdapter.bpel" interface-name="ns7:ILIASClientAdapterPortType" name="endpoint11" process-name="OutboundClientAdapter" service-name="ns16:ILIASAdapter"/> - <endpoint display-name="IliasAdpater" endpoint-name="UpdateCategoryPortTypeRole_myRole" file-path="UpdateCategory.bpel" interface-name="ns18:UpdateCategoryPortType" name="endpoint12" process-name="UpdateCategory" service-name="ns17:IliasAdpater"/> - <endpoint display-name="IliasAdapter" endpoint-name="DeleteCategoryPortTypeRole_myRole" file-path="DeleteCategory.bpel" interface-name="ns20:DeleteCategoryPortType" name="endpoint13" process-name="DeleteCategory" service-name="ns19:IliasAdapter"/> - <endpoint display-name="IliasAdapter" endpoint-name="DeleteCoursePortTypeRole_myRole" file-path="DeleteCourse.bpel" interface-name="ns22:DeleteCoursePortType" name="endpoint14" process-name="DeleteCourse" service-name="ns21:IliasAdapter"/> - <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="Login.bpel" interface-name="ns6:ILIASSoapWebservicePortType" name="endpoint15" process-name="Login" service-name="ns8:ILIAS"/> - <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCategory.bpel" interface-name="ns6:ILIASSoapWebservicePortType" name="endpoint16" process-name="AddCategory" service-name="ns10:ILIAS"/> - <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns6:ILIASSoapWebservicePortType" name="endpoint17" process-name="AddCourse" service-name="ns12:ILIAS"/> - <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCourse.bpel" interface-name="ns6:ILIASSoapWebservicePortType" name="endpoint18" process-name="UpdateCourse" service-name="ns14:ILIAS"/> - <endpoint display-name="Login" endpoint-name="LoginPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns9:LoginPortType" name="endpoint19" process-name="OutboundClientAdapter" service-name="ns16:Login"/> - <endpoint display-name="AddCourse" endpoint-name="AddCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns13:AddCoursePortType" name="endpoint20" process-name="OutboundClientAdapter" service-name="ns16:AddCourse"/> - <endpoint display-name="UpdateCourse" endpoint-name="UpdateCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns15:UpdateCoursePortType" name="endpoint21" process-name="OutboundClientAdapter" service-name="ns16:UpdateCourse"/> - <endpoint display-name="DeleteCourse" endpoint-name="DeleteCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns22:DeleteCoursePortType" name="endpoint22" process-name="OutboundClientAdapter" service-name="ns16:DeleteCourse"/> - <endpoint display-name="AddCategory" endpoint-name="AddCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns11:AddCategoryPortType" name="endpoint23" process-name="OutboundClientAdapter" service-name="ns16:AddCategory"/> - <endpoint display-name="UpdateCategory" endpoint-name="UpdateCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns18:UpdateCategoryPortType" name="endpoint24" process-name="OutboundClientAdapter" service-name="ns16:UpdateCategory"/> - <endpoint display-name="DeleteCategory" endpoint-name="DeleteCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns20:DeleteCategoryPortType" name="endpoint25" process-name="OutboundClientAdapter" service-name="ns16:DeleteCategory"/> - <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns6:ILIASSoapWebservicePortType" name="endpoint26" process-name="OutboundClientAdapter" service-name="ns16:ILIAS"/> - <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCategory.bpel" interface-name="ns6:ILIASSoapWebservicePortType" name="endpoint27" process-name="UpdateCategory" service-name="ns17:ILIAS"/> - <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCategory.bpel" interface-name="ns6:ILIASSoapWebservicePortType" name="endpoint28" process-name="DeleteCategory" service-name="ns19:ILIAS"/> - <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCourse.bpel" interface-name="ns6:ILIASSoapWebservicePortType" name="endpoint29" process-name="DeleteCourse" service-name="ns21:ILIAS"/> - <endpoint display-name="ClientAdapter" endpoint-name="ObjectProcessorPortTypeRole_myRole" file-path="ObjectProcessor.bpel" interface-name="ns5:ObjectProcessorPortType" name="endpoint30" process-name="ObjectProcessor" service-name="ns23:ClientAdapter"/> - <endpoint display-name="IdentityMapper" endpoint-name="IdentityMapperPortTypeRole_partnerRole" file-path="ObjectProcessor.bpel" interface-name="ns4:IdentityMapperPortType" name="endpoint31" process-name="ObjectProcessor" service-name="ns23:IdentityMapper"/> - <endpoint endpoint-name="javaee_IdentityMapperPort" interface-name="ns4:IdentityMapperPortType" name="endpoint32" service-name="ns4:IdentityMapperService"/> - <endpoint endpoint-name="javaee_XSLTTransformPort" interface-name="ns3:XSLTTransformPortType" name="endpoint33" service-name="ns3:XSLTTransformService"/> - <endpoint display-name="LSF" endpoint-name="LSFClientAdapterPortTypeRole_myRole" file-path="InboundClientAdapter.bpel" interface-name="ns2:LSFClientAdapterPortType" name="endpoint34" process-name="InboundClientAdapter" service-name="ns24:LSF"/> - <endpoint display-name="XSLTTransform" endpoint-name="XSLTTransformPortTypeRole_partnerRole" file-path="InboundClientAdapter.bpel" interface-name="ns3:XSLTTransformPortType" name="endpoint35" process-name="InboundClientAdapter" service-name="ns24:XSLTTransform"/> - <endpoint display-name="ObjectProcessor" endpoint-name="ObjectProcessorPortTypeRole_partnerRole" file-path="InboundClientAdapter.bpel" interface-name="ns5:ObjectProcessorPortType" name="endpoint36" process-name="InboundClientAdapter" service-name="ns24:ObjectProcessor"/> + <endpoint display-name="IliasAdpater" endpoint-name="UpdateCategoryPortTypeRole_myRole" file-path="UpdateCategory.bpel" interface-name="ns11:UpdateCategoryPortType" name="endpoint8" process-name="UpdateCategory" service-name="ns10:IliasAdpater"/> + <endpoint display-name="IliasAdapter" endpoint-name="DeleteCategoryPortTypeRole_myRole" file-path="DeleteCategory.bpel" interface-name="ns13:DeleteCategoryPortType" name="endpoint9" process-name="DeleteCategory" service-name="ns12:IliasAdapter"/> + <endpoint display-name="IliasAdapter" endpoint-name="AddCoursePortTypeRole_myRole" file-path="AddCourse.bpel" interface-name="ns15:AddCoursePortType" name="endpoint10" process-name="AddCourse" service-name="ns14:IliasAdapter"/> + <endpoint display-name="IliasAdapter" endpoint-name="UpdateCoursePortTypeRole_myRole" file-path="UpdateCourse.bpel" interface-name="ns17:UpdateCoursePortType" name="endpoint11" process-name="UpdateCourse" service-name="ns16:IliasAdapter"/> + <endpoint display-name="IliasAdapter" endpoint-name="AddCategoryPortTypeRole_myRole" file-path="AddCategory.bpel" interface-name="ns19:AddCategoryPortType" name="endpoint12" process-name="AddCategory" service-name="ns18:IliasAdapter"/> + <endpoint display-name="IliasAdapter" endpoint-name="DeleteCoursePortTypeRole_myRole" file-path="DeleteCourse.bpel" interface-name="ns21:DeleteCoursePortType" name="endpoint13" process-name="DeleteCourse" service-name="ns20:IliasAdapter"/> + <endpoint display-name="ILIASAdapter" endpoint-name="ILIASClientAdapterPortTypeRole_myRole" file-path="OutboundClientAdapter.bpel" interface-name="ns7:ILIASClientAdapterPortType" name="endpoint14" process-name="OutboundClientAdapter" service-name="ns22:ILIASAdapter"/> + <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="Login.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint15" process-name="Login" service-name="ns8:ILIAS"/> + <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint16" process-name="UpdateCategory" service-name="ns10:ILIAS"/> + <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint17" process-name="DeleteCategory" service-name="ns12:ILIAS"/> + <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint18" process-name="AddCourse" service-name="ns14:ILIAS"/> + <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="UpdateCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint19" process-name="UpdateCourse" service-name="ns16:ILIAS"/> + <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="AddCategory.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint20" process-name="AddCategory" service-name="ns18:ILIAS"/> + <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="DeleteCourse.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint21" process-name="DeleteCourse" service-name="ns20:ILIAS"/> + <endpoint display-name="Login" endpoint-name="LoginPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns9:LoginPortType" name="endpoint22" process-name="OutboundClientAdapter" service-name="ns22:Login"/> + <endpoint display-name="AddCourse" endpoint-name="AddCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns15:AddCoursePortType" name="endpoint23" process-name="OutboundClientAdapter" service-name="ns22:AddCourse"/> + <endpoint display-name="UpdateCourse" endpoint-name="UpdateCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns17:UpdateCoursePortType" name="endpoint24" process-name="OutboundClientAdapter" service-name="ns22:UpdateCourse"/> + <endpoint display-name="DeleteCourse" endpoint-name="DeleteCoursePortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns21:DeleteCoursePortType" name="endpoint25" process-name="OutboundClientAdapter" service-name="ns22:DeleteCourse"/> + <endpoint display-name="AddCategory" endpoint-name="AddCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns19:AddCategoryPortType" name="endpoint26" process-name="OutboundClientAdapter" service-name="ns22:AddCategory"/> + <endpoint display-name="UpdateCategory" endpoint-name="UpdateCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns11:UpdateCategoryPortType" name="endpoint27" process-name="OutboundClientAdapter" service-name="ns22:UpdateCategory"/> + <endpoint display-name="DeleteCategory" endpoint-name="DeleteCategoryPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns13:DeleteCategoryPortType" name="endpoint28" process-name="OutboundClientAdapter" service-name="ns22:DeleteCategory"/> + <endpoint display-name="ReplyProcessor" endpoint-name="ReplyProcessorPortTypeRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns23:ReplyProcessorPortType" name="endpoint29" process-name="OutboundClientAdapter" service-name="ns22:ReplyProcessor"/> + <endpoint display-name="ILIAS" endpoint-name="ILIASSoapWebserviceRole_partnerRole" file-path="OutboundClientAdapter.bpel" interface-name="ns1:ILIASSoapWebservicePortType" name="endpoint30" process-name="OutboundClientAdapter" service-name="ns22:ILIAS"/> + <endpoint display-name="ClientAdapter" endpoint-name="ReplyProcessorPortTypeRole_myRole" file-path="ReplyProcessor.bpel" interface-name="ns23:ReplyProcessorPortType" name="endpoint31" process-name="ReplyProcessor" service-name="ns24:ClientAdapter"/> + <endpoint display-name="ClientAdapter" endpoint-name="ObjectProcessorPortTypeRole_myRole" file-path="InboundObjectProcessor.bpel" interface-name="ns6:ObjectProcessorPortType" name="endpoint32" process-name="InboundObjectProcessor" service-name="ns25:ClientAdapter"/> + <endpoint display-name="IdentityMapper" endpoint-name="IdentityMapperPortTypeRole_partnerRole" file-path="InboundObjectProcessor.bpel" interface-name="ns2:IdentityMapperPortType" name="endpoint33" process-name="InboundObjectProcessor" service-name="ns25:IdentityMapper"/> + <endpoint endpoint-name="javaee_IdentityMapperPort" interface-name="ns2:IdentityMapperPortType" name="endpoint34" service-name="ns2:IdentityMapperService"/> + <endpoint endpoint-name="javaee_XSLTTransformPort" interface-name="ns3:XSLTTransformPortType" name="endpoint35" service-name="ns3:XSLTTransformService"/> + <endpoint display-name="LSF" endpoint-name="LSFClientAdapterPortTypeRole_myRole" file-path="InboundClientAdapter.bpel" interface-name="ns5:LSFClientAdapterPortType" name="endpoint36" process-name="InboundClientAdapter" service-name="ns26:LSF"/> + <endpoint display-name="XSLTTransform" endpoint-name="XSLTTransformPortTypeRole_partnerRole" file-path="InboundClientAdapter.bpel" interface-name="ns3:XSLTTransformPortType" name="endpoint37" process-name="InboundClientAdapter" service-name="ns26:XSLTTransform"/> + <endpoint display-name="ObjectProcessor" endpoint-name="ObjectProcessorPortTypeRole_partnerRole" file-path="InboundClientAdapter.bpel" interface-name="ns6:ObjectProcessorPortType" name="endpoint38" process-name="InboundClientAdapter" service-name="ns26:ObjectProcessor"/> </endpoints> <service-units> - <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="593" y="37"> + <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="97"> <provides endpoint="endpoint7"/> <provides endpoint="endpoint8"/> <provides endpoint="endpoint9"/> @@ -63,51 +65,53 @@ <consumes endpoint="endpoint27"/> <consumes endpoint="endpoint28"/> <consumes endpoint="endpoint29"/> + <consumes endpoint="endpoint30"/> </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="690" y="803"/> - <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="154" y="599"> - <provides endpoint="endpoint30"/> - <consumes endpoint="endpoint31"/> - </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="374" y="789"> + <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="886"/> + <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="969"> + <provides endpoint="endpoint31"/> <provides endpoint="endpoint32"/> + <consumes endpoint="endpoint33"/> </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="346" y="429"> - <provides endpoint="endpoint33"/> - </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="54" y="385"> + <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="1170"> <provides endpoint="endpoint34"/> - <consumes endpoint="endpoint35"/> - <consumes endpoint="endpoint36"/> </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="1285"> + <provides endpoint="endpoint35"/> + </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="1400"> + <provides endpoint="endpoint36"/> + <consumes endpoint="endpoint37"/> + <consumes endpoint="endpoint38"/> + </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="268"> + <port x="67" y="422"> <link xlink:href="../jbiasa/CSEIPCA.wsdl#xpointer(/definitions/service[@name='casaService1']/port[@name='casaPort1'])" xlink:type="simple"/> - <consumes endpoint="endpoint1"/> - <provides endpoint="endpoint1"/> - </port> - <port state="deleted" x="0" y="-1"> - <link xlink:href="../jbiServiceUnits/XSLTTransform/META-INF/wsdl/XSLTTransform/XSLTTransform.wsdl#xpointer(/definitions/service[@name='XSLTTransformService']/port[@name='XSLTTransformPort'])" xlink:type="simple"/> - <consumes endpoint="endpoint2"/> - <provides endpoint="endpoint2"/> - </port> - <port x="67" y="631"> - <link xlink:href="../jbiServiceUnits/ObjectProcessor/ObjectProcessor.wsdl#xpointer(/definitions/service[@name='ObjectProcessorService']/port[@name='ObjectProcessorPortTypeBindingPort'])" xlink:type="simple"/> <consumes endpoint="endpoint4"/> <provides endpoint="endpoint4"/> </port> - <port state="deleted" x="67" y="37"> - <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"/> + <port x="67" y="345"> + <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 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"/> + <port x="67" y="268"> + <link xlink:href="../jbiServiceUnits/ObjectProcessor/InboundObjectProcessor.wsdl#xpointer(/definitions/service[@name='ObjectProcessorService']/port[@name='ObjectProcessorPortTypeBindingPort'])" xlink:type="simple"/> <consumes endpoint="endpoint5"/> <provides endpoint="endpoint5"/> </port> - <port x="67" y="148"> + <port x="67" y="191"> + <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/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 x="67" y="37"> <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ILIASClientAdapter.wsdl#xpointer(/definitions/service[@name='ILIASClientAdapterService']/port[@name='ILIASClientAdapterPort'])" xlink:type="simple"/> <consumes endpoint="endpoint6"/> <provides endpoint="endpoint6"/> @@ -116,93 +120,96 @@ </binding-component-service-unit> </service-units> <connections> - <connection consumer="endpoint15" provider="endpoint5" state="unchanged"/> - <connection consumer="endpoint16" provider="endpoint5" state="unchanged"/> - <connection consumer="endpoint17" provider="endpoint5" state="unchanged"/> - <connection consumer="endpoint18" provider="endpoint5" state="unchanged"/> - <connection consumer="endpoint26" provider="endpoint5" state="unchanged"/> - <connection consumer="endpoint27" provider="endpoint5" state="unchanged"/> - <connection consumer="endpoint28" provider="endpoint5" state="unchanged"/> - <connection consumer="endpoint29" provider="endpoint5" state="unchanged"/> - <connection consumer="endpoint19" provider="endpoint7" state="unchanged"/> - <connection consumer="endpoint31" provider="endpoint32" state="unchanged"/> - <connection consumer="endpoint21" provider="endpoint10" state="unchanged"/> - <connection consumer="endpoint35" provider="endpoint33" state="unchanged"/> - <connection consumer="endpoint1" provider="endpoint34" state="new"/> - <connection consumer="endpoint20" provider="endpoint9" state="unchanged"/> - <connection consumer="endpoint4" provider="endpoint30" state="unchanged"/> - <connection consumer="endpoint36" provider="endpoint30" state="unchanged"/> - <connection consumer="endpoint22" provider="endpoint14" state="unchanged"/> + <connection consumer="endpoint22" provider="endpoint7" state="unchanged"/> + <connection consumer="endpoint15" provider="endpoint1" state="unchanged"/> + <connection consumer="endpoint16" provider="endpoint1" state="unchanged"/> + <connection consumer="endpoint17" provider="endpoint1" state="unchanged"/> + <connection consumer="endpoint18" provider="endpoint1" state="unchanged"/> + <connection consumer="endpoint19" provider="endpoint1" state="unchanged"/> + <connection consumer="endpoint20" provider="endpoint1" state="unchanged"/> + <connection consumer="endpoint21" provider="endpoint1" state="unchanged"/> + <connection consumer="endpoint30" provider="endpoint1" state="unchanged"/> + <connection consumer="endpoint24" provider="endpoint11" state="unchanged"/> + <connection consumer="endpoint2" provider="endpoint34" state="unchanged"/> + <connection consumer="endpoint33" provider="endpoint34" state="unchanged"/> + <connection consumer="endpoint3" provider="endpoint35" state="unchanged"/> + <connection consumer="endpoint37" provider="endpoint35" state="unchanged"/> + <connection consumer="endpoint4" provider="endpoint36" state="unchanged"/> + <connection consumer="endpoint23" provider="endpoint10" state="unchanged"/> + <connection consumer="endpoint5" provider="endpoint32" state="unchanged"/> + <connection consumer="endpoint38" provider="endpoint32" state="unchanged"/> <connection consumer="endpoint25" provider="endpoint13" state="unchanged"/> - <connection consumer="endpoint6" provider="endpoint11" state="unchanged"/> - <connection consumer="endpoint24" provider="endpoint12" state="unchanged"/> - <connection consumer="endpoint23" provider="endpoint8" state="unchanged"/> - <connection consumer="endpoint2" provider="endpoint33" state="deleted"/> - <connection consumer="endpoint3" provider="endpoint32" state="deleted"/> + <connection consumer="endpoint28" provider="endpoint9" state="unchanged"/> + <connection consumer="endpoint6" provider="endpoint14" state="unchanged"/> + <connection consumer="endpoint27" provider="endpoint8" state="unchanged"/> + <connection consumer="endpoint29" provider="endpoint31" state="unchanged"/> + <connection consumer="endpoint26" provider="endpoint12" state="unchanged"/> </connections> <porttypes> <link xlink:href="../jbiasa/CSEIPCA.wsdl#xpointer(/definitions/portType[@name='dummyCasaPortType'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/Common/CDMM.wsdl#xpointer(/definitions/portType[@name='CDMMPortType'])" 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/XSLTTransform/META-INF/wsdl/XSLTTransform/XSLTTransform.wsdl#xpointer(/definitions/portType[@name='XSLTTransformPortType'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/ObjectProcessor/ObjectProcessor.wsdl#xpointer(/definitions/portType[@name='ObjectProcessorPortType'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/META-INF/Common/src/CDMM.wsdl#xpointer(/definitions/portType[@name='CDMMPortType'])" 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='IdentityMapperPortType'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/META-INF/Common/src/CDMM.wsdl#xpointer(/definitions/portType[@name='CDMMPortType'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/META-INF/LSFClientAdapter/src/_references/_projects/ObjectProcessor/src/ObjectProcessor.wsdl#xpointer(/definitions/portType[@name='ObjectProcessorPortType'])" 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/Common/CDMM.wsdl#xpointer(/definitions/portType[@name='CDMMPortType'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/LSFClientAdapter/XSLTTransform.wsdl#xpointer(/definitions/portType[@name='XSLTTransformPortType'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/LSFClientAdapter/LSFClientAdapter.wsdl#xpointer(/definitions/portType[@name='LSFClientAdapterPortType'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/UpdateCourse.wsdl#xpointer(/definitions/portType[@name='UpdateCoursePortType'])" 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/AddCourse.wsdl#xpointer(/definitions/portType[@name='AddCoursePortType'])" 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/ilias-3.10.5-fixed.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/DeleteCourse.wsdl#xpointer(/definitions/portType[@name='DeleteCoursePortType'])" xlink:type="simple"/> <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/UpdateCategory.wsdl#xpointer(/definitions/portType[@name='UpdateCategoryPortType'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/DeleteCategory.wsdl#xpointer(/definitions/portType[@name='DeleteCategoryPortType'])" 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/IdentityMapper/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"/> </porttypes> <bindings> <link xlink:href="../jbiasa/CSEIPCA.wsdl#xpointer(/definitions/binding[@name='casaBinding1'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/Common/CDMM.wsdl#xpointer(/definitions/binding[@name='CDMMPortTypeBinding'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/LSFClientAdapter/LSFClientAdapter.wsdl#xpointer(/definitions/binding[@name='LSFClientAdapterPortTypeBinding'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/LSFClientAdapter/XSLTTransform.wsdl#xpointer(/definitions/binding[@name='XSLTTransformBinding'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/ObjectProcessor/InboundObjectProcessor.wsdl#xpointer(/definitions/binding[@name='ObjectProcessorPortTypeBinding'])" 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/ObjectProcessor.wsdl#xpointer(/definitions/binding[@name='ObjectProcessorPortTypeBinding'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/META-INF/Common/src/CDMM.wsdl#xpointer(/definitions/binding[@name='CDMMPortTypeBinding'])" 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/IdentityMapper/src/conf/wsdl/IdentityMapperWS/IdentityMapper.wsdl#xpointer(/definitions/binding[@name='IdentityMapperBinding'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/META-INF/Common/src/CDMM.wsdl#xpointer(/definitions/binding[@name='CDMMPortTypeBinding'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/META-INF/LSFClientAdapter/src/_references/_projects/ObjectProcessor/src/ObjectProcessor.wsdl#xpointer(/definitions/binding[@name='ObjectProcessorPortTypeBinding'])" xlink:type="simple"/> <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/CSEIPCA.wsdl#xpointer(/definitions/binding[@name='casaBinding1'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/Common/CDMM.wsdl#xpointer(/definitions/binding[@name='CDMMPortTypeBinding'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/LSFClientAdapter/XSLTTransform.wsdl#xpointer(/definitions/binding[@name='XSLTTransformBinding'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/LSFClientAdapter/LSFClientAdapter.wsdl#xpointer(/definitions/binding[@name='LSFClientAdapterPortTypeBinding'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/ILIASClientAdapter/ilias-3.10.5.wsdl#xpointer(/definitions/binding[@name='ILIASSoapWebserviceBinding'])" xlink:type="simple"/> <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/ILIASClientAdapter/ilias-3.10.5.wsdl#xpointer(/definitions/binding[@name='ILIASSoapWebserviceBinding'])" xlink:type="simple"/> <link xlink:href="../jbiServiceUnits/IdentityMapper/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"/> </bindings> <services> <link xlink:href="../jbiasa/CSEIPCA.wsdl#xpointer(/definitions/service[@name='casaService1'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/Common/CDMM.wsdl#xpointer(/definitions/service[@name='CDMMService'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/LSFClientAdapter/XSLTTransform.wsdl#xpointer(/definitions/service[@name='XSLTTransformService'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/ObjectProcessor/InboundObjectProcessor.wsdl#xpointer(/definitions/service[@name='ObjectProcessorService'])" 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/ObjectProcessor.wsdl#xpointer(/definitions/service[@name='ObjectProcessorService'])" xlink:type="simple"/> + <link xlink:href="../jbiServiceUnits/META-INF/Common/src/CDMM.wsdl#xpointer(/definitions/service[@name='CDMMService'])" 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/IdentityMapper/src/conf/wsdl/IdentityMapperWS/IdentityMapper.wsdl#xpointer(/definitions/service[@name='IdentityMapperService'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/META-INF/Common/src/CDMM.wsdl#xpointer(/definitions/service[@name='CDMMService'])" xlink:type="simple"/> - <link xlink:href="../jbiServiceUnits/META-INF/LSFClientAdapter/src... [truncated message content] |
From: <pka...@us...> - 2009-06-09 08:05:02
|
Revision: 249 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=249&view=rev Author: pkasprzak Date: 2009-06-09 08:04:55 +0000 (Tue, 09 Jun 2009) Log Message: ----------- * Prettying / better debugging Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/build.xml trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/build-impl.xml trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/genfiles.properties Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/build.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/build.xml 2009-06-09 08:04:04 UTC (rev 248) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/build.xml 2009-06-09 08:04:55 UTC (rev 249) @@ -1,66 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- You may freely edit this file. See commented blocks below for --> -<!-- some examples of how to customize the build. --> -<!-- (If you delete it and reopen the project it will be recreated.) --> <project name="" default="default" basedir="." xmlns:web="http://www.netbeans.org/ns/j2ee-ejbjarproject/1"> - <description>Builds, tests, and runs the project .</description> <import file="nbproject/build-impl.xml"/> - <!-- - There exist several targets which are by default empty and which can be - used for execution of your tasks. These targets are usually executed - before and after some main targets. They are: - - -pre-init called before initialization of project properties - -post-init called after initialization of project properties - -pre-compile called before javac compilation - -post-compile called after javac compilation - -pre-compile-single called before javac compilation of single file - -post-compile-single called after javac compilation of single file - -pre-dist called before jar building - -post-dist called after jar building - -post-clean called after cleaning build products - - Example of pluging an obfuscator after the compilation could look like - - <target name="post-compile"> - <obfuscate> - <fileset dir="${build.classes.dir}"/> - </obfuscate> - </target> - - For list of available properties check the imported - nbproject/build-impl.xml file. - - Other way how to customize the build is by overriding existing main targets. - The target of interest are: - - init-macrodef-javac defines macro for javac compilation - init-macrodef-debug defines macro for class debugging - do-dist jar archive building - run execution of project - javadoc-build javadoc generation - - Example of overriding the target for project execution could look like - - <target name="run" depends="<PROJNAME>-impl.jar"> - <exec dir="bin" executable="launcher.exe"> - <arg file="${dist.jar}"/> - </exec> - </target> - - Notice that overridden target depends on jar target and not only on - compile target as regular run target does. Again, for list of available - properties which you can use check the target you are overriding in - nbproject/build-impl.xml file. - --> - <target name="-init-esb-ide" if="netbeans.home"> + <target name="init-esb-ide" if="netbeans.home"> <property name="esb.netbeans.platform" value="${netbeans.home}"/> </target> - <target name="-init-esb-cmdline" unless="netbeans.home"> + <target name="init-esb-cli" unless="netbeans.home"> <property file="${basedir}/nbproject/private/private.properties"/> <property name="esb.netbeans.platform" value="${esb.netbeans.home}/platform9"/> <property name="netbeans.user" value="${esb.netbeans.user}"/> <property name="from.commandline" value="true"/> </target> - <target name="-pre-init" depends="-init-esb-ide,-init-esb-cmdline"/> + <target name="check-catd-context"> + <condition property="no.catd.context"> + <not> + <isset property="org.netbeans.modules.compapp.catd.context"/> + </not> + </condition> + </target> + <target name="init-catd" if="no.catd.context"> + <property name="org.netbeans.modules.compapp.catd.context" value=""/> + </target> + <target name="pre-init" depends="init-esb-ide,init-esb-cli,check-catd-context,init-catd"/> </project> Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/build-impl.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/build-impl.xml 2009-06-09 08:04:04 UTC (rev 248) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/build-impl.xml 2009-06-09 08:04:55 UTC (rev 249) @@ -1,52 +1,43 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - *** GENERATED FROM project.xml - DO NOT EDIT *** - *** EDIT ../build.xml INSTEAD *** - - For the purpose of easier reading the script - is divided into following sections: - - - initialization - - dist - - cleanup + *** GENERATED FROM project.xml - DO NOT EDIT *** + *** EDIT ../build.xml INSTEAD *** --> <project name="ObjectProcessor-impl" default="default" basedir=".."> - <target name="default" depends="dist_se" description="Build whole project."/> + <target name="default" depends="dist_se"/> <!-- - ====================== INITIALIZATION SECTION - ====================== --> - <target name="-pre-init"> + <target name="pre-init"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="-init-private" depends="-pre-init"> + <target name="init-private" depends="pre-init"> <property file="nbproject/private/private.properties"/> </target> - <target name="-init-userdir" depends="-pre-init,-init-private"> + <target name="init-userdir" depends="pre-init,init-private"> <property name="user.properties.file" location="${netbeans.user}/build.properties"/> </target> - <target name="-init-user" depends="-pre-init,-init-private,-init-userdir"> + <target name="init-user" depends="pre-init,init-private,init-userdir"> <property file="${user.properties.file}"/> </target> - <target name="-init-project" depends="-pre-init,-init-private,-init-userdir,-init-user"> + <target name="init-project" depends="pre-init,init-private,init-userdir,init-user"> <property file="nbproject/project.properties"/> </target> - <target name="-do-init" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project"> + <target name="do-init" depends="pre-init,init-private,init-userdir,init-user,init-project"> <available file="${src.dir}/../retrieved" property="retrieved.exists"/> </target> - <target name="-post-init"> + <target name="post-init"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="-init-check" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init"> + <target name="init-check" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init"> <fail unless="src.dir">Must set src.dir</fail> <fail unless="build.dir">Must set build.dir</fail> <fail unless="dist.dir">Must set dist.dir</fail> <fail unless="dist.jar">Must set dist.jar</fail> </target> - <target name="-init-taskdefs" if="from.commandline"> + <target name="init-taskdefs" if="from.commandline"> <path id="ant.task.classpath"> <pathelement location="${esb.netbeans.platform}/../ide10/modules/ext/resolver-1.2.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-apache-xml-resolver.jar"/> @@ -95,25 +86,21 @@ <classpath refid="ant.task.classpath"/> </taskdef> </target> - <target name="init" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init,-post-init,-init-check,-init-taskdefs"/> + <target name="init" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init,post-init,init-check,init-taskdefs"/> <!-- - ===================== DIST BUILDING SECTION - ===================== --> - <target name="-pre-dist"> + <target name="pre-dist"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="-deps-jar-dist" depends="init" unless="${no.dependencies}"> + <target name="deps-jar-dist" depends="init" unless="${no.dependencies}"> <ant target="dist_se" inheritall="false" dir="${project.Common}"/> <ant target="dist" inheritall="false" dir="${project.IdentityMapper}"/> </target> - <target name="-do-dist" depends="init,-pre-dist"> + <target name="do-dist" depends="init,pre-dist"> <mkdir dir="${build.dir}"/> - <!--validation--> <validate-project buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" buildDependentProjectDir="${basedir}/${build.dir}/dependentProjectFiles" classpathRef="ant.task.classpath" allowBuildWithError="${allow.build.with.error}" validation="${validation}"/> - <!-- copy all files from project source directory to build directory. --> <copy todir="${build.dir}" preservelastmodified="true"> <fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd, **/*.xsl, **/*.xslt, **/*.jar" dir="${src.dir}"/> </copy> @@ -127,31 +114,29 @@ </fileset> </jar> </target> - <target name="-post-dist"> + <target name="post-dist"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="dist_se" depends="init,-pre-dist,-deps-jar-dist,-do-dist,-post-dist" description="Build distribution."/> + <target name="dist_se" depends="init,pre-dist,deps-jar-dist,do-dist,post-dist"/> <!-- - =============== CLEANUP SECTION - =============== --> - <target name="-pre-clean"> + <target name="pre-clean"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="-deps-clean" depends="init" unless="${no.dependencies}"> + <target name="deps-clean" depends="init" unless="${no.dependencies}"> <ant target="clean" inheritall="false" dir="${project.Common}"/> <ant target="clean" inheritall="false" dir="${project.IdentityMapper}"/> </target> - <target name="-do-clean" depends="init,-pre-clean"> + <target name="do-clean" depends="init,pre-clean"> <delete dir="${build.dir}"/> <delete dir="${dist.dir}"/> </target> - <target name="-post-clean"> + <target name="post-clean"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="clean" depends="init,-pre-clean,-deps-clean,-do-clean,-post-clean" description="Clean build products."/> + <target name="clean" depends="init,pre-clean,deps-clean,do-clean,post-clean"/> </project> Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/genfiles.properties =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/genfiles.properties 2009-06-09 08:04:04 UTC (rev 248) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/genfiles.properties 2009-06-09 08:04:55 UTC (rev 249) @@ -1,8 +1,8 @@ build.xml.data.CRC32=6c6f774a -build.xml.script.CRC32=60b50638 -build.xml.stylesheet.CRC32=f35fd70d +build.xml.script.CRC32=22f94a4b +build.xml.stylesheet.CRC32=b168c0ed # 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=6c6f774a -nbproject/build-impl.xml.script.CRC32=0b0fd8f1 -nbproject/build-impl.xml.stylesheet.CRC32=5068533b +nbproject/build-impl.xml.script.CRC32=932e3664 +nbproject/build-impl.xml.stylesheet.CRC32=2e896532 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-06-09 08:04:07
|
Revision: 248 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=248&view=rev Author: pkasprzak Date: 2009-06-09 08:04:04 +0000 (Tue, 09 Jun 2009) Log Message: ----------- * Generate replies Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/build.xml trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/build-impl.xml trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/genfiles.properties trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/project.properties trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/project.xml Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/build.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/build.xml 2009-06-09 08:02:48 UTC (rev 247) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/build.xml 2009-06-09 08:04:04 UTC (rev 248) @@ -1,66 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- You may freely edit this file. See commented blocks below for --> -<!-- some examples of how to customize the build. --> -<!-- (If you delete it and reopen the project it will be recreated.) --> <project name="" default="default" basedir="." xmlns:web="http://www.netbeans.org/ns/j2ee-ejbjarproject/1"> - <description>Builds, tests, and runs the project .</description> <import file="nbproject/build-impl.xml"/> - <!-- - There exist several targets which are by default empty and which can be - used for execution of your tasks. These targets are usually executed - before and after some main targets. They are: - - -pre-init called before initialization of project properties - -post-init called after initialization of project properties - -pre-compile called before javac compilation - -post-compile called after javac compilation - -pre-compile-single called before javac compilation of single file - -post-compile-single called after javac compilation of single file - -pre-dist called before jar building - -post-dist called after jar building - -post-clean called after cleaning build products - - Example of pluging an obfuscator after the compilation could look like - - <target name="post-compile"> - <obfuscate> - <fileset dir="${build.classes.dir}"/> - </obfuscate> - </target> - - For list of available properties check the imported - nbproject/build-impl.xml file. - - Other way how to customize the build is by overriding existing main targets. - The target of interest are: - - init-macrodef-javac defines macro for javac compilation - init-macrodef-debug defines macro for class debugging - do-dist jar archive building - run execution of project - javadoc-build javadoc generation - - Example of overriding the target for project execution could look like - - <target name="run" depends="<PROJNAME>-impl.jar"> - <exec dir="bin" executable="launcher.exe"> - <arg file="${dist.jar}"/> - </exec> - </target> - - Notice that overridden target depends on jar target and not only on - compile target as regular run target does. Again, for list of available - properties which you can use check the target you are overriding in - nbproject/build-impl.xml file. - --> - <target name="-init-esb-ide" if="netbeans.home"> + <target name="init-esb-ide" if="netbeans.home"> <property name="esb.netbeans.platform" value="${netbeans.home}"/> </target> - <target name="-init-esb-cmdline" unless="netbeans.home"> + <target name="init-esb-cli" unless="netbeans.home"> <property file="${basedir}/nbproject/private/private.properties"/> <property name="esb.netbeans.platform" value="${esb.netbeans.home}/platform9"/> <property name="netbeans.user" value="${esb.netbeans.user}"/> <property name="from.commandline" value="true"/> </target> - <target name="-pre-init" depends="-init-esb-ide,-init-esb-cmdline"/> + <target name="check-catd-context"> + <condition property="no.catd.context"> + <not> + <isset property="org.netbeans.modules.compapp.catd.context"/> + </not> + </condition> + </target> + <target name="init-catd" if="no.catd.context"> + <property name="org.netbeans.modules.compapp.catd.context" value=""/> + </target> + <target name="pre-init" depends="init-esb-ide,init-esb-cli,check-catd-context,init-catd"/> </project> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/build-impl.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/build-impl.xml 2009-06-09 08:02:48 UTC (rev 247) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/build-impl.xml 2009-06-09 08:04:04 UTC (rev 248) @@ -1,52 +1,43 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - *** GENERATED FROM project.xml - DO NOT EDIT *** - *** EDIT ../build.xml INSTEAD *** - - For the purpose of easier reading the script - is divided into following sections: - - - initialization - - dist - - cleanup + *** GENERATED FROM project.xml - DO NOT EDIT *** + *** EDIT ../build.xml INSTEAD *** --> <project name="ILIASClientAdapter-impl" default="default" basedir=".."> - <target name="default" depends="dist_se" description="Build whole project."/> + <target name="default" depends="dist_se"/> <!-- - ====================== INITIALIZATION SECTION - ====================== --> - <target name="-pre-init"> + <target name="pre-init"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="-init-private" depends="-pre-init"> + <target name="init-private" depends="pre-init"> <property file="nbproject/private/private.properties"/> </target> - <target name="-init-userdir" depends="-pre-init,-init-private"> + <target name="init-userdir" depends="pre-init,init-private"> <property name="user.properties.file" location="${netbeans.user}/build.properties"/> </target> - <target name="-init-user" depends="-pre-init,-init-private,-init-userdir"> + <target name="init-user" depends="pre-init,init-private,init-userdir"> <property file="${user.properties.file}"/> </target> - <target name="-init-project" depends="-pre-init,-init-private,-init-userdir,-init-user"> + <target name="init-project" depends="pre-init,init-private,init-userdir,init-user"> <property file="nbproject/project.properties"/> </target> - <target name="-do-init" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project"> + <target name="do-init" depends="pre-init,init-private,init-userdir,init-user,init-project"> <available file="${src.dir}/../retrieved" property="retrieved.exists"/> </target> - <target name="-post-init"> + <target name="post-init"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="-init-check" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init"> + <target name="init-check" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init"> <fail unless="src.dir">Must set src.dir</fail> <fail unless="build.dir">Must set build.dir</fail> <fail unless="dist.dir">Must set dist.dir</fail> <fail unless="dist.jar">Must set dist.jar</fail> </target> - <target name="-init-taskdefs" if="from.commandline"> + <target name="init-taskdefs" if="from.commandline"> <path id="ant.task.classpath"> <pathelement location="${esb.netbeans.platform}/../ide10/modules/ext/resolver-1.2.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-apache-xml-resolver.jar"/> @@ -95,24 +86,21 @@ <classpath refid="ant.task.classpath"/> </taskdef> </target> - <target name="init" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init,-post-init,-init-check,-init-taskdefs"/> + <target name="init" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init,post-init,init-check,init-taskdefs"/> <!-- - ===================== DIST BUILDING SECTION - ===================== --> - <target name="-pre-dist"> + <target name="pre-dist"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="-deps-jar-dist" depends="init" unless="${no.dependencies}"> + <target name="deps-jar-dist" depends="init" unless="${no.dependencies}"> <ant target="dist_se" inheritall="false" dir="${project.Common}"/> + <ant target="dist_se" inheritall="false" dir="${project.ObjectProcessor}"/> </target> - <target name="-do-dist" depends="init,-pre-dist"> + <target name="do-dist" depends="init,pre-dist"> <mkdir dir="${build.dir}"/> - <!--validation--> <validate-project buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" buildDependentProjectDir="${basedir}/${build.dir}/dependentProjectFiles" classpathRef="ant.task.classpath" allowBuildWithError="${allow.build.with.error}" validation="${validation}"/> - <!-- copy all files from project source directory to build directory. --> <copy todir="${build.dir}" preservelastmodified="true"> <fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd, **/*.xsl, **/*.xslt, **/*.jar" dir="${src.dir}"/> </copy> @@ -126,30 +114,29 @@ </fileset> </jar> </target> - <target name="-post-dist"> + <target name="post-dist"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="dist_se" depends="init,-pre-dist,-deps-jar-dist,-do-dist,-post-dist" description="Build distribution."/> + <target name="dist_se" depends="init,pre-dist,deps-jar-dist,do-dist,post-dist"/> <!-- - =============== CLEANUP SECTION - =============== --> - <target name="-pre-clean"> + <target name="pre-clean"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="-deps-clean" depends="init" unless="${no.dependencies}"> + <target name="deps-clean" depends="init" unless="${no.dependencies}"> <ant target="clean" inheritall="false" dir="${project.Common}"/> + <ant target="clean" inheritall="false" dir="${project.ObjectProcessor}"/> </target> - <target name="-do-clean" depends="init,-pre-clean"> + <target name="do-clean" depends="init,pre-clean"> <delete dir="${build.dir}"/> <delete dir="${dist.dir}"/> </target> - <target name="-post-clean"> + <target name="post-clean"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="clean" depends="init,-pre-clean,-deps-clean,-do-clean,-post-clean" description="Clean build products."/> + <target name="clean" depends="init,pre-clean,deps-clean,do-clean,post-clean"/> </project> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/genfiles.properties =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/genfiles.properties 2009-06-09 08:02:48 UTC (rev 247) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/genfiles.properties 2009-06-09 08:04:04 UTC (rev 248) @@ -1,8 +1,8 @@ -build.xml.data.CRC32=c508cd24 -build.xml.script.CRC32=60b50638 -build.xml.stylesheet.CRC32=f35fd70d +build.xml.data.CRC32=da61cde5 +build.xml.script.CRC32=22f94a4b +build.xml.stylesheet.CRC32=b168c0ed # 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=c508cd24 -nbproject/build-impl.xml.script.CRC32=9fe3d43a -nbproject/build-impl.xml.stylesheet.CRC32=5068533b +nbproject/build-impl.xml.data.CRC32=da61cde5 +nbproject/build-impl.xml.script.CRC32=544d13e7 +nbproject/build-impl.xml.stylesheet.CRC32=2e896532 Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/project.properties =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/project.properties 2009-06-09 08:02:48 UTC (rev 247) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/project.properties 2009-06-09 08:04:04 UTC (rev 248) @@ -21,7 +21,9 @@ meta.inf=${source.root}/conf platform.active=default_platform project.Common=../Common +project.ObjectProcessor=../ObjectProcessor reference.Common.dist_se=${project.Common}/build/SEDeployment.jar +reference.ObjectProcessor.dist_se=${project.ObjectProcessor}/build/SEDeployment.jar resource.dir=setup sedeployment.jar=${build.dir}/SEDeployment.jar source.encoding=UTF-8 Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/project.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/project.xml 2009-06-09 08:02:48 UTC (rev 247) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/nbproject/project.xml 2009-06-09 08:04:04 UTC (rev 248) @@ -15,6 +15,14 @@ <clean-target>clean</clean-target> <id>dist_se</id> </reference> + <reference> + <foreign-project>ObjectProcessor</foreign-project> + <artifact-type>jar</artifact-type> + <script>build.xml</script> + <target>dist_se</target> + <clean-target>clean</clean-target> + <id>dist_se</id> + </reference> </references> </configuration> </project> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-06-09 08:02:50
|
Revision: 247 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=247&view=rev Author: pkasprzak Date: 2009-06-09 08:02:48 +0000 (Tue, 09 Jun 2009) Log Message: ----------- * Generate replies Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml 2009-06-09 08:01:13 UTC (rev 246) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml 2009-06-09 08:02:48 UTC (rev 247) @@ -3,4 +3,5 @@ <system systemId="file:/home/pete/openESB/ilias-3.10.5.wsdl" uri="src/ilias-3.10.5.wsdl"/> <system systemId="Common/CDDM.xsd" uri="nb-uri:Common#src/CDDM.xsd"/> <nextCatalog catalog="nbproject/private/cache/retriever/catalog.xml"/> + <system systemId="ObjectProcessor/ReplyProcessor.wsdl" uri="nb-uri:ObjectProcessor#src/ReplyProcessor.wsdl"/> </catalog> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-06-09 08:01:15
|
Revision: 246 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=246&view=rev Author: pkasprzak Date: 2009-06-09 08:01:13 +0000 (Tue, 09 Jun 2009) Log Message: ----------- * Use only one XSLT to generate messages Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/build.xml trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/catalog.xml trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/nbproject/build-impl.xml trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/nbproject/genfiles.properties Modified: trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/build.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/build.xml 2009-06-09 07:59:24 UTC (rev 245) +++ trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/build.xml 2009-06-09 08:01:13 UTC (rev 246) @@ -1,66 +1,24 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- You may freely edit this file. See commented blocks below for --> -<!-- some examples of how to customize the build. --> -<!-- (If you delete it and reopen the project it will be recreated.) --> <project name="" default="default" basedir="." xmlns:web="http://www.netbeans.org/ns/j2ee-ejbjarproject/1"> - <description>Builds, tests, and runs the project .</description> <import file="nbproject/build-impl.xml"/> - <!-- - There exist several targets which are by default empty and which can be - used for execution of your tasks. These targets are usually executed - before and after some main targets. They are: - - -pre-init called before initialization of project properties - -post-init called after initialization of project properties - -pre-compile called before javac compilation - -post-compile called after javac compilation - -pre-compile-single called before javac compilation of single file - -post-compile-single called after javac compilation of single file - -pre-dist called before jar building - -post-dist called after jar building - -post-clean called after cleaning build products - - Example of pluging an obfuscator after the compilation could look like - - <target name="post-compile"> - <obfuscate> - <fileset dir="${build.classes.dir}"/> - </obfuscate> - </target> - - For list of available properties check the imported - nbproject/build-impl.xml file. - - Other way how to customize the build is by overriding existing main targets. - The target of interest are: - - init-macrodef-javac defines macro for javac compilation - init-macrodef-debug defines macro for class debugging - do-dist jar archive building - run execution of project - javadoc-build javadoc generation - - Example of overriding the target for project execution could look like - - <target name="run" depends="<PROJNAME>-impl.jar"> - <exec dir="bin" executable="launcher.exe"> - <arg file="${dist.jar}"/> - </exec> - </target> - - Notice that overridden target depends on jar target and not only on - compile target as regular run target does. Again, for list of available - properties which you can use check the target you are overriding in - nbproject/build-impl.xml file. - --> - <target name="-init-esb-ide" if="netbeans.home"> + <target name="init-esb-ide" if="netbeans.home"> <property name="esb.netbeans.platform" value="${netbeans.home}"/> </target> - <target name="-init-esb-cmdline" unless="netbeans.home"> + <target name="init-esb-cli" unless="netbeans.home"> <property file="${basedir}/nbproject/private/private.properties"/> <property name="esb.netbeans.platform" value="${esb.netbeans.home}/platform9"/> <property name="netbeans.user" value="${esb.netbeans.user}"/> <property name="from.commandline" value="true"/> </target> - <target name="-pre-init" depends="-init-esb-ide,-init-esb-cmdline"/> + <target name="check-catd-context"> + <condition property="no.catd.context"> + <not> + <isset property="org.netbeans.modules.compapp.catd.context"/> + </not> + </condition> + </target> + <target name="init-catd" if="no.catd.context"> + <property name="org.netbeans.modules.compapp.catd.context" value=""/> + </target> + <target name="pre-init" depends="init-esb-ide,init-esb-cli,check-catd-context,init-catd"/> </project> Modified: trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/catalog.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/catalog.xml 2009-06-09 07:59:24 UTC (rev 245) +++ trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/catalog.xml 2009-06-09 08:01:13 UTC (rev 246) @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog" prefer="system"> <nextCatalog catalog="nbproject/private/cache/retriever/catalog.xml"/> - <system systemId="ObjectProcessor/ObjectProcessor.wsdl" uri="nb-uri:ObjectProcessor#src/ObjectProcessor.wsdl"/> <system systemId="Common/CDDM.xsd" uri="nb-uri:Common#src/CDDM.xsd"/> + <system systemId="ObjectProcessor/InboundObjectProcessor.wsdl" uri="nb-uri:ObjectProcessor#src/InboundObjectProcessor.wsdl"/> </catalog> Modified: trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/nbproject/build-impl.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/nbproject/build-impl.xml 2009-06-09 07:59:24 UTC (rev 245) +++ trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/nbproject/build-impl.xml 2009-06-09 08:01:13 UTC (rev 246) @@ -1,52 +1,43 @@ <?xml version="1.0" encoding="UTF-8"?> <!-- - *** GENERATED FROM project.xml - DO NOT EDIT *** - *** EDIT ../build.xml INSTEAD *** - - For the purpose of easier reading the script - is divided into following sections: - - - initialization - - dist - - cleanup + *** GENERATED FROM project.xml - DO NOT EDIT *** + *** EDIT ../build.xml INSTEAD *** --> <project name="LSFClientAdapter-impl" default="default" basedir=".."> - <target name="default" depends="dist_se" description="Build whole project."/> + <target name="default" depends="dist_se"/> <!-- - ====================== INITIALIZATION SECTION - ====================== --> - <target name="-pre-init"> + <target name="pre-init"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="-init-private" depends="-pre-init"> + <target name="init-private" depends="pre-init"> <property file="nbproject/private/private.properties"/> </target> - <target name="-init-userdir" depends="-pre-init,-init-private"> + <target name="init-userdir" depends="pre-init,init-private"> <property name="user.properties.file" location="${netbeans.user}/build.properties"/> </target> - <target name="-init-user" depends="-pre-init,-init-private,-init-userdir"> + <target name="init-user" depends="pre-init,init-private,init-userdir"> <property file="${user.properties.file}"/> </target> - <target name="-init-project" depends="-pre-init,-init-private,-init-userdir,-init-user"> + <target name="init-project" depends="pre-init,init-private,init-userdir,init-user"> <property file="nbproject/project.properties"/> </target> - <target name="-do-init" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project"> + <target name="do-init" depends="pre-init,init-private,init-userdir,init-user,init-project"> <available file="${src.dir}/../retrieved" property="retrieved.exists"/> </target> - <target name="-post-init"> + <target name="post-init"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="-init-check" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init"> + <target name="init-check" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init"> <fail unless="src.dir">Must set src.dir</fail> <fail unless="build.dir">Must set build.dir</fail> <fail unless="dist.dir">Must set dist.dir</fail> <fail unless="dist.jar">Must set dist.jar</fail> </target> - <target name="-init-taskdefs" if="from.commandline"> + <target name="init-taskdefs" if="from.commandline"> <path id="ant.task.classpath"> <pathelement location="${esb.netbeans.platform}/../ide10/modules/ext/resolver-1.2.jar"/> <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-apache-xml-resolver.jar"/> @@ -95,25 +86,21 @@ <classpath refid="ant.task.classpath"/> </taskdef> </target> - <target name="init" depends="-pre-init,-init-private,-init-userdir,-init-user,-init-project,-do-init,-post-init,-init-check,-init-taskdefs"/> + <target name="init" depends="pre-init,init-private,init-userdir,init-user,init-project,do-init,post-init,init-check,init-taskdefs"/> <!-- - ===================== DIST BUILDING SECTION - ===================== --> - <target name="-pre-dist"> + <target name="pre-dist"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="-deps-jar-dist" depends="init" unless="${no.dependencies}"> + <target name="deps-jar-dist" depends="init" unless="${no.dependencies}"> <ant target="dist_se" inheritall="false" dir="${project.Common}"/> <ant target="dist_se" inheritall="false" dir="${project.ObjectProcessor}"/> </target> - <target name="-do-dist" depends="init,-pre-dist"> + <target name="do-dist" depends="init,pre-dist"> <mkdir dir="${build.dir}"/> - <!--validation--> <validate-project buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" buildDependentProjectDir="${basedir}/${build.dir}/dependentProjectFiles" classpathRef="ant.task.classpath" allowBuildWithError="${allow.build.with.error}" validation="${validation}"/> - <!-- copy all files from project source directory to build directory. --> <copy todir="${build.dir}" preservelastmodified="true"> <fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd, **/*.xsl, **/*.xslt, **/*.jar" dir="${src.dir}"/> </copy> @@ -127,31 +114,29 @@ </fileset> </jar> </target> - <target name="-post-dist"> + <target name="post-dist"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="dist_se" depends="init,-pre-dist,-deps-jar-dist,-do-dist,-post-dist" description="Build distribution."/> + <target name="dist_se" depends="init,pre-dist,deps-jar-dist,do-dist,post-dist"/> <!-- - =============== CLEANUP SECTION - =============== --> - <target name="-pre-clean"> + <target name="pre-clean"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="-deps-clean" depends="init" unless="${no.dependencies}"> + <target name="deps-clean" depends="init" unless="${no.dependencies}"> <ant target="clean" inheritall="false" dir="${project.Common}"/> <ant target="clean" inheritall="false" dir="${project.ObjectProcessor}"/> </target> - <target name="-do-clean" depends="init,-pre-clean"> + <target name="do-clean" depends="init,pre-clean"> <delete dir="${build.dir}"/> <delete dir="${dist.dir}"/> </target> - <target name="-post-clean"> + <target name="post-clean"> <!-- Empty placeholder for easier customization. --> <!-- You can override this target in the ../build.xml file. --> </target> - <target name="clean" depends="init,-pre-clean,-deps-clean,-do-clean,-post-clean" description="Clean build products."/> + <target name="clean" depends="init,pre-clean,deps-clean,do-clean,post-clean"/> </project> Modified: trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/nbproject/genfiles.properties =================================================================== --- trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/nbproject/genfiles.properties 2009-06-09 07:59:24 UTC (rev 245) +++ trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/nbproject/genfiles.properties 2009-06-09 08:01:13 UTC (rev 246) @@ -1,8 +1,8 @@ build.xml.data.CRC32=2842e5db -build.xml.script.CRC32=60b50638 -build.xml.stylesheet.CRC32=f35fd70d +build.xml.script.CRC32=22f94a4b +build.xml.stylesheet.CRC32=b168c0ed # 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=2842e5db -nbproject/build-impl.xml.script.CRC32=e5dd60c9 -nbproject/build-impl.xml.stylesheet.CRC32=5068533b +nbproject/build-impl.xml.script.CRC32=1e5564d2 +nbproject/build-impl.xml.stylesheet.CRC32=2e896532 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-06-09 07:59:26
|
Revision: 245 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=245&view=rev Author: pkasprzak Date: 2009-06-09 07:59:24 +0000 (Tue, 09 Jun 2009) Log Message: ----------- * NS changes Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/XSLTTransform/src/java/InboundTransformation.xsl Modified: trunk/sandbox/lsf-adapter-demo/XSLTTransform/src/java/InboundTransformation.xsl =================================================================== --- trunk/sandbox/lsf-adapter-demo/XSLTTransform/src/java/InboundTransformation.xsl 2009-06-09 07:58:50 UTC (rev 244) +++ trunk/sandbox/lsf-adapter-demo/XSLTTransform/src/java/InboundTransformation.xsl 2009-06-09 07:59:24 UTC (rev 245) @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://cse.campussource.de/schema/DataTypes"> +<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://cse.campussource.de/schema/LSFDataTypes"> <xsl:output method="xml" media-type="text/xml" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-06-09 07:58:52
|
Revision: 244 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=244&view=rev Author: pkasprzak Date: 2009-06-09 07:58:50 +0000 (Tue, 09 Jun 2009) Log Message: ----------- * Prettying / better debugging Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.bpel trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.wsdl Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel 2009-06-09 07:57:58 UTC (rev 243) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel 2009-06-09 07:58:50 UTC (rev 244) @@ -8,14 +8,17 @@ 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:tns="http://enterprise.netbeans.org/bpel/ObjectProcessor/newProcess"> - <import namespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" location="InboundObjectProcessor.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> - <import namespace="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" location="IdentityMapper/wsdl/IdentityMapperWS/IdentityMapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" location="InboundObjectProcessor.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" location="IdentityMapper/wsdl/IdentityMapperWS/IdentityMapper.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <partnerLinks> - <partnerLink name="IdentityMapper" xmlns:tns="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" partnerLinkType="tns:IdentityMapper" partnerRole="IdentityMapperPortTypeRole"/> - <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" partnerLinkType="tns:ObjectProcessor" myRole="ObjectProcessorPortTypeRole"/> + <partnerLink name="IdentityMapper" xmlns:tns="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" partnerLinkType="tns:IdentityMapper" + partnerRole="IdentityMapperPortTypeRole"/> + <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" partnerLinkType="tns:ObjectProcessor" + myRole="ObjectProcessorPortTypeRole"/> </partnerLinks> <variables> <variable name="ProcessCategoryOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" messageType="tns:ProcessCategoryOperationRequest"/> @@ -35,7 +38,7 @@ <assign name="prepareResolveBusIdForCourse"> <sxt:trace> <sxt:log level="info" location="onStart"> - <ns0:from>concat('*** Course: ', $ProcessCourseOperationIn.courseMessage)</ns0:from> + <ns0:from>concat('*** Course: ', sxxf:doMarshal($ProcessCourseOperationIn.courseMessage))</ns0:from> </sxt:log> </sxt:trace> <copy> @@ -59,7 +62,7 @@ <assign name="prepareResolveBusIdForCategory"> <sxt:trace> <sxt:log level="info" location="onStart"> - <ns0:from>concat('*** Category: ', $ProcessCategoryOperationIn.categoryMessage)</ns0:from> + <ns0:from>concat('*** Category: ', sxxf:doMarshal($ProcessCategoryOperationIn.categoryMessage))</ns0:from> </sxt:log> </sxt:trace> <copy> @@ -75,7 +78,11 @@ </onMessage> </pick> - <invoke name="resolveBusId" partnerLink="IdentityMapper" operation="ToBusIdOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" portType="tns:IdentityMapperPortType" inputVariable="ToBusIdOperationIn" outputVariable="ToBusIdOperationOut"> + <invoke name="resolveBusId" partnerLink="IdentityMapper" operation="ToBusIdOperation" + xmlns:tns="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" + portType="tns:IdentityMapperPortType" + inputVariable="ToBusIdOperationIn" + outputVariable="ToBusIdOperationOut"> <sxt:trace> <sxt:log level="fine" location="onComplete"> <from>concat('Resolved busId: ', $ToBusIdOperationOut.busId)</from> Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.bpel 2009-06-09 07:57:58 UTC (rev 243) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.bpel 2009-06-09 07:58:50 UTC (rev 244) @@ -8,13 +8,18 @@ xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment" xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" + xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions" xmlns:tns="http://enterprise.netbeans.org/bpel/ObjectProcessor/ReplyProcessor"> + <import namespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" location="ReplyProcessor.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <partnerLinks> - <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" partnerLinkType="tns:ReplyProcessor" myRole="ReplyProcessorPortTypeRole"/> + <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" partnerLinkType="tns:ReplyProcessor" + myRole="ReplyProcessorPortTypeRole"/> </partnerLinks> <variables> - <variable name="ProcessReplyIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" messageType="tns:processReplyRequest"/> + <variable name="ProcessReplyIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" messageType="tns:processReplyRequest"/> + </variables> <sequence> <receive name="start" createInstance="yes" partnerLink="ClientAdapter" operation="processReply" @@ -22,12 +27,13 @@ portType="tns:ReplyProcessorPortType" variable="ProcessReplyIn"/> - <empty> + <empty name="debugReply"> <sxt:trace> - <sxt:log level="info" location="onStart"> - <from>concat('*** Recieved reply: ', '$ProcessReplyIn.reply')</from> + <sxt:log level="info" location="onComplete"> + <from>concat('*** Recieved reply: ', sxxf:doMarshal($ProcessReplyIn.eventReply))</from> </sxt:log> </sxt:trace> </empty> + </sequence> </process> Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.wsdl 2009-06-09 07:57:58 UTC (rev 243) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.wsdl 2009-06-09 07:58:50 UTC (rev 244) @@ -9,7 +9,7 @@ </xsd:schema> </types> <message name="processReplyRequest"> - <part name="reply" type="ns:eventReplyMessageType"/> + <part name="eventReply" element="ns:eventReplyMessage"/> </message> <portType name="ReplyProcessorPortType"> <operation name="processReply"> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-06-09 07:58:06
|
Revision: 243 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=243&view=rev Author: pkasprzak Date: 2009-06-09 07:57:58 +0000 (Tue, 09 Jun 2009) Log Message: ----------- * Use only one XSLT to generate messages Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/CourseToCDDMCourseMessage.xsl trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/InboundClientAdapter.bpel trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/sync-test_output.xml Added Paths: ----------- trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/sync-test_output_output.xml trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/toCDDMMessages.xsl Modified: trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/CourseToCDDMCourseMessage.xsl =================================================================== --- trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/CourseToCDDMCourseMessage.xsl 2009-06-09 07:41:17 UTC (rev 242) +++ trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/CourseToCDDMCourseMessage.xsl 2009-06-09 07:57:58 UTC (rev 243) @@ -26,9 +26,11 @@ <xsl:comment>##### Creating course (<xsl:value-of select="dt:title"/>) #####</xsl:comment> <xsl:element name="courseMessage"> <xsl:element name="course"> - <xsl:element name="busId">1</xsl:element> + <xsl:element name="busId">0</xsl:element> <xsl:element name="eventTime">2000-01-20T12:00:00</xsl:element> - <xsl:for-each select="*[position() < 6]"> + + <!-- Generate attributes --> + <xsl:for-each select="*"> <xsl:comment>----- Attribute: <xsl:value-of select="local-name(.)"/> -----</xsl:comment> <xsl:element name="attribute"> <xsl:element name="name"> @@ -42,6 +44,11 @@ </xsl:element> </xsl:element> </xsl:for-each> + + <!-- Generate category references --> + <xsl:for-each select=""> + </xsl:for-each> + </xsl:element> <xsl:element name="eventTime">2000-01-20T12:00:00</xsl:element> <xsl:element name="inputEvent">CREATE_UPDATE</xsl:element> Modified: trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/InboundClientAdapter.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/InboundClientAdapter.bpel 2009-06-09 07:41:17 UTC (rev 242) +++ trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/InboundClientAdapter.bpel 2009-06-09 07:57:58 UTC (rev 243) @@ -27,34 +27,54 @@ <partnerLink name="LSF" xmlns:tns="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/LSFClientAdapter" partnerLinkType="tns:LSFClientAdapter" myRole="LSFClientAdapterPortTypeRole"/> </partnerLinks> <variables> - <variable name="XSLTTransformOperationOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" messageType="tns:XSLTTransformOperationResponse"/> - <variable name="XSLTTransformOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" messageType="tns:XSLTTransformOperationRequest"/> - <variable name="ReceiveIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/LSFClientAdapter" messageType="tns:receiveRequest"/> - <variable name="synchronizationMessage" xmlns:tns="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/LSFClientAdapter" element="lsfdt:synchronizationMessage"/> + <variable name="XSLTTransformOperationOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" messageType="tns:XSLTTransformOperationResponse"/> + <variable name="XSLTTransformOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" messageType="tns:XSLTTransformOperationRequest"/> + <variable name="ReceiveIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/LSFClientAdapter" messageType="tns:receiveRequest"/> + + <variable name="SynchronizationMessage" element="lsfdt:synchronizationMessage"/> + <variable name="Messages" element="dt:messages"/> </variables> <sequence> - <receive name="receive" createInstance="yes" partnerLink="LSF" operation="receive" xmlns:tns="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/LSFClientAdapter" portType="tns:LSFClientAdapterPortType" variable="ReceiveIn"/> + <receive name="receive" createInstance="yes" partnerLink="LSF" operation="receive" + xmlns:tns="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/LSFClientAdapter" + portType="tns:LSFClientAdapterPortType" + variable="ReceiveIn"/> <assign name="prepareXSLTTransform"> <copy> <from variable="ReceiveIn" part="InputData"/> <to variable="XSLTTransformOperationIn" part="inputXML"/> </copy> </assign> - <invoke name="doXSLTTransform" partnerLink="XSLTTransform" operation="XSLTTransformOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" portType="tns:XSLTTransformPortType" inputVariable="XSLTTransformOperationIn" outputVariable="XSLTTransformOperationOut"/> - <assign name="convertResult"> + + <invoke name="doXSLTTransform" partnerLink="XSLTTransform" operation="XSLTTransformOperation" + xmlns:tns="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" + portType="tns:XSLTTransformPortType" + inputVariable="XSLTTransformOperationIn" + outputVariable="XSLTTransformOperationOut"/> + + <assign name="unmarshalResult"> +<!-- <sxt:trace> -<!-- - <sxt:log level="info" location="onStart"> - <ns0:from>concat('XSLT-Transofmation-Output: ', $XSLTTransformOperationOut.result)</ns0:from> - </sxt:log> + <sxt:log level="info" location="onStart"> + <ns0:from>concat('*** XSLT-Transformation-Output: ', $XSLTTransformOperationOut.result)</ns0:from> + </sxt:log> + </sxt:trace> --> + <copy> + <from>sxxf:doUnMarshal($XSLTTransformOperationOut.result)</from> + <to variable="SynchronizationMessage"/> + </copy> + </assign> + + <assign name="convertToMessages"> + <sxt:trace> <sxt:log level="info" location="onComplete"> - <ns0:from>concat('Variable.SemesterName: ', $synchronizationMessage/semesterName)</ns0:from> + <ns0:from>concat('*** Messages: ', sxxf:doMarshal($Messages))</ns0:from> </sxt:log> </sxt:trace> <copy> - <from>sxxf:doUnMarshal($XSLTTransformOperationOut.result)</from> - <to variable="synchronizationMessage"/> + <from>ns0:doXslTransform('urn:stylesheets:toCDDMMessages.xsl', $SynchronizationMessage)</from> + <to>$Messages</to> </copy> </assign> @@ -66,7 +86,7 @@ </sxt:log> </sxt:trace> <startCounterValue>1</startCounterValue> - <finalCounterValue>count($synchronizationMessage/courses/course[.])</finalCounterValue> + <finalCounterValue>count($Messages/dt:courseMessages/*)</finalCounterValue> <scope name="invokeObjectProcessorForCourseMessages"> <variables> <variable name="ProcessCourseOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" messageType="tns:ProcessCourseOperationRequest"/> @@ -79,18 +99,20 @@ <to variable="ProcessCourseOperationIn" part="clientInstanceId"/> </copy> <copy> - <from>$synchronizationMessage/courses/course[$CourseCounter]/clientId</from> + <from>$Messages/dt:courseMessages/dt:courseMessage[$CourseCounter]/dt:course/dt:attribute[dt:name = 'clientId']/dt:value</from> <to variable="ProcessCourseOperationIn" part="clientObjectId"/> </copy> </assign> - <!-- Copy relevant attributes --> + <!-- Extract message --> <assign name="transformCourseToCDDMCourseMessage"> <copy> - <from>ns0:doXslTransform('urn:stylesheets:CourseToCDDMCourseMessage.xsl', $synchronizationMessage/courses/course[$CourseCounter])</from> + <from>$Messages/dt:courseMessages/dt:courseMessage[$CourseCounter]</from> <to>$ProcessCourseOperationIn.courseMessage</to> </copy> </assign> - <invoke name="processCourseMessage" partnerLink="ObjectProcessor" operation="ProcessCourseOperation" portType="ns1:ObjectProcessorPortType" inputVariable="ProcessCourseOperationIn"/> + <invoke name="processCourseMessage" partnerLink="ObjectProcessor" operation="ProcessCourseOperation" + portType="ns1:ObjectProcessorPortType" + inputVariable="ProcessCourseOperationIn"/> </sequence> </scope> </forEach> @@ -103,7 +125,7 @@ </sxt:log> </sxt:trace> <startCounterValue>1</startCounterValue> - <finalCounterValue>count($synchronizationMessage/categories/category[.])</finalCounterValue> + <finalCounterValue>count($Messages/dt:courseMessages/*)</finalCounterValue> <scope name="invokeObjectProcessorForCategoryMessages"> <variables> <variable name="ProcessCategoryOperationIn" messageType="ns1:ProcessCategoryOperationRequest"/> @@ -116,24 +138,21 @@ <to variable="ProcessCategoryOperationIn" part="clientInstanceId"/> </copy> <copy> - <from>$synchronizationMessage/categories/category[$CategoryCounter]/clientId</from> + <from>$Messages/dt:categoryMessages/dt:categoryMessage[$CategoryCounter]/dt:category/dt:attribute[dt:name = 'clientId']/dt:value</from> <to variable="ProcessCategoryOperationIn" part="clientObjectId"/> </copy> </assign> <!-- Copy relevant attributes --> <assign name="transformCategoryToCDDMCategoryMessage"> <copy> - <from>ns0:doXslTransform('urn:stylesheets:CategoryToCDDMCategoryMessage.xsl', $synchronizationMessage/categories/category[$CategoryCounter])</from> + <from>$Messages/dt:categoryMessages/dt:categoryMessage[$CategoryCounter]</from> <to>$ProcessCategoryOperationIn.categoryMessage</to> </copy> </assign> - <invoke name="processCategoryMessage" partnerLink="ObjectProcessor" operation="ProcessCategoryOperation" portType="ns1:ObjectProcessorPortType" inputVariable="ProcessCategoryOperationIn"> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <ns0:from>concat('*** Sending CategoryMessage: ', $ProcessCategoryOperationIn.categoryMessage)</ns0:from> - </sxt:log> - </sxt:trace> - </invoke> + <invoke name="processCategoryMessage" partnerLink="ObjectProcessor" operation="ProcessCategoryOperation" + portType="ns1:ObjectProcessorPortType" + inputVariable="ProcessCategoryOperationIn"/> + </sequence> </scope> </forEach> Modified: trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/sync-test_output.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/sync-test_output.xml 2009-06-09 07:41:17 UTC (rev 242) +++ trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/sync-test_output.xml 2009-06-09 07:57:58 UTC (rev 243) @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<synchronizationMessage xmlns="http://cse.campussource.de/schema/DataTypes"> +<synchronizationMessage xmlns="http://cse.campussource.de/schema/LSFDataTypes"> <isSyncMessage>true</isSyncMessage> <semesterName>SS 2008</semesterName> <semesterLsfId>20081</semesterLsfId> Added: trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/sync-test_output_output.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/sync-test_output_output.xml (rev 0) +++ trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/sync-test_output_output.xml 2009-06-09 07:57:58 UTC (rev 243) @@ -0,0 +1,680 @@ +<?xml version="1.0" encoding="UTF-8"?> +<messages xmlns="http://cse.campussource.de/schema/DataTypes"> +<courseMessages> +<!--##### Creating course (Tutorium-Test) #####--> +<courseMessage> +<course> +<busId>0</busId> +<eventTime>2000-01-20T12:00:00</eventTime> +<!--- - - - - Attribute: lsfId - - - - - --> +<attribute> +<name>lsfId</name> +<value>32350</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: logicalNumber - - - - - --> +<attribute> +<name>logicalNumber</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: type - - - - - --> +<attribute> +<name>type</name> +<value>Tutorium</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: title - - - - - --> +<attribute> +<name>title</name> +<value>Tutorium-Test</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: shortDescription - - - - - --> +<attribute> +<name>shortDescription</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: abbreviation - - - - - --> +<attribute> +<name>abbreviation</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: necessaryAssignment - - - - - --> +<attribute> +<name>necessaryAssignment</name> +<value>J</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: note - - - - - --> +<attribute> +<name>note</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: comment - - - - - --> +<attribute> +<name>comment</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterAsInt - - - - - --> +<attribute> +<name>semesterAsInt</name> +<value>20081</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterPeriodsPerWeek - - - - - --> +<attribute> +<name>semesterPeriodsPerWeek</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: expectedRegistrations - - - - - --> +<attribute> +<name>expectedRegistrations</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: maximumRegistrations - - - - - --> +<attribute> +<name>maximumRegistrations</name> +<value>20</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: activityConfirmation - - - - - --> +<attribute> +<name>activityConfirmation</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: lectureTypeId - - - - - --> +<attribute> +<name>lectureTypeId</name> +<value>40</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: active - - - - - --> +<attribute> +<name>active</name> +<value>A</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterAbbr - - - - - --> +<attribute> +<name>semesterAbbr</name> +<value>SS 2008</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterFull - - - - - --> +<attribute> +<name>semesterFull</name> +<value>SS 2008</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: dates - - - - - --> +<attribute> +<name>dates</name> +<value> + + + + 14:00 + 16:00 + + + Montag + wöchentlich + + + + + 14:00 + 15:00 + + + Mittwoch + wöchentlich + + </value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: clientId - - - - - --> +<attribute> +<name>clientId</name> +<value>lecture:32350</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterId - - - - - --> +<attribute> +<name>semesterId</name> +<value>20081</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: startDate - - - - - --> +<attribute> +<name>startDate</name> +<value>14.04.2008</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: endDate - - - - - --> +<attribute> +<name>endDate</name> +<value>18.07.2008</value> +<transient>false</transient> +</attribute> +<categories> +<category>category:10482</category> +</categories> +</course> +<eventTime>2000-01-20T12:00:00</eventTime> +<inputEvent>CREATE_UPDATE</inputEvent> +</courseMessage> +<!--##### Creating course (Phonetische Aspekte des Sorbischen) #####--> +<courseMessage> +<course> +<busId>0</busId> +<eventTime>2000-01-20T12:00:00</eventTime> +<!--- - - - - Attribute: lsfId - - - - - --> +<attribute> +<name>lsfId</name> +<value>28232</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: logicalNumber - - - - - --> +<attribute> +<name>logicalNumber</name> +<value>28232</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: type - - - - - --> +<attribute> +<name>type</name> +<value>Hauptseminar</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: title - - - - - --> +<attribute> +<name>title</name> +<value>Phonetische Aspekte des Sorbischen</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: shortDescription - - - - - --> +<attribute> +<name>shortDescription</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: abbreviation - - - - - --> +<attribute> +<name>abbreviation</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: necessaryAssignment - - - - - --> +<attribute> +<name>necessaryAssignment</name> +<value>N</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: note - - - - - --> +<attribute> +<name>note</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: comment - - - - - --> +<attribute> +<name>comment</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterAsInt - - - - - --> +<attribute> +<name>semesterAsInt</name> +<value>20081</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterPeriodsPerWeek - - - - - --> +<attribute> +<name>semesterPeriodsPerWeek</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: expectedRegistrations - - - - - --> +<attribute> +<name>expectedRegistrations</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: maximumRegistrations - - - - - --> +<attribute> +<name>maximumRegistrations</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: activityConfirmation - - - - - --> +<attribute> +<name>activityConfirmation</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: lectureTypeId - - - - - --> +<attribute> +<name>lectureTypeId</name> +<value>98</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: active - - - - - --> +<attribute> +<name>active</name> +<value>A</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: languageISO - - - - - --> +<attribute> +<name>languageISO</name> +<value>de</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: languageFull - - - - - --> +<attribute> +<name>languageFull</name> +<value>deutsch</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterAbbr - - - - - --> +<attribute> +<name>semesterAbbr</name> +<value>SS 2008</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterFull - - - - - --> +<attribute> +<name>semesterFull</name> +<value>SS 2008</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: dates - - - - - --> +<attribute> +<name>dates</name> +<value> + + + + 10:00 + 12:00 + + + Freitag + wöchentlich + + </value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: clientId - - - - - --> +<attribute> +<name>clientId</name> +<value>lecture:28232</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterId - - - - - --> +<attribute> +<name>semesterId</name> +<value>20081</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: startDate - - - - - --> +<attribute> +<name>startDate</name> +<value>14.04.2008</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: endDate - - - - - --> +<attribute> +<name>endDate</name> +<value>18.07.2008</value> +<transient>false</transient> +</attribute> +<categories> +<category>category:10512</category> +</categories> +</course> +<eventTime>2000-01-20T12:00:00</eventTime> +<inputEvent>CREATE_UPDATE</inputEvent> +</courseMessage> +<!--##### Creating course (Numerical Algorithms for Visual Computing I) #####--> +<courseMessage> +<course> +<busId>0</busId> +<eventTime>2000-01-20T12:00:00</eventTime> +<!--- - - - - Attribute: lsfId - - - - - --> +<attribute> +<name>lsfId</name> +<value>28481</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: logicalNumber - - - - - --> +<attribute> +<name>logicalNumber</name> +<value>28481</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: type - - - - - --> +<attribute> +<name>type</name> +<value>Weiterführende Vorlesung</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: title - - - - - --> +<attribute> +<name>title</name> +<value>Numerical Algorithms for Visual Computing I</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: shortDescription - - - - - --> +<attribute> +<name>shortDescription</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: abbreviation - - - - - --> +<attribute> +<name>abbreviation</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: necessaryAssignment - - - - - --> +<attribute> +<name>necessaryAssignment</name> +<value>N</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: note - - - - - --> +<attribute> +<name>note</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: comment - - - - - --> +<attribute> +<name>comment</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterAsInt - - - - - --> +<attribute> +<name>semesterAsInt</name> +<value>20081</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterPeriodsPerWeek - - - - - --> +<attribute> +<name>semesterPeriodsPerWeek</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: expectedRegistrations - - - - - --> +<attribute> +<name>expectedRegistrations</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: maximumRegistrations - - - - - --> +<attribute> +<name>maximumRegistrations</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: activityConfirmation - - - - - --> +<attribute> +<name>activityConfirmation</name> +<value/> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: lectureTypeId - - - - - --> +<attribute> +<name>lectureTypeId</name> +<value>147</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: active - - - - - --> +<attribute> +<name>active</name> +<value>A</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: languageISO - - - - - --> +<attribute> +<name>languageISO</name> +<value>en</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: languageFull - - - - - --> +<attribute> +<name>languageFull</name> +<value>englisch</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterAbbr - - - - - --> +<attribute> +<name>semesterAbbr</name> +<value>SS 2008</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterFull - - - - - --> +<attribute> +<name>semesterFull</name> +<value>SS 2008</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: dates - - - - - --> +<attribute> +<name>dates</name> +<value> + + + + 16:00 + 18:00 + + + Montag + wöchentlich + + </value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: clientId - - - - - --> +<attribute> +<name>clientId</name> +<value>lecture:28481</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterId - - - - - --> +<attribute> +<name>semesterId</name> +<value>20081</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: startDate - - - - - --> +<attribute> +<name>startDate</name> +<value>14.04.2008</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: endDate - - - - - --> +<attribute> +<name>endDate</name> +<value>18.07.2008</value> +<transient>false</transient> +</attribute> +<categories> +<category>category:10512</category> +</categories> +</course> +<eventTime>2000-01-20T12:00:00</eventTime> +<inputEvent>CREATE_UPDATE</inputEvent> +</courseMessage> +</courseMessages> +<categoryMessages> +<!--##### Creating category (Vorlesungsverzeichnis) #####--> +<categoryMessage> +<category> +<busId>0</busId> +<eventTime>2000-01-20T12:00:00</eventTime> +<!--- - - - - Attribute: clientId - - - - - --> +<attribute> +<name>clientId</name> +<value>category:11517</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterId - - - - - --> +<attribute> +<name>semesterId</name> +<value>20081</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: lsfId - - - - - --> +<attribute> +<name>lsfId</name> +<value>11517</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: name - - - - - --> +<attribute> +<name>name</name> +<value>Vorlesungsverzeichnis</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: sort - - - - - --> +<attribute> +<name>sort</name> +<value>0</value> +<transient>false</transient> +</attribute> +</category> +<eventTime>2000-01-20T12:00:00</eventTime> +<inputEvent>CREATE_UPDATE</inputEvent> +</categoryMessage> +<!--##### Creating category (Fakultät 4 (Sprach-, Literatur- u. Kulturwissenschaften)) #####--> +<categoryMessage> +<category> +<busId>0</busId> +<eventTime>2000-01-20T12:00:00</eventTime> +<!--- - - - - Attribute: clientId - - - - - --> +<attribute> +<name>clientId</name> +<value>category:10477</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterId - - - - - --> +<attribute> +<name>semesterId</name> +<value>20081</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: lsfId - - - - - --> +<attribute> +<name>lsfId</name> +<value>10477</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: name - - - - - --> +<attribute> +<name>name</name> +<value>Fakultät 4 (Sprach-, Literatur- u. Kulturwissenschaften)</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: sort - - - - - --> +<attribute> +<name>sort</name> +<value>1040</value> +<transient>false</transient> +</attribute> +</category> +<eventTime>2000-01-20T12:00:00</eventTime> +<inputEvent>CREATE_UPDATE</inputEvent> +</categoryMessage> +<!--##### Creating category (Fakultät 1 (Rechts- u. Wirtschaftswissenschaft)) #####--> +<categoryMessage> +<category> +<busId>0</busId> +<eventTime>2000-01-20T12:00:00</eventTime> +<!--- - - - - Attribute: clientId - - - - - --> +<attribute> +<name>clientId</name> +<value>category:10482</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterId - - - - - --> +<attribute> +<name>semesterId</name> +<value>20081</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: lsfId - - - - - --> +<attribute> +<name>lsfId</name> +<value>10482</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: name - - - - - --> +<attribute> +<name>name</name> +<value>Fakultät 1 (Rechts- u. Wirtschaftswissenschaft)</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: sort - - - - - --> +<attribute> +<name>sort</name> +<value>1010</value> +<transient>false</transient> +</attribute> +</category> +<eventTime>2000-01-20T12:00:00</eventTime> +<inputEvent>CREATE_UPDATE</inputEvent> +</categoryMessage> +<!--##### Creating category (Neue Bachelorstudiengänge der phil. Fakultäten (Fakultäten 3 - 5)) #####--> +<categoryMessage> +<category> +<busId>0</busId> +<eventTime>2000-01-20T12:00:00</eventTime> +<!--- - - - - Attribute: clientId - - - - - --> +<attribute> +<name>clientId</name> +<value>category:10512</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: semesterId - - - - - --> +<attribute> +<name>semesterId</name> +<value>20081</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: lsfId - - - - - --> +<attribute> +<name>lsfId</name> +<value>10512</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: name - - - - - --> +<attribute> +<name>name</name> +<value>Neue Bachelorstudiengänge der phil. Fakultäten (Fakultäten 3 - 5)</value> +<transient>false</transient> +</attribute> +<!--- - - - - Attribute: sort - - - - - --> +<attribute> +<name>sort</name> +<value>1300</value> +<transient>false</transient> +</attribute> +</category> +<eventTime>2000-01-20T12:00:00</eventTime> +<inputEvent>CREATE_UPDATE</inputEvent> +</categoryMessage> +</categoryMessages> +</messages> Added: trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/toCDDMMessages.xsl =================================================================== --- trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/toCDDMMessages.xsl (rev 0) +++ trunk/sandbox/lsf-adapter-demo/LSFClientAdapter/src/toCDDMMessages.xsl 2009-06-09 07:57:58 UTC (rev 243) @@ -0,0 +1,101 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Document : toCDDMMessages.xsl + Created on : April 16, 2009, 10:18 PM + Author : pete + Description: Transform "old" CSE -> CDDM-Messages + +--> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:dt="http://cse.campussource.de/schema/LSFDataTypes" + 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="/dt:synchronizationMessage"> + <xsl:element name="messages"> + + <!-- Generate course-messages --> + <xsl:element name="courseMessages"> + <xsl:for-each select="/dt:synchronizationMessage/dt:courses/*"> + <xsl:comment>##### Creating course (<xsl:value-of select="dt:title"/>) #####</xsl:comment> + <xsl:element name="courseMessage"> + <xsl:element name="course"> + <xsl:element name="busId">0</xsl:element> + <xsl:element name="eventTime">2000-01-20T12:00:00</xsl:element> + + <!-- Generate attributes --> + <xsl:for-each select="*"> + <xsl:comment>----- Attribute: <xsl:value-of select="local-name(.)"/> -----</xsl:comment> + <xsl:element name="attribute"> + <xsl:element name="name"> + <xsl:value-of select="local-name(.)"/> + </xsl:element> + <xsl:element name="value"> + <xsl:value-of select="."/> + </xsl:element> + <xsl:element name="transient"> + <xsl:text>false</xsl:text> + </xsl:element> + </xsl:element> + </xsl:for-each> + + <xsl:variable name="clientId" select="dt:clientId"/> + + <!-- Generate category references --> + <xsl:element name="categories"> + <xsl:for-each select="/dt:synchronizationMessage/dt:relations/*[dt:clientChildId = $clientId and dt:relationType = 'category_to_lectures']"> + <xsl:element name="category"><xsl:value-of select="dt:clientParentId"/></xsl:element> + </xsl:for-each> + </xsl:element> + + </xsl:element> + <xsl:element name="eventTime">2000-01-20T12:00:00</xsl:element> + <xsl:element name="inputEvent">CREATE_UPDATE</xsl:element> + </xsl:element> + + </xsl:for-each> + </xsl:element> + + <!-- Generate category-messages --> + <xsl:element name="categoryMessages"> + <xsl:for-each select="/dt:synchronizationMessage/dt:categories/*"> + <xsl:comment>##### Creating category (<xsl:value-of select="dt:name"/>) #####</xsl:comment> + <xsl:element name="categoryMessage"> + <xsl:element name="category"> + <xsl:element name="busId">0</xsl:element> + <xsl:element name="eventTime">2000-01-20T12:00:00</xsl:element> + + <!-- Generate attributes --> + <xsl:for-each select="*"> + <xsl:comment>----- Attribute: <xsl:value-of select="local-name(.)"/> -----</xsl:comment> + <xsl:element name="attribute"> + <xsl:element name="name"> + <xsl:value-of select="local-name(.)"/> + </xsl:element> + <xsl:element name="value"> + <xsl:value-of select="."/> + </xsl:element> + <xsl:element name="transient"> + <xsl:text>false</xsl:text> + </xsl:element> + </xsl:element> + </xsl:for-each> + </xsl:element> + <xsl:element name="eventTime">2000-01-20T12:00:00</xsl:element> + <xsl:element name="inputEvent">CREATE_UPDATE</xsl:element> + </xsl:element> + </xsl:for-each> + </xsl:element> + + </xsl:element> + </xsl:template> + +</xsl:stylesheet> \ 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-06-09 07:41:20
|
Revision: 242 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=242&view=rev Author: pkasprzak Date: 2009-06-09 07:41:17 +0000 (Tue, 09 Jun 2009) Log Message: ----------- * Generate replies Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel 2009-06-09 07:39:56 UTC (rev 241) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel 2009-06-09 07:41:17 UTC (rev 242) @@ -7,6 +7,7 @@ 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:sxed2="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor2" 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" @@ -87,6 +88,9 @@ <variable name="ObjectClientId" type="xsd:string"/> <variable name="ReplyStatus" type="dt:statusType"/> + <!-- For testing --> + <variable name="ReplyXML" type="xsd:string"/> + </variables> <sequence> @@ -114,11 +118,11 @@ <to variable="SID"/> </copy> <copy> - <from>$ProcessCourseOperationIn.courseMessage/course/busId</from> + <from>$ProcessCourseOperationIn.courseMessage/dt:course/dt:busId</from> <to>$ObjectBusId</to> </copy> <copy ignoreMissingFromData="yes"> - <from>$ProcessCourseOperationIn.courseMessage/course/attribute[name = 'clientId']/value</from> + <from>$ProcessCourseOperationIn.courseMessage/dt:course/dt:attribute[dt:name = 'clientId']/dt:value</from> <to>$ObjectClientId</to> </copy> <!-- Init constants (better alternatives?) --> @@ -136,12 +140,12 @@ <if> <sxt:trace> <sxt:log level="info" location="onStart"> - <from>concat('*** Branching on course-event: ', $ProcessCourseOperationIn.courseMessage/event)</from> + <from>concat('*** Branching on course-event: ', $ProcessCourseOperationIn.courseMessage/dt:event)</from> </sxt:log> </sxt:trace> <!-- Event == "CREATE" --> - <condition>$ProcessCourseOperationIn.courseMessage/event = 'CREATE'</condition> + <condition>$ProcessCourseOperationIn.courseMessage/dt:event = 'CREATE'</condition> <sequence> <assign name="prepareAddCourse"> <sxt:trace> @@ -150,7 +154,7 @@ </sxt:log> </sxt:trace> <copy> - <from>$ProcessCourseOperationIn.courseMessage/course</from> + <from>$ProcessCourseOperationIn.courseMessage/dt:course</from> <to>$AddCourseIn.course</to> </copy> <copy> @@ -193,7 +197,7 @@ </sequence> <elseif> <!-- Event == "UPDATE" --> - <condition>$ProcessCourseOperationIn.courseMessage/event = 'UPDATE'</condition> + <condition>$ProcessCourseOperationIn.courseMessage/dt:event = 'UPDATE'</condition> <sequence> <assign name="prepareUpdateCourse"> <sxt:trace> @@ -202,7 +206,7 @@ </sxt:log> </sxt:trace> <copy> - <from>$ProcessCourseOperationIn.courseMessage/course</from> + <from>$ProcessCourseOperationIn.courseMessage/dt:course</from> <to>$UpdateCourseIn.course</to> </copy> <copy> @@ -238,7 +242,7 @@ </elseif> <elseif> <!-- Event == "DELETE" --> - <condition>$ProcessCourseOperationIn.courseMessage/event = 'DELETE'</condition> + <condition>$ProcessCourseOperationIn.courseMessage/dt:event = 'DELETE'</condition> <sequence> <assign name="prepareDeleteCourse"> <sxt:trace> @@ -247,7 +251,7 @@ </sxt:log> </sxt:trace> <copy> - <from>$ProcessCourseOperationIn.courseMessage/course</from> + <from>$ProcessCourseOperationIn.courseMessage/dt:course</from> <to>$DeleteCourseIn.course</to> </copy> <copy> @@ -318,11 +322,11 @@ <to variable="SID"/> </copy> <copy> - <from>$ProcessCategoryOperationIn.categoryMessage/category/busId</from> + <from>$ProcessCategoryOperationIn.categoryMessage/dt:category/dt:busId</from> <to>$ObjectBusId</to> </copy> <copy ignoreMissingFromData="yes"> - <from>$ProcessCategoryOperationIn.categoryMessage/category/attribute[name = 'clientId']/value</from> + <from>$ProcessCategoryOperationIn.categoryMessage/dt:category/dt:attribute[dt:name = 'clientId']/dt:value</from> <to>$ObjectClientId</to> </copy> <!-- Init constants (better alternatives?) --> @@ -340,12 +344,12 @@ <if> <sxt:trace> <sxt:log level="info" location="onStart"> - <from>concat('*** Branching on category-event: ', $ProcessCategoryOperationIn.categoryMessage/event)</from> + <from>concat('*** Branching on category-event: ', $ProcessCategoryOperationIn.categoryMessage/dt:event)</from> </sxt:log> </sxt:trace> <!-- Event == "CREATE" --> - <condition>$ProcessCategoryOperationIn.categoryMessage/event = 'CREATE'</condition> + <condition>$ProcessCategoryOperationIn.categoryMessage/dt:event = 'CREATE'</condition> <sequence> <assign name="prepareAddCategory"> <sxt:trace> @@ -354,7 +358,7 @@ </sxt:log> </sxt:trace> <copy> - <from>$ProcessCategoryOperationIn.categoryMessage/category</from> + <from>$ProcessCategoryOperationIn.categoryMessage/dt:category</from> <to>$AddCategoryIn.category</to> </copy> <copy> @@ -395,7 +399,7 @@ </sequence> <elseif> <!-- Event == "UPDATE" --> - <condition>$ProcessCategoryOperationIn.categoryMessage/event = 'UPDATE'</condition> + <condition>$ProcessCategoryOperationIn.categoryMessage/dt:event = 'UPDATE'</condition> <sequence> <assign name="prepareUpdateCategory"> <sxt:trace> @@ -404,7 +408,7 @@ </sxt:log> </sxt:trace> <copy> - <from>$ProcessCategoryOperationIn.categoryMessage/category</from> + <from>$ProcessCategoryOperationIn.categoryMessage/dt:category</from> <to>$UpdateCategoryIn.category</to> </copy> <copy> @@ -441,7 +445,7 @@ </elseif> <elseif> <!-- Event == "DELETE" --> - <condition>$ProcessCategoryOperationIn.categoryMessage/event = 'DELETE'</condition> + <condition>$ProcessCategoryOperationIn.categoryMessage/dt:event = 'DELETE'</condition> <sequence> <assign name="prepareDeleteCategory"> <sxt:trace> @@ -450,7 +454,7 @@ </sxt:log> </sxt:trace> <copy> - <from>$ProcessCategoryOperationIn.categoryMessage/category</from> + <from>$ProcessCategoryOperationIn.categoryMessage/dt:category</from> <to>$DeleteCategoryIn.category</to> </copy> <copy> @@ -520,53 +524,56 @@ <!-- Generate reply(s) --> <assign name="prepareReply"> - <sxt:trace> - <sxt:log level="info" location="onComplete"> - <from>concat('*** Reply: ', $ProcessReplyIn.reply, 'END')</from> - </sxt:log> - </sxt:trace> <copy> <from> <literal> - <reply xmlns="http://cse.campussource.de/schema/DataTypes"> - <objectBusId/> - <objectClientId/> + <eventReplyMessage xmlns="http://cse.campussource.de/schema/DataTypes"> + <objectBusId>4</objectBusId> + <objectClientId>client5</objectClientId> <replyTime/> - <replyStatus/> + <replyStatus>SUCCESS</replyStatus> <info/> - </reply> + </eventReplyMessage> </literal> </from> - <to>$ProcessReplyIn.reply</to> + <to>$ProcessReplyIn.eventReply</to> </copy> </assign> -<!-- <assign> <copy> - <from>$ObjectBusId</from> - <to>$ProcessReplyIn.reply/objectBusId</to> + <from variable="ObjectBusId"/> + <to>$ProcessReplyIn.eventReply/dt:objectBusId</to> </copy> - <copy> - <from>$ObjectClientId</from> - <to>$ProcessReplyIn.reply/objectClientId</to> + <from variable="ObjectClientId"/> + <to>$ProcessReplyIn.eventReply/dt:objectClientId</to> </copy> <copy> - <from>$ReplyStatus</from> - <to>$ProcessReplyIn.reply/replyStatus</to> + <from variable="ReplyStatus"/> + <to>$ProcessReplyIn.eventReply/dt:replyStatus</to> </copy> <copy> - <from>sxxf:current-time()</from> - <to>$ProcessReplyIn.reply/replyTime</to> + <from>sxxf:current-dateTime()</from> + <to>$ProcessReplyIn.eventReply/dt:replyTime</to> </copy> + </assign> + <assign name="debugReply"> + <sxt:trace> + <sxt:log level="info" location="onComplete"> + <from>concat('*** Reply: ', $ReplyXML, 'END')</from> + </sxt:log> + </sxt:trace> + <copy> + <from>sxxf:doMarshal($ProcessReplyIn.eventReply)</from> + <to>$ReplyXML</to> + </copy> </assign> <invoke name="returnReply" partnerLink="ReplyProcessor" operation="processReply" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" portType="tns:ReplyProcessorPortType" inputVariable="ProcessReplyIn"/> ---> </sequence> </process> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-06-09 07:40:01
|
Revision: 241 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=241&view=rev Author: pkasprzak Date: 2009-06-09 07:39:56 +0000 (Tue, 09 Jun 2009) Log Message: ----------- * Changes due to "qualified form"-move in CDDM.xsd Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/IliasAdapter_addCategory/Input.xml trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/IliasAdapter_addCourse/Input.xml trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_deleteCategory/Input.xml trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_deleteCourse/Input.xml trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_updateCategory/Input.xml trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_updateCourse/Input.xml Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/IliasAdapter_addCategory/Input.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/IliasAdapter_addCategory/Input.xml 2009-06-09 07:37:59 UTC (rev 240) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/IliasAdapter_addCategory/Input.xml 2009-06-09 07:39:56 UTC (rev 241) @@ -1,31 +1,31 @@ -<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ili="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter"> +<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ili="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:dt="http://cse.campussource.de/schema/DataTypes"> <soapenv:Body> <ili:processCategory> <categoryMessage> - <category> - <busId>1</busId> - <eventTime>?2008-09-29T03:49:45?</eventTime> + <dt:category> + <dt:busId>1</dt:busId> + <dt:eventTime>?2008-09-29T03:49:45?</dt:eventTime> <!--Zero or more repetitions:--> - <attribute> - <name>name</name> - <value>Fakultät 4 (Sprach-, Literatur- u. Kulturwissenschaften)</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>name</dt:name> + <dt:value>Fakultät 4 (Sprach-, Literatur- u. Kulturwissenschaften)</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--Optional:--> - <parent>?string?</parent> + <dt:parent>?string?</dt:parent> <!--Optional:--> - <categories> + <dt:categories> <!--Zero or more repetitions:--> - <category>?string?</category> - </categories> + <dt:category>?string?</dt:category> + </dt:categories> <!--Optional:--> - <courses> + <dt:courses> <!--Zero or more repetitions:--> - <course>?string?</course> - </courses> - </category> - <eventTime>2004-02-14T19:44:14</eventTime> - <event>CREATE</event> + <dt:course>?string?</dt:course> + </dt:courses> + </dt:category> + <dt:eventTime>2004-02-14T19:44:14</dt:eventTime> + <dt:event>CREATE</dt:event> </categoryMessage> </ili:processCategory> </soapenv:Body> Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/IliasAdapter_addCourse/Input.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/IliasAdapter_addCourse/Input.xml 2009-06-09 07:37:59 UTC (rev 240) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/IliasAdapter_addCourse/Input.xml 2009-06-09 07:39:56 UTC (rev 241) @@ -1,124 +1,124 @@ -<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ili="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter"> +<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ili="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:dt="http://cse.campussource.de/schema/DataTypes"> <soapenv:Body> <ili:processCourse> <courseMessage> - <course> + <dt:course> - <busId>1</busId> - <eventTime>2008-09-29T03:49:45</eventTime> + <dt:busId>1</dt:busId> + <dt:eventTime>2008-09-29T03:49:45</dt:eventTime> <!--- - - - - Attribute: lsfId - - - - - --> - <attribute> - <name>lsfId</name> - <value>32350</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>lsfId</dt:name> + <dt:value>32350</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: logicalNumber - - - - - --> - <attribute> - <name>logicalNumber</name> - <value/> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>logicalNumber</dt:name> + <dt:value/> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: type - - - - - --> - <attribute> - <name>type</name> - <value>Tutorium</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>type</dt:name> + <dt:value>Tutorium</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: title - - - - - --> - <attribute> - <name>title</name> - <value>Tutorium-Test</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>title</dt:name> + <dt:value>Tutorium-Test</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: shortDescription - - - - - --> - <attribute> - <name>shortDescription</name> - <value/> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>shortDescription</dt:name> + <dt:value>shortDescription</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: abbreviation - - - - - --> - <attribute> - <name>abbreviation</name> - <value/> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>abbreviation</dt:name> + <dt:value/> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: necessaryAssignment - - - - - --> - <attribute> - <name>necessaryAssignment</name> - <value>J</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>necessaryAssignment</dt:name> + <dt:value>J</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: note - - - - - --> - <attribute> - <name>note</name> - <value/> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>note</dt:name> + <dt:value/> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: comment - - - - - --> - <attribute> - <name>comment</name> - <value/> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>comment</dt:name> + <dt:value/> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: semesterAsInt - - - - - --> - <attribute> - <name>semesterAsInt</name> - <value>20081</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>semesterAsInt</dt:name> + <dt:value>20081</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: semesterPeriodsPerWeek - - - - - --> - <attribute> - <name>semesterPeriodsPerWeek</name> - <value/> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>semesterPeriodsPerWeek</dt:name> + <dt:value/> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: expectedRegistrations - - - - - --> - <attribute> - <name>expectedRegistrations</name> - <value/> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>expectedRegistrations</dt:name> + <dt:value/> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: maximumRegistrations - - - - - --> - <attribute> - <name>maximumRegistrations</name> - <value>20</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>maximumRegistrations</dt:name> + <dt:value>20</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: activityConfirmation - - - - - --> - <attribute> - <name>activityConfirmation</name> - <value/> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>activityConfirmation</dt:name> + <dt:value/> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: lectureTypeId - - - - - --> - <attribute> - <name>lectureTypeId</name> - <value>40</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>lectureTypeId</dt:name> + <dt:value>40</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: active - - - - - --> - <attribute> - <name>active</name> - <value>A</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>active</dt:name> + <dt:value>A</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: semesterAbbr - - - - - --> - <attribute> - <name>semesterAbbr</name> - <value>SS 2008</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>semesterAbbr</dt:name> + <dt:value>SS 2008</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: semesterFull - - - - - --> - <attribute> - <name>semesterFull</name> - <value>SS 2008</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>semesterFull</dt:name> + <dt:value>SS 2008</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: dates - - - - - --> - <attribute> - <name>dates</name> - <value> + <dt:attribute> + <dt:name>dates</dt:name> + <dt:value> @@ -139,50 +139,50 @@ Mittwoch wöchentlich - </value> - <transient>false</transient> - </attribute> + </dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: clientId - - - - - --> - <attribute> - <name>clientId</name> - <value>lecture:32350</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>clientId</dt:name> + <dt:value>lecture:32350</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: semesterId - - - - - --> - <attribute> - <name>semesterId</name> - <value>20081</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>semesterId</dt:name> + <dt:value>20081</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: startDate - - - - - --> - <attribute> - <name>startDate</name> - <value>14.04.2008</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>startDate</dt:name> + <dt:value>14.04.2008</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: endDate - - - - - --> - <attribute> - <name>endDate</name> - <value>18.07.2008</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>endDate</dt:name> + <dt:value>18.07.2008</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--Optional:--> - <categories> + <dt:categories> <!--Zero or more repetitions:--> - <category>?string?</category> - </categories> + <dt:category>?string?</dt:category> + </dt:categories> <!--Optional:--> - <parent>?string?</parent> + <dt:parent>?string?</dt:parent> <!--Optional:--> - <workgroups> + <dt:workgroups> <!--Zero or more repetitions:--> - <workgroup>?string?</workgroup> - </workgroups> - </course> + <dt:workgroup>?string?</dt:workgroup> + </dt:workgroups> + </dt:course> - <eventTime>2004-02-14T19:44:14</eventTime> - <event>CREATE</event> + <dt:eventTime>2004-02-14T19:44:14</dt:eventTime> + <dt:event>CREATE</dt:event> </courseMessage> </ili:processCourse> </soapenv:Body> Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_deleteCategory/Input.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_deleteCategory/Input.xml 2009-06-09 07:37:59 UTC (rev 240) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_deleteCategory/Input.xml 2009-06-09 07:39:56 UTC (rev 241) @@ -1,32 +1,32 @@ -<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ili="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter"> - <soapenv:Body> - <ili:processCategory> - <categoryMessage> - <category> - <busId>?string?</busId> - <eventTime>?2008-09-29T03:49:45?</eventTime> - <!--Zero or more repetitions:--> - <attribute> - <name>dings</name> - <value>bums</value> - <transient>false</transient> - </attribute> - <!--Optional:--> - <parent>?string?</parent> - <!--Optional:--> - <categories> - <!--Zero or more repetitions:--> - <category>?string?</category> - </categories> - <!--Optional:--> - <courses> - <!--Zero or more repetitions:--> - <course>?string?</course> - </courses> - </category> - <eventTime>?2004-02-14T19:44:14?</eventTime> - <event>DELETE</event> - </categoryMessage> - </ili:processCategory> - </soapenv:Body> +<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ili="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:dt="http://cse.campussource.de/schema/DataTypes"> + <soapenv:Body> + <ili:processCategory> + <categoryMessage> + <dt:category> + <dt:busId>1</dt:busId> + <dt:eventTime>?2008-09-29T03:49:45?</dt:eventTime> + <!--Zero or more repetitions:--> + <dt:attribute> + <dt:name>name</dt:name> + <dt:value>Fakultät 4 (Sprach-, Literatur- u. Kulturwissenschaften)</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--Optional:--> + <dt:parent>?string?</dt:parent> + <!--Optional:--> + <dt:categories> + <!--Zero or more repetitions:--> + <dt:category>?string?</dt:category> + </dt:categories> + <!--Optional:--> + <dt:courses> + <!--Zero or more repetitions:--> + <dt:course>?string?</dt:course> + </dt:courses> + </dt:category> + <dt:eventTime>2004-02-14T19:44:14</dt:eventTime> + <dt:event>DELETE</dt:event> + </categoryMessage> + </ili:processCategory> + </soapenv:Body> </soapenv:Envelope> \ No newline at end of file Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_deleteCourse/Input.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_deleteCourse/Input.xml 2009-06-09 07:37:59 UTC (rev 240) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_deleteCourse/Input.xml 2009-06-09 07:39:56 UTC (rev 241) @@ -1,32 +1,189 @@ -<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ili="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter"> +<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ili="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:dt="http://cse.campussource.de/schema/DataTypes"> <soapenv:Body> <ili:processCourse> - <courseMessage> - <course> - <busId>?string?</busId> - <eventTime>?2008-09-29T03:49:45?</eventTime> - <!--Zero or more repetitions:--> - <attribute> - <name>blabla</name> - <value>blub</value> - <transient>false</transient> - </attribute> - <!--Optional:--> - <categories> - <!--Zero or more repetitions:--> - <category>?string?</category> - </categories> - <!--Optional:--> - <parent>?string?</parent> - <!--Optional:--> - <workgroups> - <!--Zero or more repetitions:--> - <workgroup>?string?</workgroup> - </workgroups> - </course> - <eventTime>?2004-02-14T19:44:14?</eventTime> - <event>DELETE</event> - </courseMessage> + <courseMessage> + <dt:course> + + <dt:busId>1</dt:busId> + <dt:eventTime>2008-09-29T03:49:45</dt:eventTime> + + <!--- - - - - Attribute: lsfId - - - - - --> + <dt:attribute> + <dt:name>lsfId</dt:name> + <dt:value>32350</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: logicalNumber - - - - - --> + <dt:attribute> + <dt:name>logicalNumber</dt:name> + <dt:value/> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: type - - - - - --> + <dt:attribute> + <dt:name>type</dt:name> + <dt:value>Tutorium</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: title - - - - - --> + <dt:attribute> + <dt:name>title</dt:name> + <dt:value>Tutorium-Test</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: shortDescription - - - - - --> + <dt:attribute> + <dt:name>shortDescription</dt:name> + <dt:value/> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: abbreviation - - - - - --> + <dt:attribute> + <dt:name>abbreviation</dt:name> + <dt:value/> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: necessaryAssignment - - - - - --> + <dt:attribute> + <dt:name>necessaryAssignment</dt:name> + <dt:value>J</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: note - - - - - --> + <dt:attribute> + <dt:name>note</dt:name> + <dt:value/> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: comment - - - - - --> + <dt:attribute> + <dt:name>comment</dt:name> + <dt:value/> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: semesterAsInt - - - - - --> + <dt:attribute> + <dt:name>semesterAsInt</dt:name> + <dt:value>20081</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: semesterPeriodsPerWeek - - - - - --> + <dt:attribute> + <dt:name>semesterPeriodsPerWeek</dt:name> + <dt:value/> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: expectedRegistrations - - - - - --> + <dt:attribute> + <dt:name>expectedRegistrations</dt:name> + <dt:value/> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: maximumRegistrations - - - - - --> + <dt:attribute> + <dt:name>maximumRegistrations</dt:name> + <dt:value>20</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: activityConfirmation - - - - - --> + <dt:attribute> + <dt:name>activityConfirmation</dt:name> + <dt:value/> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: lectureTypeId - - - - - --> + <dt:attribute> + <dt:name>lectureTypeId</dt:name> + <dt:value>40</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: active - - - - - --> + <dt:attribute> + <dt:name>active</dt:name> + <dt:value>A</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: semesterAbbr - - - - - --> + <dt:attribute> + <dt:name>semesterAbbr</dt:name> + <dt:value>SS 2008</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: semesterFull - - - - - --> + <dt:attribute> + <dt:name>semesterFull</dt:name> + <dt:value>SS 2008</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: dates - - - - - --> + <dt:attribute> + <dt:name>dates</dt:name> + <dt:value> + + + + 14:00 + 16:00 + + + Montag + wöchentlich + + + + + 14:00 + 15:00 + + + Mittwoch + wöchentlich + + </dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: clientId - - - - - --> + <dt:attribute> + <dt:name>clientId</dt:name> + <dt:value>lecture:32350</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: semesterId - - - - - --> + <dt:attribute> + <dt:name>semesterId</dt:name> + <dt:value>20081</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: startDate - - - - - --> + <dt:attribute> + <dt:name>startDate</dt:name> + <dt:value>14.04.2008</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--- - - - - Attribute: endDate - - - - - --> + <dt:attribute> + <dt:name>endDate</dt:name> + <dt:value>18.07.2008</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + + <!--Optional:--> + <dt:categories> + <!--Zero or more repetitions:--> + <dt:category>?string?</dt:category> + </dt:categories> + <!--Optional:--> + <dt:parent>?string?</dt:parent> + <!--Optional:--> + <dt:workgroups> + <!--Zero or more repetitions:--> + <dt:workgroup>?string?</dt:workgroup> + </dt:workgroups> + </dt:course> + + <dt:eventTime>2004-02-14T19:44:14</dt:eventTime> + <dt:event>DELETE</dt:event> + </courseMessage> </ili:processCourse> </soapenv:Body> </soapenv:Envelope> \ No newline at end of file Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_updateCategory/Input.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_updateCategory/Input.xml 2009-06-09 07:37:59 UTC (rev 240) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_updateCategory/Input.xml 2009-06-09 07:39:56 UTC (rev 241) @@ -1,32 +1,32 @@ -<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ili="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter"> - <soapenv:Body> - <ili:processCategory> - <categoryMessage> - <category> - <busId>?string?</busId> - <eventTime>?2008-09-29T03:49:45?</eventTime> - <!--Zero or more repetitions:--> - <attribute> - <name>blabla</name> - <value>blublu</value> - <transient>false</transient> - </attribute> - <!--Optional:--> - <parent>?string?</parent> - <!--Optional:--> - <categories> - <!--Zero or more repetitions:--> - <category>?string?</category> - </categories> - <!--Optional:--> - <courses> - <!--Zero or more repetitions:--> - <course>?string?</course> - </courses> - </category> - <eventTime>?2004-02-14T19:44:14?</eventTime> - <event>UPDATE</event> - </categoryMessage> - </ili:processCategory> - </soapenv:Body> +<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ili="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:dt="http://cse.campussource.de/schema/DataTypes"> + <soapenv:Body> + <ili:processCategory> + <categoryMessage> + <dt:category> + <dt:busId>1</dt:busId> + <dt:eventTime>?2008-09-29T03:49:45?</dt:eventTime> + <!--Zero or more repetitions:--> + <dt:attribute> + <dt:name>name</dt:name> + <dt:value>Fakultät 4 (Sprach-, Literatur- u. Kulturwissenschaften)</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> + <!--Optional:--> + <dt:parent>?string?</dt:parent> + <!--Optional:--> + <dt:categories> + <!--Zero or more repetitions:--> + <dt:category>?string?</dt:category> + </dt:categories> + <!--Optional:--> + <dt:courses> + <!--Zero or more repetitions:--> + <dt:course>?string?</dt:course> + </dt:courses> + </dt:category> + <dt:eventTime>2004-02-14T19:44:14</dt:eventTime> + <dt:event>UPDATE</dt:event> + </categoryMessage> + </ili:processCategory> + </soapenv:Body> </soapenv:Envelope> \ No newline at end of file Modified: trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_updateCourse/Input.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_updateCourse/Input.xml 2009-06-09 07:37:59 UTC (rev 240) +++ trunk/sandbox/lsf-adapter-demo/CSEIPCA/test/iliasAdapter_updateCourse/Input.xml 2009-06-09 07:39:56 UTC (rev 241) @@ -1,56 +1,56 @@ -<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ili="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter"> +<soapenv:Envelope xsi:schemaLocation="http://schemas.xmlsoap.org/soap/envelope/ http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ili="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" xmlns:dt="http://cse.campussource.de/schema/DataTypes"> <soapenv:Body> <ili:processCourse> <courseMessage> - <course> - <busId>?string?</busId> - <eventTime>?2008-09-29T03:49:45?</eventTime> + <dt:course> + <dt:busId>?string?</dt:busId> + <dt:eventTime>?2008-09-29T03:49:45?</dt:eventTime> <!--Zero or more repetitions:--> <!--- - - - - Attribute: type - - - - - --> - <attribute> - <name>type</name> - <value>Hauptseminar</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>type</dt:name> + <dt:value>Hauptseminar</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: title - - - - - --> - <attribute> - <name>title</name> - <value>Phonetische Aspekte des Russischem</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>title</dt:name> + <dt:value>Phonetische Aspekte des Russischem</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: shortDescription - - - - - --> - <attribute> - <name>shortDescription</name> - <value>kurze Beschreibung tested</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>shortDescription</dt:name> + <dt:value>kurze Beschreibung tested</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: abbreviation - - - - - --> - <attribute> - <name>abbreviation</name> - <value>PAS</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>abbreviation</dt:name> + <dt:value>PAS</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--- - - - - Attribute: languageFull - - - - - --> - <attribute> - <name>languageFull</name> - <value>deutsch</value> - <transient>false</transient> - </attribute> + <dt:attribute> + <dt:name>languageFull</dt:name> + <dt:value>deutsch</dt:value> + <dt:transient>false</dt:transient> + </dt:attribute> <!--Optional:--> - <categories> + <dt:categories> <!--Zero or more repetitions:--> - <category>?string?</category> - </categories> + <dt:category>?string?</dt:category> + </dt:categories> <!--Optional:--> - <parent>?string?</parent> + <dt:parent>?string?</dt:parent> <!--Optional:--> - <workgroups> + <dt:workgroups> <!--Zero or more repetitions:--> - <workgroup>?string?</workgroup> - </workgroups> - </course> - <eventTime>?2004-02-14T19:44:14?</eventTime> - <event>UPDATE</event> + <dt:workgroup>?string?</dt:workgroup> + </dt:workgroups> + </dt:course> + <dt:eventTime>?2004-02-14T19:44:14?</dt:eventTime> + <dt:event>UPDATE</dt:event> </courseMessage> </ili:processCourse> </soapenv:Body> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-06-09 07:38:03
|
Revision: 240 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=240&view=rev Author: pkasprzak Date: 2009-06-09 07:37:59 +0000 (Tue, 09 Jun 2009) Log Message: ----------- * Use qualified form * Added "messages"-type as compound type for all messages * Changed type of references to string 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-06-09 07:34:49 UTC (rev 239) +++ trunk/sandbox/lsf-adapter-demo/Common/src/CDDM.xsd 2009-06-09 07:37:59 UTC (rev 240) @@ -2,6 +2,8 @@ <xs:schema xmlns:tns="http://cse.campussource.de/schema/DataTypes" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://cse.campussource.de/schema/DataTypes" + elementFormDefault="qualified" + attributeFormDefault="qualified" version="1.0"> <xs:element name="category" type="tns:categoryType"/> @@ -10,6 +12,7 @@ <xs:element name="categoryMessage" type="tns:categoryMessageType"/> <xs:element name="eventReplyMessage" type="tns:eventReplyMessageType"/> <xs:element name="status" type="tns:statusType"/> + <xs:element name="messages" type="tns:messagesType"/> <!-- <xs:element name="eventMessage" type="tns:eventMessageType"/> --> @@ -37,15 +40,15 @@ <xs:element name="categories" minOccurs="0" > <xs:complexType> <xs:sequence> - <xs:element name="category" type="xs:int" minOccurs="0" maxOccurs="unbounded"/> + <xs:element name="category" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> - <xs:element name="parent" type="xs:int" minOccurs="0"/> + <xs:element name="parent" type="xs:string" minOccurs="0"/> <xs:element name="workgroups" minOccurs="0"> <xs:complexType> <xs:sequence> - <xs:element name="workgroup" type="xs:int" minOccurs="0" maxOccurs="unbounded"/> + <xs:element name="workgroup" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> @@ -58,18 +61,18 @@ <xs:complexContent> <xs:extension base="tns:entityType"> <xs:sequence> - <xs:element name="parent" type="xs:int" minOccurs="0"/> + <xs:element name="parent" type="xs:string" minOccurs="0"/> <xs:element name="categories" minOccurs="0"> <xs:complexType> <xs:sequence> - <xs:element name="category" type="xs:int" minOccurs="0" maxOccurs="unbounded"/> + <xs:element name="category" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="courses" minOccurs="0"> <xs:complexType> <xs:sequence> - <xs:element name="course" type="xs:int" minOccurs="0" maxOccurs="unbounded"/> + <xs:element name="course" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> </xs:element> @@ -132,6 +135,26 @@ </xs:sequence> </xs:complexType> + <!-- New Type --> + <xs:complexType name="messagesType"> + <xs:sequence> + <xs:element name="courseMessages"> + <xs:complexType> + <xs:sequence> + <xs:element name="courseMessage" type="tns:courseMessageType" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="categoryMessages"> + <xs:complexType> + <xs:sequence> + <xs:element name="categoryMessage" type="tns:categoryMessageType" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + <!-- <xs:complexType name="eventMessageType"> <xs:sequence> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-06-09 07:34:51
|
Revision: 239 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=239&view=rev Author: pkasprzak Date: 2009-06-09 07:34:49 +0000 (Tue, 09 Jun 2009) Log Message: ----------- * Use data from interface Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCourse.bpel Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCourse.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCourse.bpel 2009-06-05 13:19:39 UTC (rev 238) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/AddCourse.bpel 2009-06-09 07:34:49 UTC (rev 239) @@ -12,6 +12,7 @@ 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:dt="http://cse.campussource.de/schema/DataTypes" xmlns:tns="http://cse.campussource.de/bpel/ILIASClientAdapter/AddCourse"> <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/"/> @@ -21,8 +22,10 @@ <import namespace="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/AddCourse" location="AddCourse.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <partnerLinks> - <partnerLink name="IliasAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/AddCourse" partnerLinkType="tns:AddCourse" myRole="AddCoursePortTypeRole"/> - <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://j2ee.netbeans.org/wsdl/ILIASClientAdapter/AddCourse" partnerLinkType="tns:AddCourse" + myRole="AddCoursePortTypeRole"/> + <partnerLink name="ILIAS" xmlns:tns="http://enterprise.netbeans.org/bpel/ilias-3.10.5-Wrapper" partnerLinkType="tns:ILIASSoapWebserviceLinkType" + partnerRole="ILIASSoapWebserviceRole"/> </partnerLinks> <variables> @@ -215,9 +218,9 @@ <Course xmlns="http://cse.campussource.de/schema/ilias/course"> <MetaData xmlns="http://cse.campussource.de/schema/ilias/course"> <General> - <Title Language="en">test3</Title> + <Title Language="en"/> <Language Language="en">en</Language> - <Description Language="en">bpel test2</Description> + <Description Language="en">No description provided</Description> </General> </MetaData> </Course> @@ -229,23 +232,37 @@ <!-- Set relevant course data --> <assign name="setCourseData"> + + <!-- Set title --> <copy> -<!-- - <from>$ProcessCourseOperationIn.courseMessage/course/attribute[name = 'title']/value</from> ---> - <from>'test6'</from> + <from>$AddCourseIn.course/dt:attribute[dt:name = 'title']/dt:value</from> <to>$CourseXML/il_crs:MetaData/il_crs:General/il_crs:Title/text()</to> </copy> -<!-- - <copy> - <from>$ProcessCourseOperationIn.courseMessage/course/attribute[name = 'languageISO']/value</from> - <to>$CourseXML/MetaData/General/Title/@Language</to> + + <!-- Set Description --> + <copy ignoreMissingFromData="yes"> + <from>$AddCourseIn.course/dt:attribute[dt:name = 'shortDescription']/dt:value</from> + <to>$CourseXML/il_crs:MetaData/il_crs:General/il_crs:Description/text()</to> </copy> - <copy> - <from>$ProcessCourseOperationIn.courseMessage/course/attribute[name = 'languageISO']/value</from> - <to>$CourseXML/MetaData/General/Language[0]/@Language</to> + + <!-- Set Language: use init value as default --> + <copy ignoreMissingFromData="yes"> + <from>$AddCourseIn.course/dt:attribute[dt:name = 'languageISO']/dt:value</from> + <to>$CourseXML/il_crs:MetaData/il_crs:General/il_crs:Title/@il_crs:Language</to> </copy> ---> + <copy ignoreMissingFromData="yes"> + <from>$AddCourseIn.course/dt:attribute[dt:name = 'languageISO']/dt:value</from> + <to>$CourseXML/il_crs:MetaData/il_crs:General/il_crs:Language/@il_crs:Language</to> + </copy> + <copy ignoreMissingFromData="yes"> + <from>$AddCourseIn.course/dt:attribute[dt:name = 'languageISO']/dt:value</from> + <to>$CourseXML/il_crs:MetaData/il_crs:General/il_crs:Language/text()</to> + </copy> + <copy ignoreMissingFromData="yes"> + <from>$AddCourseIn.course/dt:attribute[dt:name = 'languageISO']/dt:value</from> + <to>$CourseXML/il_crs:MetaData/il_crs:General/il_crs:Description/@il_crs:Language</to> + </copy> + </assign> <!-- Set all parts for addCourse call --> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-06-05 13:19:53
|
Revision: 238 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=238&view=rev Author: pkasprzak Date: 2009-06-05 13:19:39 +0000 (Fri, 05 Jun 2009) Log Message: ----------- * Make it build again :) Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel 2009-06-04 12:16:57 UTC (rev 237) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel 2009-06-05 13:19:39 UTC (rev 238) @@ -35,7 +35,7 @@ <assign name="prepareResolveBusIdForCourse"> <sxt:trace> <sxt:log level="info" location="onStart"> - <ns0:from>concat('*** Message: ', $ProcessCourseOperationIn)</ns0:from> + <ns0:from>concat('*** Course: ', $ProcessCourseOperationIn.courseMessage)</ns0:from> </sxt:log> </sxt:trace> <copy> @@ -57,6 +57,11 @@ variable="ProcessCategoryOperationIn"> <sequence> <assign name="prepareResolveBusIdForCategory"> + <sxt:trace> + <sxt:log level="info" location="onStart"> + <ns0:from>concat('*** Category: ', $ProcessCategoryOperationIn.categoryMessage)</ns0:from> + </sxt:log> + </sxt:trace> <copy> <from variable="ProcessCategoryOperationIn" part="clientInstanceId"/> <to variable="ToBusIdOperationIn" part="clientInstanceId"/> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |