From: <pka...@us...> - 2009-03-25 09:41:41
|
Revision: 110 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=110&view=rev Author: pkasprzak Date: 2009-03-25 09:41:36 +0000 (Wed, 25 Mar 2009) Log Message: ----------- Import Added Paths: ----------- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/build.xml trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/build-impl.xml trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/genfiles.properties trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/project.properties trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/project.xml trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/DataTypes.xsd trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.bpel trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.wsdl Added: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/build.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/build.xml (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/build.xml 2009-03-25 09:41:36 UTC (rev 110) @@ -0,0 +1,70 @@ +<?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="-check-netbeans-home"> + <condition property="no.netbeans.home"> + <not> + <isset property="netbeans.home"/> + </not> + </condition> + </target> + <target name="-init-caps" if="no.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="from.commandline" value="true"/> + </target> + <target name="-pre-init" depends="-check-netbeans-home,-init-caps"/> +</project> Added: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-03-25 09:41:36 UTC (rev 110) @@ -0,0 +1,7 @@ +<?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="file:/home/pete/NetBeansProjects/CSE-IP/LSFClientAdapter/src/DataTypes.xsd" uri="src/DataTypes.xsd"/> + <system systemId="IdentityMapper/wsdl/IdentityMapperWS/IdentityMapper.wsdl" uri="nb-uri:IdentityMapper#src/conf/wsdl/IdentityMapperWS/IdentityMapper.wsdl"/> + <system systemId="LSFClientAdapter/XSLTTransform.wsdl" uri="nb-uri:LSFClientAdapter#src/XSLTTransform.wsdl"/> +</catalog> Property changes on: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject ___________________________________________________________________ Added: svn:ignore + private Added: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/build-impl.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/build-impl.xml (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/build-impl.xml 2009-03-25 09:41:36 UTC (rev 110) @@ -0,0 +1,155 @@ +<?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 +--> +<project name="ObjectProcessor-impl" default="default" basedir=".."> + <target name="default" depends="dist_se" description="Build whole project."/> + <!-- + ====================== + INITIALIZATION SECTION + ====================== + --> + <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"> + <property file="nbproject/private/private.properties"/> + </target> + <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"> + <property file="${user.properties.file}"/> + </target> + <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"> + <available file="${src.dir}/../retrieved" property="retrieved.exists"/> + </target> + <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"> + <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"> + <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"/> + </path> + <taskdef name="validate-project" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliValidateBpelProjectTask"> + <classpath refid="ant.task.classpath"/> + </taskdef> + <taskdef name="generate-catalog-xml" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliGenerateCatalogTask"> + <classpath refid="ant.task.classpath"/> + </taskdef> + <taskdef name="generate-jbi-xml" classname="org.netbeans.modules.bpel.project.anttasks.cli.CliGenerateJbiDescriptorTask"> + <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"/> + <!-- + ===================== + DIST BUILDING SECTION + ===================== + --> + <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}"> + <ant target="dist" inheritall="false" dir="${project.IdentityMapper}"/> + </target> + <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> + <generate-catalog-xml buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" classpathRef="ant.task.classpath"/> + <generate-jbi-xml buildDirectory="${basedir}/${build.dir}" sourceDirectory="${basedir}/${src.dir}" projectClassPath="${javac.classpath}" classpathRef="ant.task.classpath"/> + <jar compress="${jar.compress}" jarfile="${build.dir}/SEDeployment.jar"> + <fileset includes="**/*.bpel,**/*.wsdl,**/*.xsd, **/*.xsl, **/*.xslt, **/*.jar" excludes="SEDeployment.jar" dir="${basedir}/${build.dir}"/> + <fileset dir="${basedir}/${build.dir}"> + <include name="**/jbi.xml"/> + <include name="**/catalog.xml"/> + </fileset> + </jar> + </target> + <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."/> + <!-- + =============== + CLEANUP SECTION + =============== + --> + <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}"> + <ant target="clean" inheritall="false" dir="${project.IdentityMapper}"/> + </target> + <target name="-do-clean" depends="init,-pre-clean"> + <delete dir="${build.dir}"/> + <delete dir="${dist.dir}"/> + </target> + <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."/> +</project> Added: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/genfiles.properties =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/genfiles.properties (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/genfiles.properties 2009-03-25 09:41:36 UTC (rev 110) @@ -0,0 +1,8 @@ +build.xml.data.CRC32=c13bb3ad +build.xml.script.CRC32=3d3dbc12 +build.xml.stylesheet.CRC32=1947459d +# 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=c13bb3ad +nbproject/build-impl.xml.script.CRC32=664bb067 +nbproject/build-impl.xml.stylesheet.CRC32=749ec361 Added: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/project.properties =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/project.properties (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/project.properties 2009-03-25 09:41:36 UTC (rev 110) @@ -0,0 +1,30 @@ +allow.build.with.error=false +bcdeployment.jar=${build.dir}/BCDeployment.jar +build.classes.dir=${build.dir}/jar +build.classes.excludes=**/*.java,**/*.form,**/.nbattrs +build.dir=build +build.generated.dir=${build.dir}/generated +com.sun.jbi.ui.devtool.jbi.description.application-sub-assembly=Represents this Service Unit +com.sun.jbi.ui.devtool.jbi.setype.prefix=sun-bpel-engine +debug.classpath=${javac.classpath}:${build.classes.dir} +dist.dir=dist +dist.jar=${dist.dir}/ObjectProcessor.zip +dist.javadoc.dir=${dist.dir}/javadoc +jar.compress=false +jar.name=ObjectProcessor.jar +javac.debug=true +javac.deprecation=false +javac.source=1.4 +javac.target=1.4 +jbi.se.type=sun-bpel-engine +jbi.service-unit.description=Represents this Service Unit +meta.inf=${source.root}/conf +platform.active=default_platform +project.IdentityMapper=../IdentityMapper +reference.IdentityMapper.dist=${project.IdentityMapper}/dist/IdentityMapper.jar +resource.dir=setup +sedeployment.jar=${build.dir}/SEDeployment.jar +source.encoding=UTF-8 +source.root=src +src.dir=${source.root} +wsdl.classpath= Added: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/project.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/project.xml (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/project.xml 2009-03-25 09:41:36 UTC (rev 110) @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project xmlns="http://www.netbeans.org/ns/project/1"> + <type>org.netbeans.modules.bpel.project</type> + <configuration> + <data xmlns="http://www.netbeans.org/ns/j2ee-bpelpro/1"> + <name>ObjectProcessor</name> + <minimum-ant-version>1.6</minimum-ant-version> + </data> + <references xmlns="http://www.netbeans.org/ns/ant-project-references/1"> + <reference> + <foreign-project>IdentityMapper</foreign-project> + <artifact-type>jar</artifact-type> + <script>build.xml</script> + <target>dist</target> + <clean-target>clean</clean-target> + <id>dist</id> + </reference> + </references> + </configuration> +</project> Added: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/DataTypes.xsd =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/DataTypes.xsd (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/DataTypes.xsd 2009-03-25 09:41:36 UTC (rev 110) @@ -0,0 +1,264 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" + targetNamespace="http://cse.campussource.de/schema/DataTypes" + xmlns:tns="http://cse.campussource.de/schema/DataTypes"> + + <xs:complexType name="synchronizationMessageType"> + <xs:sequence> + <xs:element name="isDebug" type="xs:boolean"/> + <xs:element name="isSyncMessage" type="xs:boolean"/> + <xs:element name="semesterName" type="xs:string" minOccurs="0"/> + <xs:element name="semesterLsfId" type="xs:string" minOccurs="0"/> + <xs:element name="rootCategoryId" type="xs:string" minOccurs="0"/> + <xs:element name="accounts" minOccurs="0"> + <xs:complexType> + <xs:sequence> + <xs:element name="account" type="tns:accountType" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="courseTypes" minOccurs="0"> + <xs:complexType> + <xs:sequence> + <xs:element name="courseType" type="tns:courseTypeType" 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="tns:courseType" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="workgroups" minOccurs="0"> + <xs:complexType> + <xs:sequence> + <xs:element name="workgroup" type="tns:workgroupType" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="categories" minOccurs="0"> + <xs:complexType> + <xs:sequence> + <xs:element name="category" type="tns:categoryType" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="relations" minOccurs="0"> + <xs:complexType> + <xs:sequence> + <xs:element name="relation" type="tns:mappedRelationType" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="roles" minOccurs="0"> + <xs:complexType> + <xs:sequence> + <xs:element name="role" type="tns:roleType" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="lecturesToDelete" minOccurs="0"> + <xs:complexType> + <xs:sequence> + <xs:element name="lsfId" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="accountsToDelete" minOccurs="0"> + <xs:complexType> + <xs:sequence> + <xs:element name="lsfId" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="lectureTypesToDelete" minOccurs="0"> + <xs:complexType> + <xs:sequence> + <xs:element name="lsfId" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="accountType"> + <xs:complexContent> + <xs:extension base="tns:mappedEntityType"> + <xs:sequence> + <xs:element name="lsfId" type="xs:string"/> + <xs:element name="surname" type="xs:string"/> + <xs:element name="firstName" type="xs:string"/> + <xs:element name="emailAddress" type="xs:string"/> + <xs:element name="login" type="xs:string"/> + <xs:element name="password" type="xs:string"/> + <xs:element name="globalRole" type="xs:string" minOccurs="0"/> + <xs:element name="degree" type="xs:string" minOccurs="0"/> + <xs:element name="academicTitle" type="xs:string" minOccurs="0"/> + <xs:element name="gender" type="xs:string" minOccurs="0"/> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="mappedEntityType" abstract="true"> + <xs:complexContent> + <xs:extension base="tns:mappedObjectType"> + <xs:sequence/> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="mappedObjectType" abstract="true"> + <xs:sequence> + <xs:element name="busId" type="xs:int"/> + <xs:element name="clientId" type="xs:string" minOccurs="0"/> + <xs:element name="operation" type="xs:string" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="courseTypeType"> + <xs:complexContent> + <xs:extension base="tns:mappedEntityType"> + <xs:sequence> + <xs:element name="lsfId" type="xs:int"/> + <xs:element name="name" type="xs:string"/> + <xs:element name="shortDescription" type="xs:string" minOccurs="0"/> + <xs:element name="longDescription" type="xs:string" minOccurs="0"/> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="courseType"> + <xs:complexContent> + <xs:extension base="tns:mappedEntityType"> + <xs:sequence> + <xs:element name="dates" minOccurs="0"> + <xs:complexType> + <xs:sequence> + <xs:element name="date" type="tns:dateType" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:complexType> + </xs:element> + <xs:element name="active" type="xs:string" minOccurs="0"/> + <xs:element name="abbreviation" type="xs:string" minOccurs="0"/> + <xs:element name="lsfId" type="xs:string"/> + <xs:element name="logicalNumber" type="xs:int"/> + <xs:element name="type" type="xs:string" minOccurs="0"/> + <xs:element name="title" type="xs:string"/> + <xs:element name="semesterId" type="xs:string"/> + <xs:element name="clientTitle" type="xs:string" minOccurs="0"/> + <xs:element name="shortDescription" type="xs:string" minOccurs="0"/> + <xs:element name="prerequisites" type="xs:string" minOccurs="0"/> + <xs:element name="necessaryAssignment" type="xs:string" minOccurs="0"/> + <xs:element name="languageISO" type="xs:string" minOccurs="0"/> + <xs:element name="languageFull" type="xs:string" minOccurs="0"/> + <xs:element name="hyperlink" type="xs:string" minOccurs="0"/> + <xs:element name="hyperlinkname" type="xs:string" minOccurs="0"/> + <xs:element name="note" type="xs:string" minOccurs="0"/> + <xs:element name="comment" type="xs:string" minOccurs="0"/> + <xs:element name="semesterAsInt" type="xs:short"/> + <xs:element name="semesterAbbr" type="xs:string" minOccurs="0"/> + <xs:element name="semesterFull" type="xs:string" minOccurs="0"/> + <xs:element name="semesterPeriodsPerWeek" type="xs:int"/> + <xs:element name="expectedRegistrations" type="xs:int"/> + <xs:element name="maximumRegistrations" type="xs:int"/> + <xs:element name="activityConfirmation" type="xs:string" minOccurs="0"/> + <xs:element name="literature" type="xs:string" minOccurs="0"/> + <xs:element name="startDate" type="xs:string" minOccurs="0"/> + <xs:element name="endDate" type="xs:string" minOccurs="0"/> + <xs:element name="superRoleBusId" type="xs:int"/> + <xs:element name="assignmentManagement" type="xs:string" minOccurs="0"/> + <xs:element name="leadingSystemForAssigments" type="xs:string" minOccurs="0"/> + <xs:element name="bookingType" type="xs:string" minOccurs="0"/> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="dateType"> + <xs:sequence> + <xs:element name="dateId" type="xs:int"/> + <xs:element name="startdate" type="xs:string" minOccurs="0"/> + <xs:element name="enddate" type="xs:string" minOccurs="0"/> + <xs:element name="starttime" type="xs:string" minOccurs="0"/> + <xs:element name="endtime" type="xs:string" minOccurs="0"/> + <xs:element name="stct" type="xs:string" minOccurs="0"/> + <xs:element name="dayofweek" type="xs:string" minOccurs="0"/> + <xs:element name="rythm" type="xs:string" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + + <xs:complexType name="workgroupType"> + <xs:complexContent> + <xs:extension base="tns:mappedEntityType"> + <xs:sequence> + <xs:element name="lsfId" type="xs:string"/> + <xs:element name="name" type="xs:string"/> + <xs:element name="room" type="xs:string" minOccurs="0"/> + <xs:element name="semesterId" type="xs:string"/> + <xs:element name="clientTitle" type="xs:string" minOccurs="0"/> + <xs:element name="shortDescription" type="xs:string" minOccurs="0"/> + <xs:element name="languageISO" type="xs:string" minOccurs="0"/> + <xs:element name="maximumRegistrations" type="xs:int"/> + <xs:element name="startDate" type="xs:string" minOccurs="0"/> + <xs:element name="endDate" type="xs:string" minOccurs="0"/> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="categoryType"> + <xs:complexContent> + <xs:extension base="tns:mappedEntityType"> + <xs:sequence> + <xs:element name="name" type="xs:string"/> + <xs:element name="lsfId" type="xs:string"/> + <xs:element name="sort" type="xs:int"/> + <xs:element name="semesterId" type="xs:string"/> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="mappedRelationType"> + <xs:complexContent> + <xs:extension base="tns:mappedObjectType"> + <xs:sequence> + <xs:element name="busParentId" type="xs:int"/> + <xs:element name="busChildId" type="xs:int"/> + <xs:element name="clientChildId" type="xs:string" minOccurs="0"/> + <xs:element name="clientParentId" type="xs:string" minOccurs="0"/> + <xs:element name="relationType" type="xs:string" minOccurs="0"/> + <xs:element name="childSort" type="xs:string" minOccurs="0"/> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + + <xs:complexType name="roleType"> + <xs:complexContent> + <xs:extension base="tns:mappedObjectType"> + <xs:sequence> + <xs:element name="name" type="xs:string"/> + <xs:element name="clientAccountId" type="xs:string" minOccurs="0"/> + <xs:element name="clientObjectId" type="xs:string" minOccurs="0"/> + <xs:element name="busAccountId" type="xs:int"/> + <xs:element name="busObjectId" type="xs:int"/> + <xs:element name="roleStatus" type="xs:string" minOccurs="0"/> + </xs:sequence> + </xs:extension> + </xs:complexContent> + </xs:complexType> + <xs:complexType name="resultType"> + <xs:sequence> + <xs:element name="clientId" type="xs:string"/> + <xs:element name="status" type="xs:string"/> + <xs:element name="reason" type="xs:string"/> + </xs:sequence> + </xs:complexType> + <xs:element name="synchronizationMessage" type="tns:synchronizationMessageType"/> +</xs:schema> \ No newline at end of file Added: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.bpel (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.bpel 2009-03-25 09:41:36 UTC (rev 110) @@ -0,0 +1,51 @@ +<?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: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/"/> + <import namespace="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" location="LSFClientAdapter/XSLTTransform.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="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"/> + <variable name="ProcessObjectOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" messageType="tns:ProcessObjectOperationRequest"/> + </variables> + <sequence> + <receive name="receiveObject" createInstance="yes" partnerLink="ClientAdapter" operation="ProcessObjectOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" portType="tns:ObjectProcessorPortType" variable="ProcessObjectOperationIn"> + <sxt:trace> + <sxt:log level="fine" location="onStart"> + <from>'ObjectProcessor called!'</from> + </sxt:log> + </sxt:trace> + </receive> + <assign name="prepareResolveBusId"> + <copy> + <from variable="ProcessObjectOperationIn" part="clientInstanceId"/> + <to variable="ToBusIdOperationIn" part="clientInstanceId"/> + </copy> + <copy> + <from>$ProcessObjectOperationIn.objectMessage/courses/course[1]/clientId</from> + <to variable="ToBusIdOperationIn" part="clientObjectId"/> + </copy> + </assign> + <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> Added: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.wsdl (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.wsdl 2009-03-25 09:41:36 UTC (rev 110) @@ -0,0 +1,26 @@ +<?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: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/ObjectProcessor"> + <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="file:/home/pete/NetBeansProjects/CSE-IP/LSFClientAdapter/src/DataTypes.xsd"/> + </xsd:schema> + </types> + <message name="ProcessObjectOperationRequest"> + <part name="clientInstanceId" type="xsd:long"/> + <part name="objectMessage" type="ns:synchronizationMessageType"/> + </message> + <portType name="ObjectProcessorPortType"> + <operation name="ProcessObjectOperation"> + <input name="input1" message="tns:ProcessObjectOperationRequest"/> + </operation> + </portType> + <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> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-04-16 21:46:58
|
Revision: 121 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=121&view=rev Author: pkasprzak Date: 2009-04-16 21:46:36 +0000 (Thu, 16 Apr 2009) Log Message: ----------- * Adapted messages / variables to new datamodel (CDDM.xsd) * Course attributes are filled via xslt * Reorganized project-dependencies: common files are kept in the "Common"-Project * Cleanups Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/build-impl.xml trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/genfiles.properties trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/project.properties trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/project.xml trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.bpel trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.wsdl Removed Paths: ------------- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/DataTypes.xsd Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-04-16 21:46:18 UTC (rev 120) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-04-16 21:46:36 UTC (rev 121) @@ -1,7 +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="file:/home/pete/NetBeansProjects/CSE-IP/LSFClientAdapter/src/DataTypes.xsd" uri="src/DataTypes.xsd"/> <system systemId="IdentityMapper/wsdl/IdentityMapperWS/IdentityMapper.wsdl" uri="nb-uri:IdentityMapper#src/conf/wsdl/IdentityMapperWS/IdentityMapper.wsdl"/> - <system systemId="LSFClientAdapter/XSLTTransform.wsdl" uri="nb-uri:LSFClientAdapter#src/XSLTTransform.wsdl"/> + <system systemId="Common/CDDM.xsd" uri="nb-uri:Common#src/CDDM.xsd"/> </catalog> Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/build-impl.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/build-impl.xml 2009-04-16 21:46:18 UTC (rev 120) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/build-impl.xml 2009-04-16 21:46:36 UTC (rev 121) @@ -106,6 +106,7 @@ <!-- You can override this target in the ../build.xml file. --> </target> <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"> @@ -141,6 +142,7 @@ <!-- You can override this target in the ../build.xml file. --> </target> <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"> Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/genfiles.properties =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/genfiles.properties 2009-04-16 21:46:18 UTC (rev 120) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/genfiles.properties 2009-04-16 21:46:36 UTC (rev 121) @@ -1,8 +1,8 @@ -build.xml.data.CRC32=c13bb3ad +build.xml.data.CRC32=6c6f774a build.xml.script.CRC32=3d3dbc12 build.xml.stylesheet.CRC32=1947459d # 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=c13bb3ad -nbproject/build-impl.xml.script.CRC32=664bb067 +nbproject/build-impl.xml.data.CRC32=6c6f774a +nbproject/build-impl.xml.script.CRC32=97378c31 nbproject/build-impl.xml.stylesheet.CRC32=749ec361 Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/project.properties =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/project.properties 2009-04-16 21:46:18 UTC (rev 120) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/project.properties 2009-04-16 21:46:36 UTC (rev 121) @@ -20,7 +20,9 @@ jbi.service-unit.description=Represents this Service Unit meta.inf=${source.root}/conf platform.active=default_platform +project.Common=../Common project.IdentityMapper=../IdentityMapper +reference.Common.dist_se=${project.Common}/build/SEDeployment.jar reference.IdentityMapper.dist=${project.IdentityMapper}/dist/IdentityMapper.jar resource.dir=setup sedeployment.jar=${build.dir}/SEDeployment.jar Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/project.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/project.xml 2009-04-16 21:46:18 UTC (rev 120) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/nbproject/project.xml 2009-04-16 21:46:36 UTC (rev 121) @@ -8,6 +8,14 @@ </data> <references xmlns="http://www.netbeans.org/ns/ant-project-references/1"> <reference> + <foreign-project>Common</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> + <reference> <foreign-project>IdentityMapper</foreign-project> <artifact-type>jar</artifact-type> <script>build.xml</script> Deleted: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/DataTypes.xsd =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/DataTypes.xsd 2009-04-16 21:46:18 UTC (rev 120) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/DataTypes.xsd 2009-04-16 21:46:36 UTC (rev 121) @@ -1,264 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" - targetNamespace="http://cse.campussource.de/schema/DataTypes" - xmlns:tns="http://cse.campussource.de/schema/DataTypes"> - - <xs:complexType name="synchronizationMessageType"> - <xs:sequence> - <xs:element name="isDebug" type="xs:boolean"/> - <xs:element name="isSyncMessage" type="xs:boolean"/> - <xs:element name="semesterName" type="xs:string" minOccurs="0"/> - <xs:element name="semesterLsfId" type="xs:string" minOccurs="0"/> - <xs:element name="rootCategoryId" type="xs:string" minOccurs="0"/> - <xs:element name="accounts" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="account" type="tns:accountType" minOccurs="0" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="courseTypes" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="courseType" type="tns:courseTypeType" 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="tns:courseType" minOccurs="0" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="workgroups" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="workgroup" type="tns:workgroupType" minOccurs="0" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="categories" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="category" type="tns:categoryType" minOccurs="0" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="relations" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="relation" type="tns:mappedRelationType" minOccurs="0" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="roles" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="role" type="tns:roleType" minOccurs="0" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="lecturesToDelete" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="lsfId" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="accountsToDelete" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="lsfId" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="lectureTypesToDelete" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="lsfId" type="xs:string" minOccurs="0" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="accountType"> - <xs:complexContent> - <xs:extension base="tns:mappedEntityType"> - <xs:sequence> - <xs:element name="lsfId" type="xs:string"/> - <xs:element name="surname" type="xs:string"/> - <xs:element name="firstName" type="xs:string"/> - <xs:element name="emailAddress" type="xs:string"/> - <xs:element name="login" type="xs:string"/> - <xs:element name="password" type="xs:string"/> - <xs:element name="globalRole" type="xs:string" minOccurs="0"/> - <xs:element name="degree" type="xs:string" minOccurs="0"/> - <xs:element name="academicTitle" type="xs:string" minOccurs="0"/> - <xs:element name="gender" type="xs:string" minOccurs="0"/> - </xs:sequence> - </xs:extension> - </xs:complexContent> - </xs:complexType> - - <xs:complexType name="mappedEntityType" abstract="true"> - <xs:complexContent> - <xs:extension base="tns:mappedObjectType"> - <xs:sequence/> - </xs:extension> - </xs:complexContent> - </xs:complexType> - - <xs:complexType name="mappedObjectType" abstract="true"> - <xs:sequence> - <xs:element name="busId" type="xs:int"/> - <xs:element name="clientId" type="xs:string" minOccurs="0"/> - <xs:element name="operation" type="xs:string" minOccurs="0"/> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="courseTypeType"> - <xs:complexContent> - <xs:extension base="tns:mappedEntityType"> - <xs:sequence> - <xs:element name="lsfId" type="xs:int"/> - <xs:element name="name" type="xs:string"/> - <xs:element name="shortDescription" type="xs:string" minOccurs="0"/> - <xs:element name="longDescription" type="xs:string" minOccurs="0"/> - </xs:sequence> - </xs:extension> - </xs:complexContent> - </xs:complexType> - - <xs:complexType name="courseType"> - <xs:complexContent> - <xs:extension base="tns:mappedEntityType"> - <xs:sequence> - <xs:element name="dates" minOccurs="0"> - <xs:complexType> - <xs:sequence> - <xs:element name="date" type="tns:dateType" minOccurs="0" maxOccurs="unbounded"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="active" type="xs:string" minOccurs="0"/> - <xs:element name="abbreviation" type="xs:string" minOccurs="0"/> - <xs:element name="lsfId" type="xs:string"/> - <xs:element name="logicalNumber" type="xs:int"/> - <xs:element name="type" type="xs:string" minOccurs="0"/> - <xs:element name="title" type="xs:string"/> - <xs:element name="semesterId" type="xs:string"/> - <xs:element name="clientTitle" type="xs:string" minOccurs="0"/> - <xs:element name="shortDescription" type="xs:string" minOccurs="0"/> - <xs:element name="prerequisites" type="xs:string" minOccurs="0"/> - <xs:element name="necessaryAssignment" type="xs:string" minOccurs="0"/> - <xs:element name="languageISO" type="xs:string" minOccurs="0"/> - <xs:element name="languageFull" type="xs:string" minOccurs="0"/> - <xs:element name="hyperlink" type="xs:string" minOccurs="0"/> - <xs:element name="hyperlinkname" type="xs:string" minOccurs="0"/> - <xs:element name="note" type="xs:string" minOccurs="0"/> - <xs:element name="comment" type="xs:string" minOccurs="0"/> - <xs:element name="semesterAsInt" type="xs:short"/> - <xs:element name="semesterAbbr" type="xs:string" minOccurs="0"/> - <xs:element name="semesterFull" type="xs:string" minOccurs="0"/> - <xs:element name="semesterPeriodsPerWeek" type="xs:int"/> - <xs:element name="expectedRegistrations" type="xs:int"/> - <xs:element name="maximumRegistrations" type="xs:int"/> - <xs:element name="activityConfirmation" type="xs:string" minOccurs="0"/> - <xs:element name="literature" type="xs:string" minOccurs="0"/> - <xs:element name="startDate" type="xs:string" minOccurs="0"/> - <xs:element name="endDate" type="xs:string" minOccurs="0"/> - <xs:element name="superRoleBusId" type="xs:int"/> - <xs:element name="assignmentManagement" type="xs:string" minOccurs="0"/> - <xs:element name="leadingSystemForAssigments" type="xs:string" minOccurs="0"/> - <xs:element name="bookingType" type="xs:string" minOccurs="0"/> - </xs:sequence> - </xs:extension> - </xs:complexContent> - </xs:complexType> - - <xs:complexType name="dateType"> - <xs:sequence> - <xs:element name="dateId" type="xs:int"/> - <xs:element name="startdate" type="xs:string" minOccurs="0"/> - <xs:element name="enddate" type="xs:string" minOccurs="0"/> - <xs:element name="starttime" type="xs:string" minOccurs="0"/> - <xs:element name="endtime" type="xs:string" minOccurs="0"/> - <xs:element name="stct" type="xs:string" minOccurs="0"/> - <xs:element name="dayofweek" type="xs:string" minOccurs="0"/> - <xs:element name="rythm" type="xs:string" minOccurs="0"/> - </xs:sequence> - </xs:complexType> - - <xs:complexType name="workgroupType"> - <xs:complexContent> - <xs:extension base="tns:mappedEntityType"> - <xs:sequence> - <xs:element name="lsfId" type="xs:string"/> - <xs:element name="name" type="xs:string"/> - <xs:element name="room" type="xs:string" minOccurs="0"/> - <xs:element name="semesterId" type="xs:string"/> - <xs:element name="clientTitle" type="xs:string" minOccurs="0"/> - <xs:element name="shortDescription" type="xs:string" minOccurs="0"/> - <xs:element name="languageISO" type="xs:string" minOccurs="0"/> - <xs:element name="maximumRegistrations" type="xs:int"/> - <xs:element name="startDate" type="xs:string" minOccurs="0"/> - <xs:element name="endDate" type="xs:string" minOccurs="0"/> - </xs:sequence> - </xs:extension> - </xs:complexContent> - </xs:complexType> - - <xs:complexType name="categoryType"> - <xs:complexContent> - <xs:extension base="tns:mappedEntityType"> - <xs:sequence> - <xs:element name="name" type="xs:string"/> - <xs:element name="lsfId" type="xs:string"/> - <xs:element name="sort" type="xs:int"/> - <xs:element name="semesterId" type="xs:string"/> - </xs:sequence> - </xs:extension> - </xs:complexContent> - </xs:complexType> - - <xs:complexType name="mappedRelationType"> - <xs:complexContent> - <xs:extension base="tns:mappedObjectType"> - <xs:sequence> - <xs:element name="busParentId" type="xs:int"/> - <xs:element name="busChildId" type="xs:int"/> - <xs:element name="clientChildId" type="xs:string" minOccurs="0"/> - <xs:element name="clientParentId" type="xs:string" minOccurs="0"/> - <xs:element name="relationType" type="xs:string" minOccurs="0"/> - <xs:element name="childSort" type="xs:string" minOccurs="0"/> - </xs:sequence> - </xs:extension> - </xs:complexContent> - </xs:complexType> - - <xs:complexType name="roleType"> - <xs:complexContent> - <xs:extension base="tns:mappedObjectType"> - <xs:sequence> - <xs:element name="name" type="xs:string"/> - <xs:element name="clientAccountId" type="xs:string" minOccurs="0"/> - <xs:element name="clientObjectId" type="xs:string" minOccurs="0"/> - <xs:element name="busAccountId" type="xs:int"/> - <xs:element name="busObjectId" type="xs:int"/> - <xs:element name="roleStatus" type="xs:string" minOccurs="0"/> - </xs:sequence> - </xs:extension> - </xs:complexContent> - </xs:complexType> - <xs:complexType name="resultType"> - <xs:sequence> - <xs:element name="clientId" type="xs:string"/> - <xs:element name="status" type="xs:string"/> - <xs:element name="reason" type="xs:string"/> - </xs:sequence> - </xs:complexType> - <xs:element name="synchronizationMessage" type="tns:synchronizationMessageType"/> -</xs:schema> \ No newline at end of file Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.bpel 2009-04-16 21:46:18 UTC (rev 120) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.bpel 2009-04-16 21:46:36 UTC (rev 121) @@ -8,44 +8,75 @@ 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/"/> - <import namespace="http://j2ee.netbeans.org/wsdl/LSFClientAdapter/XSLTTransform" location="LSFClientAdapter/XSLTTransform.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="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"/> - <variable name="ProcessObjectOperationIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" messageType="tns:ProcessObjectOperationRequest"/> - </variables> - <sequence> - <receive name="receiveObject" createInstance="yes" partnerLink="ClientAdapter" operation="ProcessObjectOperation" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" portType="tns:ObjectProcessorPortType" variable="ProcessObjectOperationIn"> - <sxt:trace> - <sxt:log level="fine" location="onStart"> - <from>'ObjectProcessor called!'</from> - </sxt:log> - </sxt:trace> - </receive> - <assign name="prepareResolveBusId"> - <copy> - <from variable="ProcessObjectOperationIn" part="clientInstanceId"/> - <to variable="ToBusIdOperationIn" part="clientInstanceId"/> - </copy> - <copy> - <from>$ProcessObjectOperationIn.objectMessage/courses/course[1]/clientId</from> - <to variable="ToBusIdOperationIn" part="clientObjectId"/> - </copy> - </assign> - <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> + + <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> Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.wsdl 2009-04-16 21:46:18 UTC (rev 120) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ObjectProcessor.wsdl 2009-04-16 21:46:36 UTC (rev 121) @@ -2,21 +2,53 @@ <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:ns="http://cse.campussource.de/schema/DataTypes" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype"> + 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="file:/home/pete/NetBeansProjects/CSE-IP/LSFClientAdapter/src/DataTypes.xsd"/> + <xsd:import namespace="http://cse.campussource.de/schema/DataTypes" schemaLocation="Common/CDDM.xsd"/> </xsd:schema> </types> - <message name="ProcessObjectOperationRequest"> - <part name="clientInstanceId" type="xsd:long"/> - <part name="objectMessage" type="ns:synchronizationMessageType"/> + <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="ProcessObjectOperation"> - <input name="input1" message="tns:ProcessObjectOperationRequest"/> + <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. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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. |
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-07-23 21:27:54
|
Revision: 361 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=361&view=rev Author: pkasprzak Date: 2009-07-23 21:27:36 +0000 (Thu, 23 Jul 2009) Log Message: ----------- * Stuff :) Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-07-23 21:22:52 UTC (rev 360) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-07-23 21:27:36 UTC (rev 361) @@ -3,4 +3,6 @@ <nextCatalog catalog="nbproject/private/cache/retriever/catalog.xml"/> <system systemId="IdentityMapper/wsdl/IdentityMapperWS/IdentityMapper.wsdl" uri="nb-uri:IdentityMapper#src/conf/wsdl/IdentityMapperWS/IdentityMapper.wsdl"/> <system systemId="Common/CDDM.xsd" uri="nb-uri:Common#src/CDDM.xsd"/> + <system systemId="Common/EntityManager.wsdl" uri="nb-uri:Common#src/EntityManager.wsdl"/> + <system systemId="Common/RelationManager.wsdl" uri="nb-uri:Common#src/RelationManager.wsdl"/> </catalog> Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-07-23 21:22:52 UTC (rev 360) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-07-23 21:27:36 UTC (rev 361) @@ -1,23 +1,54 @@ <?xml version="1.0" encoding="UTF-8"?> -<process - name="AddCourse" - targetNamespace="http://enterprise.netbeans.org/bpel/ObjectProcessor/AddCourse" - xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" - xmlns:xsd="http://www.w3.org/2001/XMLSchema" - xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" - xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" - xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment" - xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" - xmlns:tns="http://enterprise.netbeans.org/bpel/ObjectProcessor/AddCourse"> - <import namespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" location="AddCourse.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> +<process name="AddCourse" + targetNamespace="http://enterprise.netbeans.org/bpel/ObjectProcessor/AddCourse" + xmlns="http://docs.oasis-open.org/wsbpel/2.0/process/executable" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" + xmlns:sxt="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Trace" + xmlns:sxed="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Editor" + xmlns:sxat="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/Attachment" + xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" + xmlns:tns="http://enterprise.netbeans.org/bpel/ObjectProcessor/AddCourse"> + + <import namespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" location="AddCourse.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://cse.campussource.de/ejb/EntityManager" location="Common/EntityManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://cse.campussource.de/ejb/RelationManager" location="Common/RelationManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <partnerLinks> - <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" partnerLinkType="tns:AddCourse" myRole="AddCoursePortTypeRole"/> + <partnerLink name="EntityManager" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" partnerLinkType="tns:EntityManagerLinkType" partnerRole="EntityManagerRole"/> + <partnerLink name="RelationManager" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" partnerLinkType="tns:RelationManagerLinkType" partnerRole="RelationManagerRole"/> + <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" partnerLinkType="tns:AddCourse" myRole="AddCoursePortTypeRole"/> </partnerLinks> + <variables> - <variable name="ProcessCourseIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" messageType="tns:processCourseRequest"/> + <variable name="ExistsOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:existsResponse"/> + <variable name="ExistsIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:exists"/> + <variable name="ProcessCourseIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" messageType="tns:processCourseRequest"/> </variables> + <sequence> - <receive name="start" createInstance="yes" partnerLink="ClientAdapter" operation="processCourse" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" portType="tns:AddCoursePortType" variable="ProcessCourseIn"/> + <receive name="start" createInstance="yes" partnerLink="ClientAdapter" operation="processCourse" + xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" + portType="tns:AddCoursePortType" + variable="ProcessCourseIn"/> +<!-- + <assign name="Assign1"> + <copy> + </assign> +--> + + <invoke name="checkIfAlreadyExists" partnerLink="EntityManager" operation="exists" + xmlns:tns="http://cse.campussource.de/ejb/EntityManager" + portType="tns:EntityManager" + inputVariable="ExistsIn" + outputVariable="ExistsOut"/> + + <if name="If1"> + <condition>1</condition> + <empty name="Empty1"/> + <else> + <empty name="Empty2"/> + </else> + </if> <empty name="saveOrUpdateEntityData"> <documentation>Check entity vs persistence (save / or update [attribute changes?])</documentation> </empty> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-07-27 22:15:37
|
Revision: 382 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=382&view=rev Author: pkasprzak Date: 2009-07-27 22:15:24 +0000 (Mon, 27 Jul 2009) Log Message: ----------- * Stuff :) Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-07-27 22:14:42 UTC (rev 381) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-07-27 22:15:24 UTC (rev 382) @@ -6,4 +6,5 @@ <system systemId="Common/EntityManager.wsdl" uri="nb-uri:Common#src/EntityManager.wsdl"/> <system systemId="Common/RelationManager.wsdl" uri="nb-uri:Common#src/RelationManager.wsdl"/> <system systemId="Common/IdentityManager.wsdl" uri="nb-uri:Common#src/IdentityManager.wsdl"/> + <system systemId="Common/DependencyManagerNotification.wsdl" uri="nb-uri:Common#src/DependencyManagerNotification.wsdl"/> </catalog> Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-07-27 22:14:42 UTC (rev 381) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-07-27 22:15:24 UTC (rev 382) @@ -15,26 +15,37 @@ <import namespace="http://cse.campussource.de/ejb/EntityManager" location="Common/EntityManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <import namespace="http://cse.campussource.de/ejb/RelationManager" location="Common/RelationManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <import namespace="http://cse.campussource.de/ejb/IdentityManager" location="Common/IdentityManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" location="Common/DependencyManagerNotification.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <partnerLinks> + <partnerLink name="EntityManager" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" partnerLinkType="tns:EntityManagerLinkType" + partnerRole="EntityManagerRole"/> - <partnerLinks> - <partnerLink name="EntityManager" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" partnerLinkType="tns:EntityManagerLinkType" partnerRole="EntityManagerRole"/> - <partnerLink name="RelationManager" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" partnerLinkType="tns:RelationManagerLinkType" partnerRole="RelationManagerRole"/> - <partnerLink name="IdentityManager" xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" partnerLinkType="tns:IdentityManagerLinkType" partnerRole="IdentityManagerRole"/> - <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" partnerLinkType="tns:AddCourse" myRole="AddCoursePortTypeRole"/> + <partnerLink name="RelationManager" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" partnerLinkType="tns:RelationManagerLinkType" + partnerRole="RelationManagerRole"/> + + <partnerLink name="IdentityManager" xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" partnerLinkType="tns:IdentityManagerLinkType" + partnerRole="IdentityManagerRole"/> + + <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" partnerLinkType="tns:AddCourse" + myRole="AddCoursePortTypeRole"/> + <partnerLink name="DependencyManager" xmlns:tns="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" partnerLinkType="tns:DependencyManagerNotification" myRole="DependencyManagerNotificationPortTypeRole"/> </partnerLinks> <variables> - <variable name="UpdateAttributesOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:updateAttributesResponse"/> - <variable name="UpdateAttributesIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:updateAttributes"/> - <variable name="CreateMappingIn" xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" messageType="tns:createMapping"/> - <variable name="PersistCourseOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCourseResponse"/> - <variable name="PersistCourseIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCourse"/> - <variable name="ExistsOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:existsResponse"/> - <variable name="ExistsIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:exists"/> - <variable name="ProcessCourseIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" messageType="tns:processCourseRequest"/> + <variable name="NotifyIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" messageType="tns:notifyRequest"/> + <variable name="ProcessCourseRelationsOut" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" messageType="tns:processCourseRelationsResponse"/> + <variable name="ProcessCourseRelationsIn" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" messageType="tns:processCourseRelations"/> + <variable name="UpdateAttributesOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:updateAttributesResponse"/> + <variable name="UpdateAttributesIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:updateAttributes"/> + <variable name="CreateMappingIn" xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" messageType="tns:createMapping"/> + <variable name="PersistCourseOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCourseResponse"/> + <variable name="PersistCourseIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCourse"/> + <variable name="ExistsOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:existsResponse"/> + <variable name="ExistsIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:exists"/> + <variable name="ProcessCourseIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" messageType="tns:processCourseRequest"/> <!-- CSE-id of the course --> - <variable name="CseId" type="xsd:integer"/> + <variable name="CseId" type="xsd:integer"/> </variables> <sequence> @@ -56,7 +67,7 @@ </copy> </assign> - <invoke name="checkIfCourseExists" partnerLink="EntityManager" operation="exists" + <invoke name="checkIfCourseExists" partnerLink="EntityManager" operation="exists" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" portType="tns:EntityManager" inputVariable="ExistsIn" @@ -132,15 +143,15 @@ if not changed => check if relations have changed (if they have => update; else process finished)</documentation> </empty> - - + + <assign name="prepareUpdateAttributes"> <copy> <from>x:doXslTransform('urn:stylesheets:toEntity.xsl', $ProcessCourseIn.courseMessage/dt:course)</from> <to>$UpdateAttributesIn.parameters/entity</to> </copy> </assign> - + <invoke name="updateAttributes" partnerLink="EntityManager" operation="updateAttributes" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" portType="tns:EntityManager" @@ -151,30 +162,44 @@ </if> - <empty name="checkRelations"> - <documentation>check if relations have changed (and persist changes); + <assign name="prepareProcessRelations"> + <copy> + <from>$CseId</from> + <to>$ProcessCourseRelationsIn.parameters/cseId</to> + </copy> + <copy> + <from>$ProcessCourseIn.courseMessage/dt:course</from> + <to>$ProcessCourseRelationsIn.parameters/course</to> + </copy> + <copy> + <from>$ProcessCourseIn.courseMessage/dt:source</from> + <to>$ProcessCourseRelationsIn.parameters/system</to> + </copy> + </assign> -if they have => UPDATE event -else: => keep current event</documentation> - </empty> - <empty name="saveOrUpdateEntityData"> - <documentation>Check entity vs persistence (save / or update [attribute changes?])</documentation> - </empty> - <empty name="handleIds"> - <documentation>Save clientId / generate busId</documentation> - </empty> + <invoke name="processRelations" partnerLink="RelationManager" operation="processCourseRelations" + xmlns:tns="http://cse.campussource.de/ejb/RelationManager" + portType="tns:RelationManager" + inputVariable="ProcessCourseRelationsIn" + outputVariable="ProcessCourseRelationsOut"/> <empty name="checkDeps"> <documentation>Check deps asynchronisly (i.e.) wait for callback, when deps are satisfied IN: OBJ_ID [course], OBJ_TYPE [type] OUT: -> callback </documentation> </empty> - <empty name="loadContext"> - <documentation>Load context for this entity for distribution (e.g. relations / parent objects / paths) and return it as xml (e.g. messages-object)</documentation> - </empty> - <empty name="distributeMessages"> - <documentation>Send courseMessage + context to outboundadapter (synchronisouly)</documentation> - </empty> + <pick name="Pick1"> + <onMessage partnerLink="DependencyManager" operation="notify" xmlns:tns="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" portType="tns:DependencyManagerNotificationPortType" variable="NotifyIn"> + <sequence name="Sequence1"> + <empty name="loadContext"> + <documentation>Load context for this entity for distribution (e.g. relations / parent objects / paths) and return it as xml (e.g. messages-object)</documentation> + </empty> + <empty name="distributeMessages"> + <documentation>Send courseMessage + context to outboundadapter (synchronisouly)</documentation> + </empty> + </sequence> + </onMessage> + </pick> <empty name="finish"/> </sequence> </process> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-07-28 14:38:36
|
Revision: 389 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=389&view=rev Author: pkasprzak Date: 2009-07-28 14:38:25 +0000 (Tue, 28 Jul 2009) Log Message: ----------- * Stuff :) Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-07-28 14:38:15 UTC (rev 388) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-07-28 14:38:25 UTC (rev 389) @@ -7,4 +7,6 @@ <system systemId="Common/RelationManager.wsdl" uri="nb-uri:Common#src/RelationManager.wsdl"/> <system systemId="Common/IdentityManager.wsdl" uri="nb-uri:Common#src/IdentityManager.wsdl"/> <system systemId="Common/DependencyManagerNotification.wsdl" uri="nb-uri:Common#src/DependencyManagerNotification.wsdl"/> + <system systemId="Common/DependencyManager.wsdl" uri="nb-uri:Common#src/DependencyManager.wsdl"/> + <system systemId="Common/SystemManager.wsdl" uri="nb-uri:Common#src/SystemManager.wsdl"/> </catalog> Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-07-28 14:38:15 UTC (rev 388) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-07-28 14:38:25 UTC (rev 389) @@ -9,13 +9,16 @@ xmlns:sxeh="http://www.sun.com/wsbpel/2.0/process/executable/SUNExtension/ErrorHandling" xmlns:x="http://docs.oasis-open.org/wsbpel/2.0/process/executable" xmlns:dt="http://cse.campussource.de/schema/DataTypes" - xmlns:tns="http://enterprise.netbeans.org/bpel/ObjectProcessor/AddCourse"> - - <import namespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" location="AddCourse.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> - <import namespace="http://cse.campussource.de/ejb/EntityManager" location="Common/EntityManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> - <import namespace="http://cse.campussource.de/ejb/RelationManager" location="Common/RelationManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> - <import namespace="http://cse.campussource.de/ejb/IdentityManager" location="Common/IdentityManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> - <import namespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" location="Common/DependencyManagerNotification.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + xmlns:tns="http://enterprise.netbeans.org/bpel/ObjectProcessor/AddCourse" + xmlns:ns0="http://cse.campussource.de/ejb/DependencyManager"> + + <import namespace="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" location="AddCourse.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://cse.campussource.de/ejb/EntityManager" location="Common/EntityManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://cse.campussource.de/ejb/RelationManager" location="Common/RelationManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://cse.campussource.de/ejb/IdentityManager" location="Common/IdentityManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" location="Common/DependencyManagerNotification.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://cse.campussource.de/ejb/DependencyManager" location="Common/DependencyManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://cse.campussource.de/ejb/SystemManager" location="Common/SystemManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <partnerLinks> <partnerLink name="EntityManager" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" partnerLinkType="tns:EntityManagerLinkType" partnerRole="EntityManagerRole"/> @@ -26,13 +29,24 @@ <partnerLink name="IdentityManager" xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" partnerLinkType="tns:IdentityManagerLinkType" partnerRole="IdentityManagerRole"/> + <partnerLink name="DependencyManager" xmlns:tns="http://cse.campussource.de/ejb/DependencyManager" partnerLinkType="tns:DependencyManagerLinkType" + partnerRole="DependencyManagerRole"/> + + <partnerLink name="SystemManager" xmlns:tns="http://cse.campussource.de/ejb/SystemManager" partnerLinkType="tns:SystemManagerLinkType" + partnerRole="SystemManagerRole"/> + <partnerLink name="ClientAdapter" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" partnerLinkType="tns:AddCourse" myRole="AddCoursePortTypeRole"/> - <partnerLink name="DependencyManager" xmlns:tns="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" partnerLinkType="tns:DependencyManagerNotification" myRole="DependencyManagerNotificationPortTypeRole"/> + + <partnerLink name="DependencyManagerNotification" xmlns:tns="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" partnerLinkType="tns:DependencyManagerNotification" + myRole="DependencyManagerNotificationPortTypeRole"/> </partnerLinks> <variables> - <variable name="NotifyIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" messageType="tns:notifyRequest"/> + <variable name="GetOutboundSystemsOut" xmlns:tns="http://cse.campussource.de/ejb/SystemManager" messageType="tns:getOutboundSystemsResponse"/> + <variable name="GetOutboundSystemsIn" xmlns:tns="http://cse.campussource.de/ejb/SystemManager" messageType="tns:getOutboundSystems"/> + <variable name="WaitForDependenciesIn" xmlns:tns="http://cse.campussource.de/ejb/DependencyManager" messageType="tns:waitForDependencies"/> + <variable name="NotifyIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" messageType="tns:notifyRequest"/> <variable name="ProcessCourseRelationsOut" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" messageType="tns:processCourseRelationsResponse"/> <variable name="ProcessCourseRelationsIn" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" messageType="tns:processCourseRelations"/> <variable name="UpdateAttributesOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:updateAttributesResponse"/> @@ -48,6 +62,10 @@ <variable name="CseId" type="xsd:integer"/> </variables> + <correlationSets> + <correlationSet name="DependencyManager" properties="ns0:EntityId"/> + </correlationSets> + <sequence> <receive name="start" createInstance="yes" partnerLink="ClientAdapter" operation="processCourse" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" @@ -182,15 +200,35 @@ portType="tns:RelationManager" inputVariable="ProcessCourseRelationsIn" outputVariable="ProcessCourseRelationsOut"/> - <empty name="checkDeps"> - <documentation>Check deps asynchronisly (i.e.) wait for callback, when deps are satisfied -IN: OBJ_ID [course], OBJ_TYPE [type] -OUT: -> callback - </documentation> - </empty> - <pick name="Pick1"> - <onMessage partnerLink="DependencyManager" operation="notify" xmlns:tns="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" portType="tns:DependencyManagerNotificationPortType" variable="NotifyIn"> - <sequence name="Sequence1"> + + <assign name="prepareWaitForDependencies"> + <copy> + <from>$CseId</from> + <to>$WaitForDependenciesIn.parameters/entityId</to> + </copy> + </assign> + + <invoke name="waitForDependencies" partnerLink="DependencyManager" operation="waitForDependencies" + xmlns:tns="http://cse.campussource.de/ejb/DependencyManager" + portType="tns:DependencyManager" + inputVariable="WaitForDependenciesIn"/> + <assign name="prepareGetOutboundSystems"> + <!-- Nothing to do! --> + <copy> + <from></from> + <to>$GetOutboundSystemsIn.parameters</to> + </copy> + </assign> + + <invoke name="getOutboundSystems" partnerLink="SystemManager" operation="getOutboundSystems" + xmlns:tns="http://cse.campussource.de/ejb/SystemManager" + portType="tns:SystemManager" + inputVariable="GetOutboundSystemsIn" + outputVariable="GetOutboundSystemsOut"/> + <forEach name="ForEach1" parallel="no" counterName="ForEach1Counter"> + <scope name="Scope1"> + <sequence name="Sequence2"> + <receive name="Receive1" createInstance="no" partnerLink="DependencyManagerNotification" operation="notify" xmlns:tns="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" portType="tns:DependencyManagerNotificationPortType" variable="NotifyIn"/> <empty name="loadContext"> <documentation>Load context for this entity for distribution (e.g. relations / parent objects / paths) and return it as xml (e.g. messages-object)</documentation> </empty> @@ -198,8 +236,8 @@ <documentation>Send courseMessage + context to outboundadapter (synchronisouly)</documentation> </empty> </sequence> - </onMessage> - </pick> + </scope> + </forEach> <empty name="finish"/> </sequence> </process> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-07-31 09:39:05
|
Revision: 410 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=410&view=rev Author: pkasprzak Date: 2009-07-31 09:38:55 +0000 (Fri, 31 Jul 2009) Log Message: ----------- * Use LoggingManager for logging * Fixes of 'update'-path Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel Added Paths: ----------- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/prepareUpdateAttributesCall.xsl Removed Paths: ------------- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/toEntity.xsl Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-07-30 18:17:08 UTC (rev 409) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-07-31 09:38:55 UTC (rev 410) @@ -9,4 +9,5 @@ <system systemId="Common/DependencyManagerNotification.wsdl" uri="nb-uri:Common#src/DependencyManagerNotification.wsdl"/> <system systemId="Common/DependencyManager.wsdl" uri="nb-uri:Common#src/DependencyManager.wsdl"/> <system systemId="Common/SystemManager.wsdl" uri="nb-uri:Common#src/SystemManager.wsdl"/> + <system systemId="Common/LoggingManager.wsdl" uri="nb-uri:Common#src/LoggingManager.wsdl"/> </catalog> Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-07-30 18:17:08 UTC (rev 409) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-07-31 09:38:55 UTC (rev 410) @@ -21,9 +21,14 @@ <import namespace="http://j2ee.netbeans.org/wsdl/Common/DependencyManagerNotification" location="Common/DependencyManagerNotification.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> --> - <import namespace="http://cse.campussource.de/ejb/DependencyManager" location="Common/DependencyManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/><import namespace="http://cse.campussource.de/ejb/SystemManager" location="Common/SystemManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://cse.campussource.de/ejb/DependencyManager" location="Common/DependencyManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://cse.campussource.de/ejb/SystemManager" location="Common/SystemManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://cse.campussource.de/ejb/LoggingManager" location="Common/LoggingManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <partnerLinks> + <partnerLink name="LoggingManager" xmlns:tns="http://cse.campussource.de/ejb/LoggingManager" partnerLinkType="tns:LoggingManagerLinkType" + partnerRole="LoggingManagerRole"/> + <partnerLink name="EntityManager" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" partnerLinkType="tns:EntityManagerLinkType" partnerRole="EntityManagerRole"/> @@ -59,8 +64,12 @@ <variable name="ExistsIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:exists"/> <variable name="ProcessCourseIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" messageType="tns:processCourseRequest"/> + <!-- Logging --> + <variable name="DebugIn" xmlns:tns="http://cse.campussource.de/ejb/LoggingManager" messageType="tns:debug"/> + <!-- CSE-id of the course --> <variable name="CseId" type="xsd:integer"/> + </variables> <correlationSets> @@ -72,6 +81,13 @@ xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/AddCourse" portType="tns:AddCoursePortType" variable="ProcessCourseIn"/> + <assign name="init"> + <!-- Init logging --> + <copy> + <from>'ObjectProcessor:AddCourse'</from> + <to>$DebugIn.parameters/process</to> + </copy> + </assign> <assign name="prepareCheckIfAlreadyExists"> <!-- Set system --> @@ -153,6 +169,13 @@ <else> <sequence name="CourseAlreadyExists"> + <assign name="setCseId"> + <copy> + <from variable="CseId"/> + <to>$ProcessCourseIn.courseMessage/dt:course/dt:busId</to> + </copy> + </assign> + <empty name="peristUpdatedAttributes"> <documentation>-> EntityManager: persist any attributes that have changed and report if attributes have changed @@ -166,8 +189,8 @@ <assign name="prepareUpdateAttributes"> <copy> - <from>x:doXslTransform('urn:stylesheets:toEntity.xsl', $ProcessCourseIn.courseMessage/dt:course)</from> - <to>$UpdateAttributesIn.parameters/entity</to> + <from>x:doXslTransform('urn:stylesheets:prepareUpdateAttributesCall.xsl', $ProcessCourseIn.courseMessage/dt:course)</from> + <to>$UpdateAttributesIn.parameters</to> </copy> </assign> @@ -230,29 +253,24 @@ </copy> </assign> - <empty> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <ns0:from>'*** Before getOutboundSystems()'</ns0:from> - </sxt:log> - </sxt:trace> - </empty> - <invoke name="getOutboundSystems" partnerLink="SystemManager" operation="getOutboundSystems" xmlns:tns="http://cse.campussource.de/ejb/SystemManager" portType="tns:SystemManager" inputVariable="GetOutboundSystemsIn" outputVariable="GetOutboundSystemsOut"/> - <!-- test --> - <empty> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <ns0:from>concat('*** After getOutboundSystems():', sxxf:doMarshal($GetOutboundSystemsOut.parameters))</ns0:from> - </sxt:log> - </sxt:trace> - </empty> + <assign> + <copy> + <from>concat('Outbound-systems: ', sxxf:doMarshal($GetOutboundSystemsOut.parameters))</from> + <to>$DebugIn.parameters/message</to> + </copy> + </assign> + <invoke partnerLink="LoggingManager" operation="debug" + xmlns:tns="http://cse.campussource.de/ejb/LoggingManager" + portType="tns:LoggingManager" + inputVariable="DebugIn"/> + <forEach name="Distribute" parallel="no" counterName="SystemCounter"> <startCounterValue>1</startCounterValue> @@ -261,35 +279,37 @@ <scope name="SystemScope"> <variables> + <variable name="NotifyIn" messageType="ns0:notifyRequest"/> <variable name="System" type="xsd:string"/> <variable name="EntityId" type="xsd:int"/> </variables> - <sequence name="Sequence2"> + <sequence> + <assign> + <copy> + <from>'Waiting for notification...'</from> + <to>$DebugIn.parameters/message</to> + </copy> + </assign> + + <invoke partnerLink="LoggingManager" operation="debug" + xmlns:tns="http://cse.campussource.de/ejb/LoggingManager" + portType="tns:LoggingManager" + inputVariable="DebugIn"/> + <receive name="receiveNotification" createInstance="no" partnerLink="DependencyManager" operation="notify" portType="ns0:DependencyManagerNotification" variable="NotifyIn"> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <ns0:from>concat('*** Waiting for notification...', '')</ns0:from> - </sxt:log> - </sxt:trace> - <correlations> <correlation set="DependencyManager" initiate="no"/> </correlations> </receive> <assign name="setSystem"> - <sxt:trace> - <sxt:log level="info" location="onComplete"> - <ns0:from>concat('*** Received notification: (', $System, ',', $EntityId, ')')</ns0:from> - </sxt:log> - </sxt:trace> <copy> <from>$NotifyIn.system</from> <to>$System</to> @@ -300,6 +320,19 @@ </copy> </assign> + <assign> + <copy> + <from>concat('Received notification: (', $System, ',', $EntityId, ')')</from> + <to>$DebugIn.parameters/message</to> + </copy> + </assign> + + <invoke partnerLink="LoggingManager" operation="debug" + xmlns:tns="http://cse.campussource.de/ejb/LoggingManager" + portType="tns:LoggingManager" + inputVariable="DebugIn"/> + + <empty name="loadContext"> <documentation>Load context for this entity for distribution (e.g. relations / parent objects / paths) and return it as xml (e.g. messages-object)</documentation> </empty> @@ -311,6 +344,18 @@ </sequence> </scope> </forEach> - <empty name="finish"/> + + <assign> + <copy> + <from>concat('Process finished (', $CseId, ')')</from> + <to>$DebugIn.parameters/message</to> + </copy> + </assign> + + <invoke partnerLink="LoggingManager" operation="debug" + xmlns:tns="http://cse.campussource.de/ejb/LoggingManager" + portType="tns:LoggingManager" + inputVariable="DebugIn"/> + </sequence> </process> Copied: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/prepareUpdateAttributesCall.xsl (from rev 375, trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/toEntity.xsl) =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/prepareUpdateAttributesCall.xsl (rev 0) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/prepareUpdateAttributesCall.xsl 2009-07-31 09:38:55 UTC (rev 410) @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<!-- + Document : toEntity.xsl.xsl + Created on : 24. Juli 2009, 11:24 + Author : pete + Description: + Purpose of transformation follows. +--> + +<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:dt="http://cse.campussource.de/schema/DataTypes" + xmlns:em="http://cse.campussource.de/ejb/EntityManager" + xmlns="http://cse.campussource.de/schema/DataTypes" + version="1.0"> + + <xsl:output method="xml" + media-type="text/xml" + indent="yes" + encoding="UTF-8" + omit-xml-declaration="no"/> + + <xsl:template match="/"> + <xsl:element name="updateAttributes" namespace="http://cse.campussource.de/ejb/EntityManager"> + <xsl:element name="entity" namespace=""> + <xsl:copy-of select="//dt:busId"/> + <xsl:copy-of select="//dt:eventTime"/> + <xsl:copy-of select="//dt:attribute"/> + </xsl:element> + </xsl:element> + </xsl:template> + +</xsl:stylesheet> Deleted: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/toEntity.xsl =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/toEntity.xsl 2009-07-30 18:17:08 UTC (rev 409) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/toEntity.xsl 2009-07-31 09:38:55 UTC (rev 410) @@ -1,30 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> - -<!-- - Document : toEntity.xsl.xsl - Created on : 24. Juli 2009, 11:24 - Author : pete - Description: - Purpose of transformation follows. ---> - -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:dt="http://cse.campussource.de/schema/DataTypes" - xmlns="http://cse.campussource.de/schema/DataTypes" - version="1.0"> - - <xsl:output method="xml" - media-type="text/xml" - indent="yes" - encoding="UTF-8" - omit-xml-declaration="no"/> - - <xsl:template match="/"> - <xsl:element name="entity"> - <xsl:copy-of select="//dt:busId"/> - <xsl:copy-of select="//dt:eventTime"/> - <xsl:copy-of select="//dt:attribute"/> - </xsl:element> - </xsl:template> - -</xsl:stylesheet> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pka...@us...> - 2009-08-02 23:08:20
|
Revision: 434 http://cse-ip.svn.sourceforge.net/cse-ip/?rev=434&view=rev Author: pkasprzak Date: 2009-08-02 23:08:12 +0000 (Sun, 02 Aug 2009) Log Message: ----------- * Important Stuff :) Modified Paths: -------------- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCategory.bpel trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel Removed 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/ReplyProcessor.bpel trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.wsdl Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-08-02 23:06:46 UTC (rev 433) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/catalog.xml 2009-08-02 23:08:12 UTC (rev 434) @@ -6,8 +6,8 @@ <system systemId="Common/EntityManager.wsdl" uri="nb-uri:Common#src/EntityManager.wsdl"/> <system systemId="Common/RelationManager.wsdl" uri="nb-uri:Common#src/RelationManager.wsdl"/> <system systemId="Common/IdentityManager.wsdl" uri="nb-uri:Common#src/IdentityManager.wsdl"/> - <system systemId="Common/DependencyManagerNotification.wsdl" uri="nb-uri:Common#src/DependencyManagerNotification.wsdl"/> - <system systemId="Common/DependencyManager.wsdl" uri="nb-uri:Common#src/DependencyManager.wsdl"/> <system systemId="Common/SystemManager.wsdl" uri="nb-uri:Common#src/SystemManager.wsdl"/> <system systemId="Common/LoggingManager.wsdl" uri="nb-uri:Common#src/LoggingManager.wsdl"/> + <system systemId="Common/DependencyManager.wsdl" uri="nb-uri:Common#src/DependencyManager.wsdl"/> + <system systemId="Common/OutboundAdapter.wsdl" uri="nb-uri:Common#src/OutboundAdapter.wsdl"/> </catalog> Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCategory.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCategory.bpel 2009-08-02 23:06:46 UTC (rev 433) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCategory.bpel 2009-08-02 23:08:12 UTC (rev 434) @@ -21,6 +21,7 @@ <import namespace="http://cse.campussource.de/ejb/DependencyManager" location="Common/DependencyManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <import namespace="http://cse.campussource.de/ejb/SystemManager" location="Common/SystemManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <import namespace="http://cse.campussource.de/ejb/LoggingManager" location="Common/LoggingManager.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> + <import namespace="http://cse.campussource.de/wsdl/Common/OutboundAdapter" location="Common/OutboundAdapter.wsdl" importType="http://schemas.xmlsoap.org/wsdl/"/> <partnerLinks> <partnerLink name="LoggingManager" xmlns:tns="http://cse.campussource.de/ejb/LoggingManager" partnerLinkType="tns:LoggingManagerLinkType" @@ -35,13 +36,15 @@ <partnerLink name="IdentityManager" xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" partnerLinkType="tns:IdentityManagerLinkType" partnerRole="IdentityManagerRole"/> - <partnerLink name="DependencyManager" xmlns:tns="http://cse.campussource.de/ejb/DependencyManager" partnerLinkType="tns:DependencyManagerLinkType" - myRole="DependencyManager_Requestor" + <partnerLink name="DependencyManager" partnerLinkType="ns0:DependencyManagerCategoryLinkType" myRole="DependencyManager_Receiver" partnerRole="DependencyManager_Provider"/> <partnerLink name="SystemManager" xmlns:tns="http://cse.campussource.de/ejb/SystemManager" partnerLinkType="tns:SystemManagerLinkType" partnerRole="SystemManagerRole"/> + <partnerLink name="OutboundAdapter" xmlns:tns="http://cse.campussource.de/wsdl/Common/OutboundAdapter" partnerLinkType="tns:OutboundAdapter" + partnerRole="OutboundAdapterPortTypeRole"/> + <partnerLink name="ClientAdapter" xmlns:tns="http://cse.campussource.de/wsdl/ObjectProcessor/AddCategory" partnerLinkType="tns:AddCategory" myRole="AddCategoryPortTypeRole"/> </partnerLinks> @@ -49,16 +52,23 @@ <variables> <variable name="GetOutboundSystemsOut" xmlns:tns="http://cse.campussource.de/ejb/SystemManager" messageType="tns:getOutboundSystemsResponse"/> <variable name="GetOutboundSystemsIn" xmlns:tns="http://cse.campussource.de/ejb/SystemManager" messageType="tns:getOutboundSystems"/> + <variable name="WaitForDependenciesIn" xmlns:tns="http://cse.campussource.de/ejb/DependencyManager" messageType="tns:waitForDependencies"/> + <variable name="ProcessCategoryRelationsOut" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" messageType="tns:processCategoryRelationsResponse"/> <variable name="ProcessCategoryRelationsIn" xmlns:tns="http://cse.campussource.de/ejb/RelationManager" messageType="tns:processCategoryRelations"/> + <variable name="UpdateAttributesOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:updateAttributesResponse"/> <variable name="UpdateAttributesIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:updateAttributes"/> + <variable name="CreateMappingIn" xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" messageType="tns:createMapping"/> + <variable name="PersistCategoryOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCategoryResponse"/> <variable name="PersistCategoryIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:persistCategory"/> + <variable name="ExistsOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:existsResponse"/> <variable name="ExistsIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:exists"/> + <variable name="ProcessCategoryIn" xmlns:tns="http://cse.campussource.de/wsdl/ObjectProcessor/AddCategory" messageType="tns:processCategoryRequest"/> <!-- Logging --> @@ -71,7 +81,7 @@ </variables> <correlationSets> - <correlationSet name="DependencyManager" properties="ns0:EntityId"/> + <correlationSet name="DependencyManagerCategory" properties="ns0:EntityId"/> </correlationSets> <sequence> @@ -281,15 +291,39 @@ </copy> </assign> + <assign> + <copy> + <from>'Before waitForDependencies()'</from> + <to>$DebugIn.parameters/message</to> + </copy> + </assign> + <invoke partnerLink="LoggingManager" operation="debug" + xmlns:tns="http://cse.campussource.de/ejb/LoggingManager" + portType="tns:LoggingManager" + inputVariable="DebugIn"/> + <invoke name="waitForDependencies" partnerLink="DependencyManager" operation="waitForDependencies" xmlns:tns="http://cse.campussource.de/ejb/DependencyManager" portType="tns:DependencyManager" inputVariable="WaitForDependenciesIn"> <correlations> - <correlation set="DependencyManager" initiate="yes"/> + <correlation set="DependencyManagerCategory" initiate="yes"/> </correlations> </invoke> + + <assign> + <copy> + <from>'After waitForDependencies()'</from> + <to>$DebugIn.parameters/message</to> + </copy> + </assign> + <invoke partnerLink="LoggingManager" operation="debug" + xmlns:tns="http://cse.campussource.de/ejb/LoggingManager" + portType="tns:LoggingManager" + inputVariable="DebugIn"/> + + <!-- Nothing to do! --> <assign name="prepareGetOutboundSystems"> <copy> @@ -328,6 +362,9 @@ <scope name="SystemScope"> <variables> + <variable name="SatisfyDependenciesIn" messageType="ns0:satisfyDependencies"/> + <variable name="OutboundProcessCategoryOut" xmlns:tns="http://cse.campussource.de/wsdl/Common/OutboundAdapter" messageType="tns:ProcessCategoryOperationResponse"/> + <variable name="OutboundProcessCategoryIn" xmlns:tns="http://cse.campussource.de/wsdl/Common/OutboundAdapter" messageType="tns:ProcessCategoryOperationRequest"/> <variable name="GetCategoryContextOut" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:getCategoryContextResponse"/> <variable name="GetCategoryContextIn" xmlns:tns="http://cse.campussource.de/ejb/EntityManager" messageType="tns:getCategoryContext"/> <variable name="NotifyIn" messageType="ns0:notifyRequest"/> @@ -352,10 +389,10 @@ <receive name="receiveNotification" createInstance="no" partnerLink="DependencyManager" operation="notify" - portType="ns0:DependencyManagerNotification" + portType="ns0:DependencyManagerCategoryNotification" variable="NotifyIn"> <correlations> - <correlation set="DependencyManager" initiate="no"/> + <correlation set="DependencyManagerCategory" initiate="no"/> </correlations> </receive> @@ -400,10 +437,95 @@ inputVariable="GetCategoryContextIn" outputVariable="GetCategoryContextOut"/> - <empty name="distributeMessages"> - <documentation>Send categoryMessage + context to outboundadapter (synchronisouly)</documentation> - </empty> + <assign name="prepareProcessCategory"> + <!-- Initialize xml skeleton --> + <copy> + <from> + <literal> + <categoryMessage xmlns:dt="http://cse.campussource.de/schema/DataTypes"> + <dt:eventTime/> + <dt:event/> + <dt:source/> + <dt:target/> + <dt:category/> + </categoryMessage> + </literal> + </from> + <to>$OutboundProcessCategoryIn.categoryMessage</to> + </copy> + + <!-- Set event --> + <copy> + <from variable="Event"/> + <to>$OutboundProcessCategoryIn.categoryMessage/dt:event</to> + </copy> + + <!-- Set source system --> + <copy> + <from>'Core'</from> + <to>$OutboundProcessCategoryIn.categoryMessage/dt:source</to> + </copy> + + <!-- Set target system --> + <copy> + <from variable="System"/> + <to>$OutboundProcessCategoryIn.categoryMessage/dt:target</to> + </copy> + + <!-- Set course data --> + <copy> + <from>$GetCategoryContextOut.parameters/return</from> + <to>$OutboundProcessCategoryIn.categoryMessage/dt:category</to> + </copy> + </assign> + + <invoke name="processCategory" partnerLink="OutboundAdapter" + operation="processCategory" + xmlns:tns="http://cse.campussource.de/wsdl/Common/OutboundAdapter" + portType="tns:OutboundAdapterPortType" + inputVariable="OutboundProcessCategoryIn" + outputVariable="OutboundProcessCategoryOut"/> + + <assign name="prepareCreateMapping"> + <!-- Set cse-id --> + <copy> + <from variable="EntityId"/> + <to>$CreateMappingIn.parameters/cseId/text()</to> + </copy> + <!-- Set system --> + <copy> + <from variable="System"/> + <to>$CreateMappingIn.parameters/system</to> + </copy> + <!-- Set id of the object in the system --> + <copy> + <from>$OutboundProcessCategoryOut.eventReply/dt:objectClientId</from> + <to>$CreateMappingIn.parameters/systemId</to> + </copy> + </assign> + + <invoke name="createMapping" partnerLink="IdentityManager" + operation="createMapping" + xmlns:tns="http://cse.campussource.de/ejb/IdentityManager" + portType="tns:IdentityManager" + inputVariable="CreateMappingIn"/> + <assign name="prepareSatisfyDependencies"> + <copy> + <from variable="System"/> + <to>$SatisfyDependenciesIn.parameters/system</to> + </copy> + <copy> + <from variable="EntityId"/> + <to>$SatisfyDependenciesIn.parameters/entityId</to> + </copy> + </assign> + + <invoke name="satisfyDependencies" partnerLink="DependencyManager" + operation="satisfyDependencies" + portType="ns0:DependencyManager" + inputVariable="SatisfyDependenciesIn"/> + </sequence> </scope> </forEach> Modified: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-08-02 23:06:46 UTC (rev 433) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/AddCourse.bpel 2009-08-02 23:08:12 UTC (rev 434) @@ -444,6 +444,17 @@ </copy> </assign> + <assign> + <copy> + <from>concat('courseMessage: ', sxxf:doMarshal($OutboundProcessCourseIn.courseMessage))</from> + <to>$DebugIn.parameters/message</to> + </copy> + </assign> + <invoke partnerLink="LoggingManager" operation="debug" + xmlns:tns="http://cse.campussource.de/ejb/LoggingManager" + portType="tns:LoggingManager" + inputVariable="DebugIn"/> + <invoke name="processCourse" partnerLink="OutboundAdapter" operation="processCourse" xmlns:tns="http://cse.campussource.de/wsdl/Common/OutboundAdapter" Deleted: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel 2009-08-02 23:06:46 UTC (rev 433) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.bpel 2009-08-02 23:08:12 UTC (rev 434) @@ -1,138 +0,0 @@ -<?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: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:dt="http://cse.campussource.de/schema/DataTypes" - 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://cse.campussource.de/schema/DataTypes" location="Common/CDDM.xsd" importType="http://www.w3.org/2001/XMLSchema"/> - - <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="ProcessCategoryEventIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" messageType="tns:ProcessCategoryEventRequest"/> - <variable name="ProcessCourseEventIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" messageType="tns:ProcessCourseEventRequest"/> - <variable name="ProcessAccountEventIn" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" messageType="tns:ProcessAccountEventRequest"/> - - <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="processCourseEvent" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" - portType="tns:ObjectProcessorPortType" - variable="ProcessCourseEventIn"> - <sequence> - <assign name="prepareResolveBusIdForCourse"> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <ns0:from>concat('*** Course: ', sxxf:doMarshal($ProcessCourseEventIn.courseMessage))</ns0:from> - </sxt:log> - </sxt:trace> -<!-- - <copy> - <from>$ProcessCourseEventIn.courseMessage/dt:source</from> - <to>$ToBusIdOperationIn.clientInstanceId</to> - </copy> ---> - <copy> - <from>1</from> - <to>$ToBusIdOperationIn.clientInstanceId</to> - </copy> - <copy> - <from>$ProcessCourseEventIn.courseMessage/dt:course/dt:attribute[dt:name = 'clientId']/dt:value</from> - <to>$ToBusIdOperationIn.clientObjectId</to> - </copy> - </assign> - </sequence> - </onMessage> - - <onMessage partnerLink="ClientAdapter" operation="processCategoryEvent" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" - portType="tns:ObjectProcessorPortType" - variable="ProcessCategoryEventIn"> - <sequence> - <assign name="prepareResolveBusIdForCategory"> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <ns0:from>concat('*** Category: ', sxxf:doMarshal($ProcessCategoryEventIn.categoryMessage))</ns0:from> - </sxt:log> - </sxt:trace> -<!-- - <copy> - <from>$ProcessCategoryEventIn.categoryMessage/dt:source</from> - <to>$ToBusIdOperationIn.clientInstanceId</to> - </copy> ---> - <copy> - <from>1</from> - <to>$ToBusIdOperationIn.clientInstanceId</to> - </copy> - <copy> - <from>$ProcessCategoryEventIn.categoryMessage/dt:category/dt:attribute[dt:name = 'clientId']/dt:value</from> - <to>$ToBusIdOperationIn.clientObjectId</to> - </copy> - </assign> - </sequence> - </onMessage> - - <onMessage partnerLink="ClientAdapter" operation="processAccountEvent" xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ObjectProcessor" - portType="tns:ObjectProcessorPortType" - variable="ProcessAccountEventIn"> - <sequence> - <assign name="prepareResolveBusIdForAccount"> - <sxt:trace> - <sxt:log level="info" location="onStart"> - <ns0:from>concat('*** Account: ', sxxf:doMarshal($ProcessAccountEventIn.accountMessage))</ns0:from> - </sxt:log> - </sxt:trace> -<!-- - <copy> - <from>$ProcessAccountEventIn.accountMessage/dt:source</from> - <to>$ToBusIdOperationIn.clientInstanceId</to> - </copy> ---> - <copy> - <from>1</from> - <to>$ToBusIdOperationIn.clientInstanceId</to> - </copy> - <copy> - <from>$ProcessAccountEventIn.accountMessage/dt:account/dt:attribute[dt:name = 'clientId']/dt:value</from> - <to>$ToBusIdOperationIn.clientObjectId</to> - </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/InboundObjectProcessor.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.wsdl 2009-08-02 23:06:46 UTC (rev 433) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/InboundObjectProcessor.wsdl 2009-08-02 23:08:12 UTC (rev 434) @@ -1,66 +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="ProcessCourseEventRequest"> - <part name="courseMessage" type="dt:courseMessageType"/> - </message> - <message name="ProcessCategoryEventRequest"> - <part name="categoryMessage" type="dt:categoryMessageType"/> - </message> - <message name="ProcessAccountEventRequest"> - <part name="accountMessage" type="dt:accountMessageType"/> - </message> - <portType name="ObjectProcessorPortType"> - <operation name="processCourseEvent"> - <input name="input1" message="tns:ProcessCourseEventRequest"/> - </operation> - <operation name="processCategoryEvent"> - <input name="input2" message="tns:ProcessCategoryEventRequest"/> - </operation> - <operation name="processAccountEvent"> - <input name="input3" message="tns:ProcessAccountEventRequest"/> - </operation> - </portType> - <binding name="ObjectProcessorPortTypeBinding" type="tns:ObjectProcessorPortType"> - <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> - <operation name="processCourseEvent"> - <soap:operation/> - <input name="input1"> - <soap:body use="literal"/> - </input> - </operation> - <operation name="processCategoryEvent"> - <soap:operation/> - <input name="input2"> - <soap:body use="literal"/> - </input> - </operation> - <operation name="processAccountEvent"> - <soap:operation/> - <input name="input3"> - <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/ReplyProcessor.bpel =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.bpel 2009-08-02 23:06:46 UTC (rev 433) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.bpel 2009-08-02 23:08:12 UTC (rev 434) @@ -1,39 +0,0 @@ -<?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: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"/> - </partnerLinks> - <variables> - <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" - xmlns:tns="http://j2ee.netbeans.org/wsdl/ObjectProcessor/ReplyProcessor" - portType="tns:ReplyProcessorPortType" - variable="ProcessReplyIn"/> - - <empty name="debugReply"> - <sxt:trace> - <sxt:log level="info" location="onComplete"> - <from>concat('*** Recieved reply: ', sxxf:doMarshal($ProcessReplyIn.eventReply))</from> - </sxt:log> - </sxt:trace> - </empty> - - </sequence> -</process> Deleted: trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.wsdl =================================================================== --- trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.wsdl 2009-08-02 23:06:46 UTC (rev 433) +++ trunk/sandbox/lsf-adapter-demo/ObjectProcessor/src/ReplyProcessor.wsdl 2009-08-02 23:08:12 UTC (rev 434) @@ -1,25 +0,0 @@ -<?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="eventReply" element="ns:eventReplyMessage"/> - </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. |