You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hise-commits@incubator.apache.org by rr...@apache.org on 2010/01/27 15:27:52 UTC

svn commit: r903682 [2/2] - in /incubator/hise/trunk: ./ hise-distro/ hise-distro/src/ hise-distro/src/distro/ hise-distro/src/distro/examples/ hise-distro/src/distro/examples/claimsHandling/ hise-distro/src/main/

Added: incubator/hise/trunk/hise-distro/src/distro/examples/claimsHandling/claimsHandling.xml
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-distro/src/distro/examples/claimsHandling/claimsHandling.xml?rev=903682&view=auto
==============================================================================
--- incubator/hise/trunk/hise-distro/src/distro/examples/claimsHandling/claimsHandling.xml (added)
+++ incubator/hise/trunk/hise-distro/src/distro/examples/claimsHandling/claimsHandling.xml Wed Jan 27 15:27:51 2010
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- 
+     An example Human Task, which handles customer claims.
+ -->
+<htd:humanInteractions xmlns:htd="http://www.example.org/WS-HT"
+    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+    xmlns:tns="http://www.insurance.example.com/claims/"
+    targetNamespace="http://www.insurance.example.com/claims/"
+    xsi:schemaLocation="http://www.example.org/WS-HT file:/usr/share/schemas/ws-humantask.xsd">
+    
+    <htd:import importType="http://schemas.xmlsoap.org/wsdl/" location="ExampleTasks.wsdl" namespace="http://www.insurance.example.com/claims/"/>
+
+    <htd:tasks>
+        <htd:task name="ClaimsHandlingTask">
+            <htd:documentation xml:lang="en-US">This task is used to handle claims that require manual approval. </htd:documentation>
+            <htd:interface portType="tns:ClaimsHandlingPT" operation="approve" responsePortType="tns:ClaimsHandlingPT" responseOperation="resolve"/>
+            <htd:priority> htd:getInput("ClaimApprovalRequest")/priority </htd:priority>
+            <htd:peopleAssignments>
+            	<htd:potentialOwners>
+                  <htd:from>
+                    <htd:literal>
+                        <htd:organizationalEntity>
+                            <htd:users>
+                                <htd:user>user1</htd:user>
+                            </htd:users>
+                        </htd:organizationalEntity>
+                    </htd:literal>
+                  </htd:from>
+                </htd:potentialOwners>
+            </htd:peopleAssignments>
+            
+            <htd:delegation potentialDelegatees="nobody"/>
+            
+            <htd:presentationElements>
+                <htd:name xml:lang="en-US"> Approve Claim </htd:name>
+                <htd:presentationParameters>
+                    <htd:presentationParameter name="firstname" type="xsd:string">
+                        htd:getInput("ClaimApprovalRequest")/cust/firstname </htd:presentationParameter>
+                    <htd:presentationParameter name="lastname" type="xsd:string">
+                        htd:getInput("ClaimApprovalRequest")/cust/lastname </htd:presentationParameter>
+                    <htd:presentationParameter name="euroAmount" type="xsd:double">
+                        htd:getInput("ClaimApprovalRequest")/amount </htd:presentationParameter>
+                </htd:presentationParameters>
+                <htd:subject xml:lang="en-US"> Approve the insurance claim for PLN $euroAmount$ on behalf of $firstname$ $lastname$ </htd:subject>
+                <htd:description xml:lang="en-US" contentType="text/plain"> Approve this claim following corporate guideline #4711.0815/7 ... </htd:description>
+            </htd:presentationElements>
+            
+            <htd:outcome>
+                <![CDATA[
+                  <cla:resolve xmlns:cla="http://www.insurance.example.com/claims" xmlns:htd="http://www.example.org/WS-HT">
+                     <claimId>{htd:getInput("request")/ClaimApprovalRequest/cla:cust/cla:id/text()}</claimId>
+                     <ok>{$outcome}</ok>
+                  </cla:resolve>
+                ]]>
+            </htd:outcome>
+        </htd:task>    
+    </htd:tasks>    
+</htd:humanInteractions>

Propchange: incubator/hise/trunk/hise-distro/src/distro/examples/claimsHandling/claimsHandling.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Added: incubator/hise/trunk/hise-distro/src/main/bin.xml
URL: http://svn.apache.org/viewvc/incubator/hise/trunk/hise-distro/src/main/bin.xml?rev=903682&view=auto
==============================================================================
--- incubator/hise/trunk/hise-distro/src/main/bin.xml (added)
+++ incubator/hise/trunk/hise-distro/src/main/bin.xml Wed Jan 27 15:27:51 2010
@@ -0,0 +1,31 @@
+<assembly>
+      <id>bin</id>
+      <formats>
+        <format>zip</format>
+      </formats>
+      <fileSets>
+        <fileSet>
+          <directory>..</directory>
+          <outputDirectory/>
+          <includes>
+              <include>README*</include>
+              <include>LICENSE*</include>
+              <include>NOTICE*</include>
+          </includes>
+        </fileSet>
+        <fileSet>
+          <directory>src/distro</directory>
+          <outputDirectory/>
+          <includes>
+            <include>**</include>
+          </includes>
+        </fileSet>
+      </fileSets>
+  <dependencySets>
+    <dependencySet>
+      <outputDirectory>/</outputDirectory>
+      <unpack>false</unpack>
+      <scope>runtime</scope>
+    </dependencySet>
+  </dependencySets>
+</assembly>

Propchange: incubator/hise/trunk/hise-distro/src/main/bin.xml
------------------------------------------------------------------------------
    svn:eol-style = native