From: <pka...@us...> - 2009-05-29 14:45:44
|
Revision: 228 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=228&view=rev Author: pkasprzak Date: 2009-05-29 14:45:37 +0000 (Fri, 29 May 2009) Log Message: ----------- * Unfinished stuff 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 Added Paths: ----------- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.wsdl trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/OutboundObjectProcessor.bpel trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.bpel trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.wsdl Removed Paths: ------------- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.bpel trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.wsdl Property Changed: ---------------- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/ Property changes on: trunk/sandbox/lsf-adapter-demo/ObjectProcessor ___________________________________________________________________ Added: svn:ignore + build Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/build.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/build.xml 2009-05-29 13:22:48 UTC (rev 227) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/build.xml 2009-05-29 14:45:37 UTC (rev 228) @@ -53,18 +53,14 @@ properties which you can use check the target you are overriding in nbproject/build-impl.xml file. --> - <target name="-check-netbeans-home"> - <condition property="no.netbeans.home"> - <not> - <isset property="netbeans.home"/> - </not> - </condition> + <target name="-init-esb-ide" if="netbeans.home"> + <property name="esb.netbeans.platform" value="${netbeans.home}"/> </target> - <target name="-init-caps" if="no.netbeans.home"> + <target name="-init-esb-cmdline" unless="netbeans.home"> <property file="${basedir}/nbproject/private/private.properties"/> - <property name="netbeans.home" value="${caps.netbeans.home}/platform9"/> - <property name="netbeans.user" value="${caps.netbeans.user}"/> + <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="-check-netbeans-home,-init-caps"/> + <target name="-pre-init" depends="-init-esb-ide,-init-esb-cmdline"/> </project> Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/build-impl.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/build-impl.xml 2009-05-29 13:22:48 UTC (rev 227) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/build-impl.xml 2009-05-29 14:45:37 UTC (rev 228) @@ -48,42 +48,42 @@ </target> <target name="-init-taskdefs" if="from.commandline"> <path id="ant.task.classpath"> - <pathelement location="${netbeans.home}/../ide10/modules/ext/resolver-1.2.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-apache-xml-resolver.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-project-ant.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-project-libraries.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-projectapi.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-projectuiapi.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-xml-catalog.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-xml-xam.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-xml-schema-model.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-xml-wsdl-model.jar"/> - <pathelement location="${netbeans.home}/../ide10/modules/org-netbeans-modules-xml-retriever.jar"/> - <pathelement location="${netbeans.home}/../platform9/core/core.jar"/> - <pathelement location="${netbeans.home}/../platform9/core/org-openide-filesystems.jar"/> - <pathelement location="${netbeans.home}/../platform9/lib/boot.jar"/> - <pathelement location="${netbeans.home}/../platform9/lib/org-openide-modules.jar"/> - <pathelement location="${netbeans.home}/../platform9/lib/org-openide-util.jar"/> - <pathelement location="${netbeans.home}/../platform9/modules/org-openide-dialogs.jar"/> - <pathelement location="${netbeans.home}/../platform9/modules/org-openide-loaders.jar"/> - <pathelement location="${netbeans.home}/../platform9/modules/org-openide-nodes.jar"/> - <pathelement location="${netbeans.home}/../platform9/modules/org-openide-text.jar"/> - <pathelement location="${netbeans.home}/../platform9/modules/org-netbeans-modules-masterfs.jar"/> - <pathelement location="${netbeans.home}/../platform9/modules/org-netbeans-modules-queries.jar"/> - <pathelement location="${netbeans.home}/../soa2/ant/nblib/org-netbeans-modules-bpel-project.jar"/> - <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-bpel-debugger-api.jar"/> - <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-bpel-model.jar"/> - <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-bpel-project.jar"/> - <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-bpel-validation.jar"/> - <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-soa-ui.jar"/> - <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-soa-validation.jar"/> - <pathelement location="${netbeans.home}/../soa2/modules/org-netbeans-modules-compapp-projects-base.jar"/> - <pathelement location="${netbeans.home}/../xml2/modules/ext/jxpath/jxpath1.1.jar"/> - <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-catalogsupport.jar"/> - <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-search.jar"/> - <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-wsdl-extensions.jar"/> - <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-xpath.jar"/> - <pathelement location="${netbeans.home}/../xml2/modules/org-netbeans-modules-xml-xpath-ext.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/ext/resolver-1.2.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-apache-xml-resolver.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-project-ant.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-project-libraries.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-projectapi.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-projectuiapi.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-catalog.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-xam.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-schema-model.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-wsdl-model.jar"/> + <pathelement location="${esb.netbeans.platform}/../ide10/modules/org-netbeans-modules-xml-retriever.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/core/core.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/core/org-openide-filesystems.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/lib/boot.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/lib/org-openide-modules.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/lib/org-openide-util.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-openide-dialogs.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-openide-loaders.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-openide-nodes.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-openide-text.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-netbeans-modules-masterfs.jar"/> + <pathelement location="${esb.netbeans.platform}/../platform9/modules/org-netbeans-modules-queries.jar"/> + <pathelement location="${esb.netbeans.platform}/../soa2/ant/nblib/org-netbeans-modules-bpel-project.jar"/> + <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-debugger-api.jar"/> + <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-model.jar"/> + <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-project.jar"/> + <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-bpel-validation.jar"/> + <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-soa-ui.jar"/> + <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-soa-validation.jar"/> + <pathelement location="${esb.netbeans.platform}/../soa2/modules/org-netbeans-modules-compapp-projects-base.jar"/> + <pathelement location="${esb.netbeans.platform}/../xml2/modules/ext/jxpath/jxpath1.1.jar"/> + <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-catalogsupport.jar"/> + <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-search.jar"/> + <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-wsdl-extensions.jar"/> + <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-xpath.jar"/> + <pathelement location="${esb.netbeans.platform}/../xml2/modules/org-netbeans-modules-xml-xpath-ext.jar"/> </path> <taskdef name="validate-project" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliValidateBpelProjectTask"> <classpath refid="ant.task.classpath"/> Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/genfiles.properties =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/genfiles.properties 2009-05-29 13:22:48 UTC (rev 227) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/genfiles.properties 2009-05-29 14:45:37 UTC (rev 228) @@ -1,8 +1,8 @@ build.xml.data.CRC32=6c6f774a -build.xml.script.CRC32=3d3dbc12 -build.xml.stylesheet.CRC32=1947459d +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=6c6f774a -nbproject/build-impl.xml.script.CRC32=97378c31 -nbproject/build-impl.xml.stylesheet.CRC32=749ec361 +nbproject/build-impl.xml.script.CRC32=0b0fd8f1 +nbproject/build-impl.xml.stylesheet.CRC32=5068533b Copied: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel (from rev 200, trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.bpel) =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel 2009-05-29 14:45:37 UTC (rev 228) @@ -0,0 +1,82 @@ +<?xml version="1.0" encoding="UTF-8"?> +<process + name="InboundObjectProcessor" + targetNamespace="http://enterprise.netbeans.org/bpel/ObjectProcessor/newProcess" + xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" + xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" + xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment" + xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" + xmlns: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/"/> + <partnerLinks> + <partnerLink name="IdentityMapper" xmlns:tns="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" partnerLinkType="tns:IdentityMapper" partnerRole="IdentityMapperPortTypeRole"/> + <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" partnerLinkType="tns:ObjectProcessor" myRole="ObjectProcessorPortTypeRole"/> + </partnerLinks> + <variables> + <variable name="ProcessCategoryOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" messageType="tns:ProcessCategoryOperationRequest"/> + <variable name="ProcessCourseOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" messageType="tns:ProcessCourseOperationRequest"/> + <variable name="ToBusIdOperationOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" messageType="tns:ToBusIdOperationResponse"/> + <variable name="ToBusIdOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" messageType="tns:ToBusIdOperationRequest"/> + </variables> + <sequence> + <pick name="receiveObject" createInstance="yes"> + + <onMessage partnerLink="ClientAdapter" + operation="ProcessCourseOperation" + xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" + portType="tns:ObjectProcessorPortType" + variable="ProcessCourseOperationIn"> + <sequence> + <assign name="prepareResolveBusIdForCourse"> + <sxt:trace> + <sxt:log level="info" location="onStart"> + <ns0:from>concat('*** Message: ', $ProcessCourseOperationIn)</ns0:from> + </sxt:log> + </sxt:trace> + <copy> + <from variable="ProcessCourseOperationIn" part="clientInstanceId"/> + <to variable="ToBusIdOperationIn" part="clientInstanceId"/> + </copy> + <copy> + <from variable="ProcessCourseOperationIn" part="clientObjectId"/> + <to variable="ToBusIdOperationIn" part="clientObjectId"/> + </copy> + </assign> + </sequence> + </onMessage> + + <onMessage partnerLink="ClientAdapter" + operation="ProcessCategoryOperation" + xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" + portType="tns:ObjectProcessorPortType" + variable="ProcessCategoryOperationIn"> + <sequence> + <assign name="prepareResolveBusIdForCategory"> + <copy> + <from variable="ProcessCategoryOperationIn" part="clientInstanceId"/> + <to variable="ToBusIdOperationIn" part="clientInstanceId"/> + </copy> + <copy> + <from variable="ProcessCategoryOperationIn" part="clientObjectId"/> + <to variable="ToBusIdOperationIn" part="clientObjectId"/> + </copy> + </assign> + </sequence> + </onMessage> + </pick> + + <invoke name="resolveBusId" partnerLink="IdentityMapper" operation="ToBusIdOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" portType="tns:IdentityMapperPortType" inputVariable="ToBusIdOperationIn" outputVariable="ToBusIdOperationOut"> + <sxt:trace> + <sxt:log level="fine" location="onComplete"> + <from>concat('Resolved busId: ', $ToBusIdOperationOut.busId)</from> + </sxt:log> + </sxt:trace> + </invoke> + <empty name="updateCDMM"/> + </sequence> +</process> Copied: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.wsdl (from rev 200, trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.wsdl) =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.wsdl (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.wsdl 2009-05-29 14:45:37 UTC (rev 228) @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8"?> +<definitions name="ObjectProcessor" targetNamespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" + xmlns="http://schemas.xmlsoap.org/wsdl/" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" + xmlns:dt="http://cse.campussource.de/schema/DataTypes" + xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> + <types> + <xsd:schema targetNamespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor"> + <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="Common/CDDM.xsd"/> + </xsd:schema> + </types> + <message name="ProcessCourseOperationRequest"> + <part name="clientInstanceId" type="xsd:long"/> + <part name="clientObjectId" type="xsd:string"/> + <part name="courseMessage" type="dt:courseMessageType"/> + </message> + <message name="ProcessCategoryOperationRequest"> + <part name="clientInstanceId" type="xsd:long"/> + <part name="clientObjectId" type="xsd:string"/> + <part name="categoryMessage" type="dt:categoryMessageType"/> + </message> + <portType name="ObjectProcessorPortType"> + <operation name="ProcessCourseOperation"> + <input name="input1" message="tns:ProcessCourseOperationRequest"/> + </operation> + <operation name="ProcessCategoryOperation"> + <input name="input2" message="tns:ProcessCategoryOperationRequest"/> + </operation> + </portType> + <binding name="ObjectProcessorPortTypeBinding" type="tns:ObjectProcessorPortType"> + <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> + <operation name="ProcessCourseOperation"> + <soap:operation/> + <input name="input1"> + <soap:body use="literal"/> + </input> + </operation> + <operation name="ProcessCategoryOperation"> + <soap:operation/> + <input name="input2"> + <soap:body use="literal"/> + </input> + </operation> + </binding> + <service name="ObjectProcessorService"> + <port name="ObjectProcessorPortTypeBindingPort" binding="tns:ObjectProcessorPortTypeBinding"> + <soap:address location="http://localhost:${HttpDefaultPort}/service"/> + </port> + </service> + <plnk:partnerLinkType name="ObjectProcessor"> + <!-- A partner link type is automatically generated when a new port type is added. Partner link types are used by BPEL processes. +In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type. +A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.--> + <plnk:role name="ObjectProcessorPortTypeRole" portType="tns:ObjectProcessorPortType"/> + </plnk:partnerLinkType> +</definitions> Deleted: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.bpel 2009-05-29 13:22:48 UTC (rev 227) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.bpel 2009-05-29 14:45:37 UTC (rev 228) @@ -1,82 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<process - name="ObjectProcessor" - targetNamespace="http://enterprise.netbeans.org/bpel/ObjectProcessor/newProcess" - xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" - xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" - xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment" - xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" - xmlns: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="ObjectProcessor.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"/> - </partnerLinks> - <variables> - <variable name="ProcessCategoryOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" messageType="tns:ProcessCategoryOperationRequest"/> - <variable name="ProcessCourseOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" messageType="tns:ProcessCourseOperationRequest"/> - <variable name="ToBusIdOperationOut" xmlns:tns="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" messageType="tns:ToBusIdOperationResponse"/> - <variable name="ToBusIdOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" messageType="tns:ToBusIdOperationRequest"/> - </variables> - <sequence> - <pick name="receiveObject" createInstance="yes"> - - <onMessage partnerLink="ClientAdapter" - operation="ProcessCourseOperation" - xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" - portType="tns:ObjectProcessorPortType" - variable="ProcessCourseOperationIn"> - <sequence> - <assign name="prepareResolveBusIdForCourse"> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <ns0:from>concat('*** Message: ', $ProcessCourseOperationIn)</ns0:from> - </sxt:log> - </sxt:trace> - <copy> - <from variable="ProcessCourseOperationIn" part="clientInstanceId"/> - <to variable="ToBusIdOperationIn" part="clientInstanceId"/> - </copy> - <copy> - <from variable="ProcessCourseOperationIn" part="clientObjectId"/> - <to variable="ToBusIdOperationIn" part="clientObjectId"/> - </copy> - </assign> - </sequence> - </onMessage> - - <onMessage partnerLink="ClientAdapter" - operation="ProcessCategoryOperation" - xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" - portType="tns:ObjectProcessorPortType" - variable="ProcessCategoryOperationIn"> - <sequence> - <assign name="prepareResolveBusIdForCategory"> - <copy> - <from variable="ProcessCategoryOperationIn" part="clientInstanceId"/> - <to variable="ToBusIdOperationIn" part="clientInstanceId"/> - </copy> - <copy> - <from variable="ProcessCategoryOperationIn" part="clientObjectId"/> - <to variable="ToBusIdOperationIn" part="clientObjectId"/> - </copy> - </assign> - </sequence> - </onMessage> - </pick> - - <invoke name="resolveBusId" partnerLink="IdentityMapper" operation="ToBusIdOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/IdentityMapper/IdentityMapper" portType="tns:IdentityMapperPortType" inputVariable="ToBusIdOperationIn" outputVariable="ToBusIdOperationOut"> - <sxt:trace> - <sxt:log level="fine" location="onComplete"> - <from>concat('Resolved busId: ', $ToBusIdOperationOut.busId)</from> - </sxt:log> - </sxt:trace> - </invoke> - <empty name="updateCDMM"/> - </sequence> -</process> Deleted: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.wsdl 2009-05-29 13:22:48 UTC (rev 227) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.wsdl 2009-05-29 14:45:37 UTC (rev 228) @@ -1,58 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<definitions name="ObjectProcessor" targetNamespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" - xmlns="http://schemas.xmlsoap.org/wsdl/" - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" - xmlns:dt="http://cse.campussource.de/schema/DataTypes" - xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"> - <types> - <xsd:schema targetNamespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor"> - <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="Common/CDDM.xsd"/> - </xsd:schema> - </types> - <message name="ProcessCourseOperationRequest"> - <part name="clientInstanceId" type="xsd:long"/> - <part name="clientObjectId" type="xsd:string"/> - <part name="courseMessage" type="dt:courseMessageType"/> - </message> - <message name="ProcessCategoryOperationRequest"> - <part name="clientInstanceId" type="xsd:long"/> - <part name="clientObjectId" type="xsd:string"/> - <part name="categoryMessage" type="dt:categoryMessageType"/> - </message> - <portType name="ObjectProcessorPortType"> - <operation name="ProcessCourseOperation"> - <input name="input1" message="tns:ProcessCourseOperationRequest"/> - </operation> - <operation name="ProcessCategoryOperation"> - <input name="input2" message="tns:ProcessCategoryOperationRequest"/> - </operation> - </portType> - <binding name="ObjectProcessorPortTypeBinding" type="tns:ObjectProcessorPortType"> - <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> - <operation name="ProcessCourseOperation"> - <soap:operation/> - <input name="input1"> - <soap:body use="literal"/> - </input> - </operation> - <operation name="ProcessCategoryOperation"> - <soap:operation/> - <input name="input2"> - <soap:body use="literal"/> - </input> - </operation> - </binding> - <service name="ObjectProcessorService"> - <port name="ObjectProcessorPortTypeBindingPort" binding="tns:ObjectProcessorPortTypeBinding"> - <soap:address location="http://localhost:${HttpDefaultPort}/service"/> - </port> - </service> - <plnk:partnerLinkType name="ObjectProcessor"> - <!-- A partner link type is automatically generated when a new port type is added. Partner link types are used by BPEL processes. -In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type. -A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.--> - <plnk:role name="ObjectProcessorPortTypeRole" portType="tns:ObjectProcessorPortType"/> - </plnk:partnerLinkType> -</definitions> Added: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/OutboundObjectProcessor.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/OutboundObjectProcessor.bpel (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/OutboundObjectProcessor.bpel 2009-05-29 14:45:37 UTC (rev 228) @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<process + name="OutboundObjectProcessor" + targetNamespace="http://enterprise.netbeans.org/bpel/ObjectProcessor/OutboundObjectProcessor" + xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" + xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" + xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment" + xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" + xmlns:tns="http://enterprise.netbeans.org/bpel/ObjectProcessor/OutboundObjectProcessor"> + + <sequence> + </sequence> +</process> Added: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.bpel (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.bpel 2009-05-29 14:45:37 UTC (rev 228) @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<process + name="ReplyProcessor" + targetNamespace="http://enterprise.netbeans.org/bpel/ObjectProcessor/ReplyProcessor" + xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" + xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" + xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment" + xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" + xmlns:tns="http://enterprise.netbeans.org/bpel/ObjectProcessor/ReplyProcessor"> + + <sequence> + </sequence> +</process> Added: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.wsdl (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.wsdl 2009-05-29 14:45:37 UTC (rev 228) @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8"?> +<definitions name="ReplyProcessor" targetNamespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" + xmlns="http://schemas.xmlsoap.org/wsdl/" + xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" xmlns:ns="http://cse.campussource.de/schema/DataTypes" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"> + <types> + <xsd:schema targetNamespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor"> + <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="Common/CDDM.xsd"/> + </xsd:schema> + </types> + <message name="processReplyRequest"> + <part name="reply" type="ns:eventReplyMessageType"/> + </message> + <portType name="ReplyProcessorPortType"> + <operation name="processReply"> + <input name="input1" message="tns:processReplyRequest"/> + </operation> + </portType> + <plnk:partnerLinkType name="ReplyProcessor"> + <!-- A partner link type is automatically generated when a new port type is added. Partner link types are used by BPEL processes. +In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type. +A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.--> + <plnk:role name="ReplyProcessorPortTypeRole" portType="tns:ReplyProcessorPortType"/> + </plnk:partnerLinkType> +</definitions> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |