refactor
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.demo.com/author" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns="http://www.tibco.com/pe/WriteToLogActivitySchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.demo.com/author" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:pfx2="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2" xmlns:ns="http://www.tibco.com/pe/WriteToLogActivitySchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema">
|
||||
<xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/WSDL/WSDL.wsdl"/>
|
||||
<xsd:import namespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2" schemaLocation="/Resources/schemas/errorSchema.xsd"/>
|
||||
<pd:name>Processes/sql/InitializeDatabase.process</pd:name>
|
||||
<pd:startName>Start</pd:startName>
|
||||
<pd:startType>
|
||||
@@ -13,10 +14,10 @@
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</pd:startType>
|
||||
<pd:startX>54</pd:startX>
|
||||
<pd:startY>121</pd:startY>
|
||||
<pd:startX>80</pd:startX>
|
||||
<pd:startY>163</pd:startY>
|
||||
<pd:returnBindings>
|
||||
<xsl:copy-of select="$select-operation/root"/>
|
||||
<xsl:copy-of select="$Select-Operation/root"/>
|
||||
</pd:returnBindings>
|
||||
<pd:endName>End</pd:endName>
|
||||
<pd:endType>
|
||||
@@ -29,16 +30,18 @@
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</pd:endType>
|
||||
<pd:endX>823</pd:endX>
|
||||
<pd:endY>117</pd:endY>
|
||||
<pd:errorSchemas/>
|
||||
<pd:endX>838</pd:endX>
|
||||
<pd:endY>163</pd:endY>
|
||||
<pd:errorSchemas>
|
||||
<Error ref="pfx2:root"/>
|
||||
</pd:errorSchemas>
|
||||
<pd:processVariables/>
|
||||
<pd:targetNamespace>http://xmlns.example.com/1719483377637</pd:targetNamespace>
|
||||
<pd:activity name="initialize database">
|
||||
<pd:activity name="Initialize Database">
|
||||
<pd:type>com.tibco.plugin.jdbc.JDBCGeneralActivity</pd:type>
|
||||
<pd:resourceType>ae.activities.JDBCGeneralActivity</pd:resourceType>
|
||||
<pd:x>280</pd:x>
|
||||
<pd:y>123</pd:y>
|
||||
<pd:x>308</pd:x>
|
||||
<pd:y>169</pd:y>
|
||||
<config>
|
||||
<timeout>10</timeout>
|
||||
<commit>false</commit>
|
||||
@@ -53,11 +56,11 @@
|
||||
</jdbcGeneralActivityInput>
|
||||
</pd:inputBindings>
|
||||
</pd:activity>
|
||||
<pd:activity name="select operation">
|
||||
<pd:activity name="Select Operation">
|
||||
<pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
|
||||
<pd:resourceType>ae.process.subprocess</pd:resourceType>
|
||||
<pd:x>468</pd:x>
|
||||
<pd:y>117</pd:y>
|
||||
<pd:x>513</pd:x>
|
||||
<pd:y>163</pd:y>
|
||||
<config>
|
||||
<processName>/Processes/sql/SelectDatabase.process</processName>
|
||||
</config>
|
||||
@@ -72,25 +75,59 @@
|
||||
</root>
|
||||
</pd:inputBindings>
|
||||
</pd:activity>
|
||||
<pd:activity name="Catch">
|
||||
<pd:type>com.tibco.pe.core.CatchActivity</pd:type>
|
||||
<pd:resourceType>ae.activities.catch</pd:resourceType>
|
||||
<pd:x>365</pd:x>
|
||||
<pd:y>288</pd:y>
|
||||
<pd:handler>true</pd:handler>
|
||||
<config>
|
||||
<fault>localname=root namespace=http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2</fault>
|
||||
</config>
|
||||
<pd:inputBindings/>
|
||||
</pd:activity>
|
||||
<pd:activity name="Generate Error">
|
||||
<pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type>
|
||||
<pd:resourceType>ae.activities.throw</pd:resourceType>
|
||||
<pd:x>543</pd:x>
|
||||
<pd:y>288</pd:y>
|
||||
<config>
|
||||
<faultName>Error</faultName>
|
||||
</config>
|
||||
<pd:inputBindings>
|
||||
<ns2:ActivityInput>
|
||||
<data>
|
||||
<xsl:copy-of select="$Catch/pfx2:root"/>
|
||||
</data>
|
||||
</ns2:ActivityInput>
|
||||
</pd:inputBindings>
|
||||
</pd:activity>
|
||||
<pd:transition>
|
||||
<pd:from>Start</pd:from>
|
||||
<pd:to>initialize database</pd:to>
|
||||
<pd:to>Initialize Database</pd:to>
|
||||
<pd:lineType>Default</pd:lineType>
|
||||
<pd:lineColor>-16777216</pd:lineColor>
|
||||
<pd:conditionType>always</pd:conditionType>
|
||||
</pd:transition>
|
||||
<pd:transition>
|
||||
<pd:from>initialize database</pd:from>
|
||||
<pd:to>select operation</pd:to>
|
||||
<pd:from>Initialize Database</pd:from>
|
||||
<pd:to>Select Operation</pd:to>
|
||||
<pd:lineType>Default</pd:lineType>
|
||||
<pd:lineColor>-16777216</pd:lineColor>
|
||||
<pd:conditionType>always</pd:conditionType>
|
||||
</pd:transition>
|
||||
<pd:transition>
|
||||
<pd:from>select operation</pd:from>
|
||||
<pd:from>Select Operation</pd:from>
|
||||
<pd:to>End</pd:to>
|
||||
<pd:lineType>Default</pd:lineType>
|
||||
<pd:lineColor>-16777216</pd:lineColor>
|
||||
<pd:conditionType>always</pd:conditionType>
|
||||
</pd:transition>
|
||||
<pd:transition>
|
||||
<pd:from>Catch</pd:from>
|
||||
<pd:to>Generate Error</pd:to>
|
||||
<pd:lineType>Default</pd:lineType>
|
||||
<pd:lineColor>-16777216</pd:lineColor>
|
||||
<pd:conditionType>always</pd:conditionType>
|
||||
</pd:transition>
|
||||
</pd:ProcessDefinition>
|
||||
Reference in New Issue
Block a user