From: <pka...@us...> - 2009-07-02 11:19:48
|
Revision: 297 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=297&view=rev Author: pkasprzak Date: 2009-07-02 11:19:41 +0000 (Thu, 02 Jul 2009) Log Message: ----------- * Dynamic Partnerlink stuff: - Get system-endpoint from config based on target-system in message - Use XSLT / Voodoo to generate valid EndpointReference - Override static Partnerlink with new EPR - Only implemented for Login.bpel and addCourse-Testcase for now 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/Login.wsdl trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel Added Paths: ----------- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/ResolveEPR.bpel trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/ResolveEPR.wsdl Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml 2009-07-02 11:19:30 UTC (rev 296) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/catalog.xml 2009-07-02 11:19:41 UTC (rev 297) @@ -9,4 +9,5 @@ <system systemId="ObjectProcessor/ReplyProcessor.wsdl" uri="nb-uri:ObjectProcessor#src/ReplyProcessor.wsdl"/> <nextCatalog catalog="nbproject/private/cache/retriever/catalog.xml"/> <system systemId="Common/ConfigurationManager.wsdl" uri="nb-uri:Common#src/ConfigurationManager.wsdl"/> + <system systemId="Common/serviceref.xsd" uri="nb-uri:Common#src/serviceref.xsd"/> </catalog> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/Login.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/Login.bpel 2009-07-02 11:19:30 UTC (rev 296) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/Login.bpel 2009-07-02 11:19:41 UTC (rev 297) @@ -40,6 +40,7 @@ <variable name="IliasLoginIn" xmlns:tns="urn:ilUserAdministration" messageType="tns:loginRequest"/> <variable name="IliasSR" element="sref:service-ref"/> <variable name="IliasEPR" element="wsa:EndpointReference"/> + <variable name="IliasEPRTest" element="wsa:EndpointReference"/> </variables> <sequence> @@ -122,23 +123,7 @@ </copy> </assign> - <!-- - <assign name="prepareLogin"> - <copy> - <from>'test'</from> - <to variable="IliasLoginIn" part="client"/> - </copy> - <copy> - <from>'root'</from> - <to variable="IliasLoginIn" part="username"/> - </copy> - <copy> - <from>'cs3-1p'</from> - <to variable="IliasLoginIn" part="password"/> - </copy> - </assign> ---> <assign> <sxt:trace> <sxt:log level="info" location="onComplete"> @@ -150,6 +135,7 @@ <to>$IliasEPR</to> </copy> </assign> +--> <!-- <assign> <copy> @@ -168,32 +154,45 @@ </assign> --> <!-- Build sref for ILIAS PL --> -<!-- + <assign> +<!-- + <sxt:trace> + <sxt:log level="info" location="onComplete"> + <from>concat('*** Ilias EPR: ', sxxf:doMarshal($LoginIn.EPR))</from> + </sxt:log> + </sxt:trace> + + <sxt:trace> + <sxt:log level="info" location="onComplete"> + <from>concat('*** Ilias EPR-Test: ', sxxf:doMarshal($IliasEPRTest))</from> + </sxt:log> + </sxt:trace> + <copy> <from> <literal> - <sref:service-ref> <wsa:EndpointReference> <wsa:Address/> <wsa:ServiceName xmlns:ns="urn:ilUserAdministration" PortName="ILIASSoapWebservicePort">ns:ILIASSoapWebservice</wsa:ServiceName> </wsa:EndpointReference> - </sref:service-ref> </literal> </from> - <to>$IliasSR</to> + <to>$IliasEPRTest</to> </copy> <copy> <from>'http://localhost/ilias3/webservice/soap/server.php?debug=1'</from> - <to>$IliasSR/wsa:EndpointReference</to> + <to>$IliasEPRTest/wsa:Address/text()</to> </copy> +--> + + <copy> - <from>$IliasSR</from> + <from>$LoginIn.EPR</from> <to partnerLink="ILIAS"/> </copy> + </assign> ---> - <invoke name="login" partnerLink="ILIAS" operation="login" xmlns:tns="urn:ilUserAdministration" portType="tns:ILIASSoapWebservicePortType" Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/Login.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/Login.wsdl 2009-07-02 11:19:30 UTC (rev 296) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/Login.wsdl 2009-07-02 11:19:41 UTC (rev 297) @@ -4,10 +4,15 @@ xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/Login" - xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"> - <types/> + xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:ns0="http://docs.oasis-open.org/wsbpel/2.0/serviceref"> + <types> + <xsd:schema targetNamespace="http://cse.campussource.de/wsdl/ILIASClientAdapter/Login"> + <xsd:import namespace="http://docs.oasis-open.org/wsbpel/2.0/serviceref" schemaLocation="Common/serviceref.xsd"/> + </xsd:schema> + </types> <message name="loginRequest"> - <part name="dummy" type="xsd:string"/> + <part name="system" type="xsd:string"/> + <part name="EPR" element="ns0:service-ref"/> </message> <message name="loginResponse"> <part name="SID" type="xsd:string"/> Modified: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel 2009-07-02 11:19:30 UTC (rev 296) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/OutboundClientAdapter.bpel 2009-07-02 11:19:41 UTC (rev 297) @@ -10,6 +10,7 @@ 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:il_crs="http://cse.campussource.de/schema/ilias/course" xmlns:il_objs="http://cse.campussource.de/schema/ilias/objects" @@ -19,8 +20,8 @@ xmlns:fltns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" xmlns:ns2="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCourse"> - <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://docs.oasis-open.org/wsbpel/2.0/serviceref" location="Common/WS-BPEL-ServiceRef.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/"/> @@ -36,7 +37,11 @@ <import namespace="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCategory" location="DeleteCategory.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <import namespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" location="ObjectProcessor/ReplyProcessor.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <import namespace="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/faultHandlingMsg" location="faultHandlingMsg.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" location="ResolveEPR.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <partnerLinks> + <partnerLink name="ResolveEPR" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" partnerLinkType="tns:ResolveEPR" + partnerRole="ResolveEPRPortTypeRole"/> <partnerLink name="Login" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/Login" partnerLinkType="tns:Login" partnerRole="LoginPortTypeRole"/> <partnerLink name="AddCourse" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/AddCourse" partnerLinkType="tns:AddCourse" @@ -55,12 +60,14 @@ partnerRole="ReplyProcessorPortTypeRole"/> <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/ILIASClientAdapter" partnerLinkType="tns:ILIASClientAdapter" + <partnerLink name="ILIASAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" partnerLinkType="tns:ILIASClientAdapter" myRole="ILIASClientAdapterPortTypeRole"/> </partnerLinks> <variables> <!-- Messages --> + <variable name="ResolveEPROut" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" messageType="tns:resolveEPRResponse"/> + <variable name="ResolveEPRIn" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" messageType="tns:resolveEPRRequest"/> <variable name="ProcessReplyIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" messageType="tns:processReplyRequest"/> <variable name="DeleteCategoryOut" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCategory" messageType="tns:deleteCategoryResponse"/> <variable name="DeleteCategoryIn" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/DeleteCategory" messageType="tns:deleteCategoryRequest"/> @@ -85,6 +92,9 @@ <!-- Ilias session id --> <variable name="SID" type="xsd:string"/> + <!-- Ilias EndpointReference --> + <variable name="IliasEPR" element="sref:service-ref"/> + <!-- Reply vars --> <variable name="STATUS_SUCCESS" type="xsd:string" /> <variable name="STATUS_FAILURE" type="xsd:string"/> @@ -97,9 +107,8 @@ <variable name="ReplyXML" type="xsd:string"/> <!--Fault Variable, if Operation from inkoming msg is not supportet --> + <variable name="SystemFaultOperationNotFounded" messageType="fltns:systemFaultMessage"/> - <variable name="SystemFaultOperationNotFounded" messageType="fltns:systemFaultMessage"/> - </variables> <sequence> @@ -173,14 +182,41 @@ portType="tns:ILIASClientAdapterPortType" variable="ProcessCourseOperationIn"> - <scope name="CourseScope"> + <scope name="CourseScope"> <sequence> + + <assign name="setSystem"> + <copy> + <from>$ProcessCourseOperationIn.courseMessage/dt:target</from> + <to>$ResolveEPRIn.system</to> + </copy> + </assign> + + <!-- Determine Ilias Endpoint --> + <invoke name="resolveEPR" partnerLink="ResolveEPR" operation="resolveEPR" + xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" + portType="tns:ResolveEPRPortType" + inputVariable="ResolveEPRIn" + outputVariable="ResolveEPROut"/> + + <assign name="saveIliasEPR"> + <copy> + <from>$ResolveEPROut.EPR</from> + <to>$IliasEPR</to> + </copy> + </assign> + <assign name="prepareLoginForCourses"> <copy> - <from>'dummy'</from> - <to>$LoginIn.dummy</to> + <from>$ProcessCourseOperationIn.courseMessage/dt:target</from> + <to>$LoginIn.system</to> </copy> + <copy> + <from>$IliasEPR</from> + <to>$LoginIn.EPR</to> + </copy> </assign> + <invoke name="loginForCourses" partnerLink="Login" operation="login" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/Login" portType="tns:LoginPortType" @@ -199,7 +235,7 @@ <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> @@ -311,15 +347,15 @@ portType="tns:DeleteCoursePortType" inputVariable="DeleteCourseIn" outputVariable="DeleteCourseOut"/> - + <assign name="deleteCourseSuccess"> <copy> <from>$STATUS_SUCCESS</from> <to>$ReplyStatus</to> </copy> </assign> - - + + </sequence> </elseif> <else> @@ -334,7 +370,7 @@ </sxt:log> </sxt:trace> <copy> - <from>concat('This Operation is unknown: ',$ProcessCourseOperationIn.courseMessage/dt:event)</from> + <from>concat('This Operation is unknown: ', $ProcessCourseOperationIn.courseMessage/dt:event)</from> <to variable="SystemFaultOperationNotFounded" part="cause"/> </copy> <copy> @@ -352,19 +388,45 @@ </if> </sequence> </scope> - + </onMessage> <onMessage partnerLink="ILIASAdapter" operation="processCategory" xmlns:tns="http://j2ee.netbeans.org/wsdl/ILIASClientAdapter/ILIASClientAdapter" portType="tns:ILIASClientAdapterPortType" variable="ProcessCategoryOperationIn"> <scope name="CategoryScope"> <sequence> - <assign name="prepareLoginForCategories"> + <assign name="setSystem"> <copy> - <from>'dummy'</from> - <to>$LoginIn.dummy</to> + <from>$ProcessCategoryOperationIn.categoryMessage/dt:target</from> + <to>$ResolveEPRIn.system</to> </copy> </assign> + + <!-- Determine Ilias Endpoint --> + <invoke name="resolveEPR" partnerLink="ResolveEPR" operation="resolveEPR" + xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" + portType="tns:ResolveEPRPortType" + inputVariable="ResolveEPRIn" + outputVariable="ResolveEPROut"/> + + <assign name="saveIliasEPR"> + <copy> + <from>$ResolveEPROut.EPR</from> + <to>$IliasEPR</to> + </copy> + </assign> + + <assign name="prepareLoginForCourses"> + <copy> + <from>$ProcessCategoryOperationIn.categoryMessage/dt:target</from> + <to>$LoginIn.system</to> + </copy> + <copy> + <from>$IliasEPR</from> + <to>$LoginIn.EPR</to> + </copy> + </assign> + <invoke name="loginForCategories" partnerLink="Login" operation="login" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/Login" portType="tns:LoginPortType" @@ -394,7 +456,7 @@ <to>$STATUS_FAILURE</to> </copy> </assign> - + <!-- Branch on different events --> <if> <sxt:trace> @@ -495,14 +557,14 @@ portType="tns:DeleteCategoryPortType" inputVariable="DeleteCategoryIn" outputVariable="DeleteCategoryOut"/> - + <assign name="deleteCategorySuccess"> <copy> <from>$STATUS_SUCCESS</from> <to>$ReplyStatus</to> </copy> </assign> - + </sequence> </elseif> <else> @@ -516,7 +578,7 @@ </sxt:log> </sxt:trace> <copy> - <from>concat('This Operation is unknown: ',$ProcessCategoryOperationIn.categoryMessage/dt:event)</from> + <from>concat('This Operation is unknown: ', $ProcessCategoryOperationIn.categoryMessage/dt:event)</from> <to variable="SystemFaultOperationNotFounded" part="cause"/> </copy> <copy> Added: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/ResolveEPR.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/ResolveEPR.bpel (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/ResolveEPR.bpel 2009-07-02 11:19:41 UTC (rev 297) @@ -0,0 +1,98 @@ +<?xml version="1.0" encoding="UTF-8"?> +<process name="ResolveEPR" + targetNamespace="http://cse.campussource.de/bpel/ILIASClientAdapter/ResolveEPR" + xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:ex="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" + xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" + xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment" + xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" + xmlns:sxxf="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/XPathFunctions" + xmlns: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/ResolveEPR"> + + <import namespace="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" location="ResolveEPR.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://cse.campussource.de/ejb/ConfigurationManager" location="Common/ConfigurationManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://docs.oasis-open.org/wsbpel/2.0/serviceref" location="Common/WS-BPEL-ServiceRef.xsd" importType="http://www.w3.org/2001/XMLSchema"/> + <import namespace="http://schemas.xmlsoap.org/ws/2004/08/addressing" location="Common/WS-Addressing.xsd" importType="http://www.w3.org/2001/XMLSchema"/> + + <partnerLinks> + <partnerLink name="ConfigurationManager" xmlns:tns="http://cse.campussource.de/ejb/ConfigurationManager" partnerLinkType="tns:ConfigurationManagerLinkType" + partnerRole="ConfigurationManagerRole"/> + <partnerLink name="IliasAdapter" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" partnerLinkType="tns:ResolveEPR" + myRole="ResolveEPRPortTypeRole"/> + </partnerLinks> + + <variables> + <variable name="ResolveEPROut" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" messageType="tns:resolveEPRResponse"/> + <variable name="GetSettingAsStringOut" xmlns:tns="http://cse.campussource.de/ejb/ConfigurationManager" messageType="tns:getSettingAsStringResponse"/> + <variable name="GetSettingAsStringIn" xmlns:tns="http://cse.campussource.de/ejb/ConfigurationManager" messageType="tns:getSettingAsString"/> + <variable name="ResolveEPRIn" xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" messageType="tns:resolveEPRRequest"/> + <variable name="IliasEPR" element="wsa:EndpointReference"/> + </variables> + + <sequence> + <receive name="start" createInstance="yes" partnerLink="IliasAdapter" operation="resolveEPR" + xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" + portType="tns:ResolveEPRPortType" + variable="ResolveEPRIn"/> + + <assign name="setSystem"> + <!-- Using system name as setting category --> + <copy> + <from>$ResolveEPRIn.system</from> + <to>$GetSettingAsStringIn.parameters/categoryName</to> + </copy> + <copy> + <from>'ilias_ws_url'</from> + <to>$GetSettingAsStringIn.parameters/settingName</to> + </copy> + </assign> + + <invoke name="getEndpointSetting" partnerLink="ConfigurationManager" operation="getSettingAsString" + xmlns:tns="http://cse.campussource.de/ejb/ConfigurationManager" + portType="tns:ConfigurationManager" + inputVariable="GetSettingAsStringIn" + outputVariable="GetSettingAsStringOut"/> + + <assign name="initEPR"> + <copy> + <from> + <literal> + <wsa:EndpointReference> + <wsa:Address/> + <wsa:ServiceName xmlns:ns="urn:ilUserAdministration" PortName="ILIASSoapWebservicePort">ns:ILIASSoapWebservice</wsa:ServiceName> + </wsa:EndpointReference> + </literal> + </from> + <to>$IliasEPR</to> + </copy> + </assign> + + <assign name="setIliasEndpoint"> + <copy> + <from>$GetSettingAsStringOut.parameters/return</from> + <to>$IliasEPR/wsa:Address/text()</to> + </copy> + </assign> + + <assign name="wrapEPRWithServiceRef"> + <sxt:trace> + <sxt:log level="info" location="onComplete"> + <from>concat('*** Resolved Ilias EPR: ', sxxf:doMarshal($ResolveEPROut.EPR))</from> + </sxt:log> + </sxt:trace> + <copy> + <from>ex:doXslTransform('urn:stylesheets:WrapEPRWithServiceRef.xsl', $IliasEPR)</from> + <to>$ResolveEPROut.EPR</to> + </copy> + </assign> + + <reply name="replyWithEPR" partnerLink="IliasAdapter" operation="resolveEPR" + xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" + portType="tns:ResolveEPRPortType" + variable="ResolveEPROut"/> + </sequence> +</process> Added: trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/ResolveEPR.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/ResolveEPR.wsdl (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ILIASClientAdapter/src/ResolveEPR.wsdl 2009-07-02 11:19:41 UTC (rev 297) @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<definitions name="ResolveEPR" + targetNamespace="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" + xmlns="http://schemas.xmlsoap.org/wsdl/" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:tns="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR" + xmlns:ns="http://docs.oasis-open.org/wsbpel/2.0/serviceref" + xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"> + <types> + <xsd:schema targetNamespace="http://cse.campussource.de/wsdl/ILIASClientAdapter/ResolveEPR"> + <xsd:import namespace="http://docs.oasis-open.org/wsbpel/2.0/serviceref" schemaLocation="Common/serviceref.xsd"/> + </xsd:schema> + </types> + <message name="resolveEPRRequest"> + <part name="system" type="xsd:string"/> + </message> + <message name="resolveEPRResponse"> + <part name="EPR" element="ns:service-ref"/> + </message> + <portType name="ResolveEPRPortType"> + <operation name="resolveEPR"> + <input name="input1" message="tns:resolveEPRRequest"/> + <output name="output1" message="tns:resolveEPRResponse"/> + </operation> + </portType> + <plnk:partnerLinkType name="ResolveEPR"> + <!-- A partner link type is automatically generated when a new port type is added. Partner link types are used by BPEL processes. +In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type. +A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.--> + <plnk:role name="ResolveEPRPortTypeRole" portType="tns:ResolveEPRPortType"/> + </plnk:partnerLinkType> +</definitions> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |