refactor
This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| #Design time libraries | ||||
| #Format: #=File Alias=Description | ||||
| #Thu Aug 08 13:20:13 CEST 2024 | ||||
| #Fri Aug 09 11:07:23 CEST 2024 | ||||
| 0=ProjectLibrary.projlib1\= | ||||
|   | ||||
							
								
								
									
										2
									
								
								.folder
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								.folder
									
									
									
									
									
								
							| @@ -8,8 +8,8 @@ | ||||
|             <property key="ae.palette.Mail.palette.version" value="5.15.0"/> | ||||
|             <property key="turbo.palette.version" value="5.6.1"/> | ||||
|             <property key="ae.palette.Policy.version" value="5.15.0"/> | ||||
|             <property key="ae.repo.palette.version" value="5.3.0"/> | ||||
|             <property key="ae.process.palette.version" value="5.15.0"/> | ||||
|             <property key="ae.repo.palette.version" value="5.3.0"/> | ||||
|             <property key="httppalette.httpplugins.version" value="5.15.0"/> | ||||
|             <property key="ae.aepalette.ae.palette.version" value="5.15.0"/> | ||||
|             <property key="palette.generalpalette.version" value="5.3.0"/> | ||||
|   | ||||
| @@ -1,7 +1,7 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.tibco.com/pe/DeployedVarsType" 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" xmlns:ns1="http://www.demo.com/author"> | ||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.tibco.com/pe/DeployedVarsType" 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" xmlns:ns2="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2" xmlns:ns1="http://www.demo.com/author"> | ||||
|     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/WSDL/WSDL.wsdl"/> | ||||
|     <pd:name>Processes/rest/rest request.process</pd:name> | ||||
|     <pd:name>Processes/rest/RestRequest.process</pd:name> | ||||
|     <pd:startName>HTTP Receiver</pd:startName> | ||||
|     <pd:startX>0</pd:startX> | ||||
|     <pd:startY>0</pd:startY> | ||||
| @@ -9,8 +9,8 @@ | ||||
|     <pd:starter name="HTTP Receiver"> | ||||
|         <pd:type>com.tibco.plugin.http.HTTPEventSource</pd:type> | ||||
|         <pd:resourceType>httppalette.httpEventSource</pd:resourceType> | ||||
|         <pd:x>168</pd:x> | ||||
|         <pd:y>252</pd:y> | ||||
|         <pd:x>112</pd:x> | ||||
|         <pd:y>349</pd:y> | ||||
|         <config> | ||||
|             <outputMode>String</outputMode> | ||||
|             <defaultEncoding>ISO8859_1</defaultEncoding> | ||||
| @@ -37,9 +37,8 @@ | ||||
|         <pd:inputBindings/> | ||||
|     </pd:starter> | ||||
|     <pd:endName>End</pd:endName> | ||||
|     <pd:endType/> | ||||
|     <pd:endX>784</pd:endX> | ||||
|     <pd:endY>259</pd:endY> | ||||
|     <pd:endX>814</pd:endX> | ||||
|     <pd:endY>350</pd:endY> | ||||
|     <pd:errorSchemas> | ||||
|         <Schema0> | ||||
|             <xsd:element name="root"> | ||||
| @@ -53,14 +52,14 @@ | ||||
|     </pd:errorSchemas> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1719474540368</pd:targetNamespace> | ||||
|     <pd:activity name="select database type"> | ||||
|     <pd:activity name="Select Database Type"> | ||||
|         <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type> | ||||
|         <pd:resourceType>ae.process.subprocess</pd:resourceType> | ||||
|         <pd:x>355</pd:x> | ||||
|         <pd:y>261</pd:y> | ||||
|         <pd:x>262</pd:x> | ||||
|         <pd:y>357</pd:y> | ||||
|         <config> | ||||
|             <processName>/Processes/xml/xml.process</processName> | ||||
|             <processNameXPath>if ($_globalVariables/pfx:GlobalVariables/processType='sql') then  '/Processes/sql/InitializeDatabase.process' else  '/Processes/xml/xml.process'</processNameXPath> | ||||
|             <processName>/Processes/sql/InitializeDatabase.process</processName> | ||||
|             <processNameXPath>if ($_globalVariables/pfx:GlobalVariables/processType='sql') then  '/Processes/sql/InitializeDatabase.process' else  '/Processes/xml/Xml.process'</processNameXPath> | ||||
|             <spawn>false</spawn> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
| @@ -77,8 +76,8 @@ | ||||
|     <pd:activity name="Send HTTP Response"> | ||||
|         <pd:type>com.tibco.plugin.http.HTTPResponseActivity</pd:type> | ||||
|         <pd:resourceType>httppalette.httpWebResponse</pd:resourceType> | ||||
|         <pd:x>610</pd:x> | ||||
|         <pd:y>257</pd:y> | ||||
|         <pd:x>584</pd:x> | ||||
|         <pd:y>349</pd:y> | ||||
|         <config> | ||||
|             <closeConnection>true</closeConnection> | ||||
|             <eventSource>HTTP Receiver</eventSource> | ||||
| @@ -107,8 +106,8 @@ | ||||
|     <pd:activity name="Render XML"> | ||||
|         <pd:type>com.tibco.plugin.xml.XMLRendererActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.XMLRendererActivity</pd:resourceType> | ||||
|         <pd:x>481</pd:x> | ||||
|         <pd:y>254</pd:y> | ||||
|         <pd:x>432</pd:x> | ||||
|         <pd:y>349</pd:y> | ||||
|         <config> | ||||
|             <renderAsText>text</renderAsText> | ||||
|             <validateInput>true</validateInput> | ||||
| @@ -126,29 +125,29 @@ | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <root> | ||||
|                 <xsl:copy-of select="$select-database-type/root/ns1:author"/> | ||||
|                 <xsl:copy-of select="$Select-Database-Type/root/ns1:author"/> | ||||
|                 <status> | ||||
|                     <xsl:value-of select="$select-database-type/root/status"/> | ||||
|                     <xsl:value-of select="$Select-Database-Type/root/status"/> | ||||
|                 </status> | ||||
|             </root> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Catch"> | ||||
|     <pd:activity name="CatchRestError"> | ||||
|         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||
|         <pd:x>246</pd:x> | ||||
|         <pd:y>440</pd:y> | ||||
|         <pd:x>357</pd:x> | ||||
|         <pd:y>202</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <catchAll>true</catchAll> | ||||
|             <fault>localname=root namespace=http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2</fault> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="ErrorResponse"> | ||||
|     <pd:activity name="RestErrorResponse"> | ||||
|         <pd:type>com.tibco.plugin.http.HTTPResponseActivity</pd:type> | ||||
|         <pd:resourceType>httppalette.httpWebResponse</pd:resourceType> | ||||
|         <pd:x>432</pd:x> | ||||
|         <pd:y>442</pd:y> | ||||
|         <pd:x>584</pd:x> | ||||
|         <pd:y>202</pd:y> | ||||
|         <config> | ||||
|             <closeConnection>true</closeConnection> | ||||
|             <eventSource>HTTP Receiver</eventSource> | ||||
| @@ -170,14 +169,14 @@ | ||||
|         <pd:inputBindings> | ||||
|             <ResponseActivityInput> | ||||
|                 <asciiContent> | ||||
|                     <xsl:value-of select="string($Catch/exceptiondata)"/> | ||||
|                     <xsl:value-of select="$CatchRestError/ns2:root/ns2:error"/> | ||||
|                 </asciiContent> | ||||
|             </ResponseActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>HTTP Receiver</pd:from> | ||||
|         <pd:to>select database type</pd:to> | ||||
|         <pd:to>Select Database Type</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
| @@ -190,7 +189,7 @@ | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>select database type</pd:from> | ||||
|         <pd:from>Select Database Type</pd:from> | ||||
|         <pd:to>Render XML</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
| @@ -204,14 +203,14 @@ | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Catch</pd:from> | ||||
|         <pd:to>ErrorResponse</pd:to> | ||||
|         <pd:from>CatchRestError</pd:from> | ||||
|         <pd:to>RestErrorResponse</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>ErrorResponse</pd:from> | ||||
|         <pd:from>RestErrorResponse</pd:from> | ||||
|         <pd:to>End</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
| @@ -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> | ||||
| @@ -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/SelectDatabase.process</pd:name> | ||||
|     <pd:startName>Start</pd:startName> | ||||
|     <pd:startType> | ||||
| @@ -13,13 +14,13 @@ | ||||
|             </xsd:complexType> | ||||
|         </xsd:element> | ||||
|     </pd:startType> | ||||
|     <pd:startX>156</pd:startX> | ||||
|     <pd:startY>180</pd:startY> | ||||
|     <pd:startX>130</pd:startX> | ||||
|     <pd:startY>163</pd:startY> | ||||
|     <pd:returnBindings> | ||||
|         <root> | ||||
|             <xsl:copy-of select="$SqlGET_DELETE/root/pfx:author"/> | ||||
|             <xsl:copy-of select="$Sql-Get-Delete/root/pfx:author"/> | ||||
|             <status> | ||||
|                 <xsl:value-of select="if (boolean($SqlPOST_PUT/root/status)) then $SqlPOST_PUT/root/status else $SqlGET_DELETE/root/status"/> | ||||
|                 <xsl:value-of select="if (boolean($Sql-Post-Put/root/status)) then $Sql-Post-Put/root/status else $Sql-Get-Delete/root/status"/> | ||||
|             </status> | ||||
|         </root> | ||||
|     </pd:returnBindings> | ||||
| @@ -34,16 +35,18 @@ | ||||
|             </xsd:complexType> | ||||
|         </xsd:element> | ||||
|     </pd:endType> | ||||
|     <pd:endX>802</pd:endX> | ||||
|     <pd:endY>184</pd:endY> | ||||
|     <pd:errorSchemas/> | ||||
|     <pd:endX>796</pd:endX> | ||||
|     <pd:endY>163</pd:endY> | ||||
|     <pd:errorSchemas> | ||||
|         <SQLError ref="pfx2:root"/> | ||||
|     </pd:errorSchemas> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1719567794423</pd:targetNamespace> | ||||
|     <pd:activity name="SqlPOST_PUT"> | ||||
|     <pd:activity name="Sql Post Put"> | ||||
|         <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type> | ||||
|         <pd:resourceType>ae.process.subprocess</pd:resourceType> | ||||
|         <pd:x>603</pd:x> | ||||
|         <pd:y>304</pd:y> | ||||
|         <pd:x>563</pd:x> | ||||
|         <pd:y>317</pd:y> | ||||
|         <config> | ||||
|             <processName>/Processes/sql/author/SqlPOST.process</processName> | ||||
|             <processNameXPath>concat('/Processes/sql/author/Sql',$Start/root/method ,'.process')</processNameXPath> | ||||
| @@ -52,32 +55,32 @@ | ||||
|             <root> | ||||
|                 <pfx:author> | ||||
|                     <xsl:attribute xmlns:xsl="http://www.w3.org/1999/XSL/Transform" name="id"> | ||||
|                         <xsl:value-of select="number($Map-Data/root/id)"/> | ||||
|                         <xsl:value-of select="number($Get-Author-From-Raw-Data/root/id)"/> | ||||
|                     </xsl:attribute> | ||||
|                     <pfx:firstName> | ||||
|                         <xsl:value-of select="$Map-Data/root/firstname"/> | ||||
|                         <xsl:value-of select="$Get-Author-From-Raw-Data/root/firstname"/> | ||||
|                     </pfx:firstName> | ||||
|                     <pfx:lastName> | ||||
|                         <xsl:value-of select="$Map-Data/root/lastname"/> | ||||
|                         <xsl:value-of select="$Get-Author-From-Raw-Data/root/lastname"/> | ||||
|                     </pfx:lastName> | ||||
|                     <pfx:age> | ||||
|                         <xsl:value-of select="number($Map-Data/root/age)"/> | ||||
|                         <xsl:value-of select="number($Get-Author-From-Raw-Data/root/age)"/> | ||||
|                     </pfx:age> | ||||
|                     <pfx:dateOfBirth> | ||||
|                         <xsl:value-of select="$Map-Data/root/date-of-birth"/> | ||||
|                         <xsl:value-of select="$Get-Author-From-Raw-Data/root/date-of-birth"/> | ||||
|                     </pfx:dateOfBirth> | ||||
|                     <pfx:dateOfDeath> | ||||
|                         <xsl:value-of select="$Map-Data/root/date-of-death"/> | ||||
|                         <xsl:value-of select="$Get-Author-From-Raw-Data/root/date-of-death"/> | ||||
|                     </pfx:dateOfDeath> | ||||
|                 </pfx:author> | ||||
|             </root> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Map Data"> | ||||
|     <pd:activity name="Get Author From Raw Data"> | ||||
|         <pd:type>com.tibco.plugin.mapper.MapperActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.MapperActivity</pd:resourceType> | ||||
|         <pd:x>388</pd:x> | ||||
|         <pd:y>183</pd:y> | ||||
|         <pd:x>353</pd:x> | ||||
|         <pd:y>170</pd:y> | ||||
|         <config> | ||||
|             <element> | ||||
|                 <xsd:element name="root"> | ||||
| @@ -117,11 +120,11 @@ | ||||
|             </root> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="SqlGET_DELETE"> | ||||
|     <pd:activity name="Sql Get Delete"> | ||||
|         <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type> | ||||
|         <pd:resourceType>ae.process.subprocess</pd:resourceType> | ||||
|         <pd:x>600</pd:x> | ||||
|         <pd:y>74</pd:y> | ||||
|         <pd:x>567</pd:x> | ||||
|         <pd:y>163</pd:y> | ||||
|         <config> | ||||
|             <processName>/Processes/sql/author/SqlGET.process</processName> | ||||
|             <processNameXPath>concat('/Processes/sql/author/Sql',$Start/root/method ,'.process')</processNameXPath> | ||||
| @@ -129,46 +132,83 @@ | ||||
|         <pd:inputBindings> | ||||
|             <root> | ||||
|                 <id> | ||||
|                     <xsl:value-of select="number($Map-Data/root/id)"/> | ||||
|                     <xsl:value-of select="number($Get-Author-From-Raw-Data/root/id)"/> | ||||
|                 </id> | ||||
|             </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>399</pd:x> | ||||
|         <pd:y>509</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <catchAll>false</catchAll> | ||||
|             <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>658</pd:x> | ||||
|         <pd:y>507</pd:y> | ||||
|         <config> | ||||
|             <faultName>Schema0</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>Map Data</pd:to> | ||||
|         <pd:to>Get Author From Raw Data</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Map Data</pd:from> | ||||
|         <pd:to>SqlGET_DELETE</pd:to> | ||||
|         <pd:from>Get Author From Raw Data</pd:from> | ||||
|         <pd:to>Sql Get Delete</pd:to> | ||||
|         <pd:xpathDescription>GetDelete</pd:xpathDescription> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|         <pd:xpath>$Start/root/method = 'DELETE' or $Start/root/method = 'GET'</pd:xpath> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Map Data</pd:from> | ||||
|         <pd:to>SqlPOST_PUT</pd:to> | ||||
|         <pd:from>Get Author From Raw Data</pd:from> | ||||
|         <pd:to>Sql Post Put</pd:to> | ||||
|         <pd:xpathDescription>PostPut</pd:xpathDescription> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|         <pd:xpath>$Start/root/method = 'PUT' or $Start/root/method = 'POST'</pd:xpath> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>SqlPOST_PUT</pd:from> | ||||
|         <pd:from>Sql Post Put</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>SqlGET_DELETE</pd:from> | ||||
|         <pd:from>Sql Get Delete</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> | ||||
| @@ -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" xmlns:ns2="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema"> | ||||
| <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/author/SqlDELETE.process</pd:name> | ||||
|     <pd:startName>Start</pd:startName> | ||||
|     <pd:startType> | ||||
| @@ -17,7 +18,7 @@ | ||||
|     <pd:returnBindings> | ||||
|         <root> | ||||
|             <status> | ||||
|                 <xsl:value-of select="concat('author deleted, rows affected: ', $DeleteAuthor/jdbcUpdateActivityOutput/noOfUpdates)"/> | ||||
|                 <xsl:value-of select="concat('author deleted, rows affected: ', $Delete-Author/jdbcUpdateActivityOutput/noOfUpdates)"/> | ||||
|             </status> | ||||
|         </root> | ||||
|     </pd:returnBindings> | ||||
| @@ -34,10 +35,12 @@ | ||||
|     </pd:endType> | ||||
|     <pd:endX>681</pd:endX> | ||||
|     <pd:endY>62</pd:endY> | ||||
|     <pd:errorSchemas/> | ||||
|     <pd:errorSchemas> | ||||
|         <DeleteError ref="pfx2:root"/> | ||||
|     </pd:errorSchemas> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1719579163583</pd:targetNamespace> | ||||
|     <pd:activity name="DeleteAuthor"> | ||||
|     <pd:activity name="Delete Author"> | ||||
|         <pd:type>com.tibco.plugin.jdbc.JDBCUpdateActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.JDBCUpdateActivity</pd:resourceType> | ||||
|         <pd:x>424</pd:x> | ||||
| @@ -66,8 +69,8 @@ | ||||
|     <pd:activity name="Catch"> | ||||
|         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||
|         <pd:x>249</pd:x> | ||||
|         <pd:y>164</pd:y> | ||||
|         <pd:x>256</pd:x> | ||||
|         <pd:y>328</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <catchAll>true</catchAll> | ||||
| @@ -77,20 +80,24 @@ | ||||
|     <pd:activity name="Generate Error"> | ||||
|         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||
|         <pd:x>514</pd:x> | ||||
|         <pd:y>165</pd:y> | ||||
|         <pd:x>516</pd:x> | ||||
|         <pd:y>331</pd:y> | ||||
|         <config> | ||||
|             <faultName/> | ||||
|             <faultName>DeleteError</faultName> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns2:ActivityInput> | ||||
|                 <message> | ||||
|                     <xsl:value-of select="string($Catch/exceptiondata)"/> | ||||
|                 </message> | ||||
|                 <data> | ||||
|                     <pfx2:root> | ||||
|                         <pfx2:error> | ||||
|                             <xsl:value-of select="'could not remove the author with given id, because it does not exist'"/> | ||||
|                         </pfx2:error> | ||||
|                     </pfx2:root> | ||||
|                 </data> | ||||
|             </ns2:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="LogInputData"> | ||||
|     <pd:activity name="Log Input Data"> | ||||
|         <pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.log</pd:resourceType> | ||||
|         <pd:x>284</pd:x> | ||||
| @@ -106,12 +113,32 @@ | ||||
|             </ns:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Author With Given Id Does Not Exist"> | ||||
|         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||
|         <pd:x>427</pd:x> | ||||
|         <pd:y>232</pd:y> | ||||
|         <config> | ||||
|             <faultName>DeleteError</faultName> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns2:ActivityInput> | ||||
|                 <data> | ||||
|                     <pfx2:root> | ||||
|                         <pfx2:error> | ||||
|                             <xsl:value-of select="$Delete-Author/jdbcUpdateActivityOutput/noOfUpdates"/> | ||||
|                         </pfx2:error> | ||||
|                     </pfx2:root> | ||||
|                 </data> | ||||
|             </ns2:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>DeleteAuthor</pd:from> | ||||
|         <pd:from>Delete Author</pd:from> | ||||
|         <pd:to>End</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|         <pd:conditionType>otherwise</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Catch</pd:from> | ||||
| @@ -122,16 +149,25 @@ | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Start</pd:from> | ||||
|         <pd:to>LogInputData</pd:to> | ||||
|         <pd:to>Log Input Data</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>LogInputData</pd:from> | ||||
|         <pd:to>DeleteAuthor</pd:to> | ||||
|         <pd:from>Log Input Data</pd:from> | ||||
|         <pd:to>Delete Author</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Delete Author</pd:from> | ||||
|         <pd:to>Author With Given Id Does Not Exist</pd:to> | ||||
|         <pd:xpathDescription>authorDoesNotExist</pd:xpathDescription> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|         <pd:xpath>$Delete-Author/jdbcUpdateActivityOutput/noOfUpdates = 0</pd:xpath> | ||||
|     </pd:transition> | ||||
| </pd:ProcessDefinition> | ||||
| @@ -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" xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema"> | ||||
| <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:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema"> | ||||
|     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/author.xsd"/> | ||||
|     <xsd:import namespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2" schemaLocation="/Resources/schemas/errorSchema.xsd"/> | ||||
|     <pd:name>Processes/sql/author/SqlGET.process</pd:name> | ||||
|     <pd:startName>Start</pd:startName> | ||||
|     <pd:startType> | ||||
| @@ -17,25 +18,25 @@ | ||||
|     <pd:returnBindings> | ||||
|         <root> | ||||
|             <pfx:author> | ||||
|                 <xsl:if test="$GetAuthor/resultSet/Record[1]/id"> | ||||
|                 <xsl:if test="$Get-Author/resultSet/Record[1]/id"> | ||||
|                     <xsl:attribute name="id"> | ||||
|                         <xsl:value-of select="$GetAuthor/resultSet/Record[1]/id"/> | ||||
|                         <xsl:value-of select="$Get-Author/resultSet/Record[1]/id"/> | ||||
|                     </xsl:attribute> | ||||
|                 </xsl:if> | ||||
|                 <pfx:firstName> | ||||
|                     <xsl:value-of select="$GetAuthor/resultSet/Record[1]/firstname"/> | ||||
|                     <xsl:value-of select="$Get-Author/resultSet/Record[1]/firstname"/> | ||||
|                 </pfx:firstName> | ||||
|                 <pfx:lastName> | ||||
|                     <xsl:value-of select="$GetAuthor/resultSet/Record[1]/lastname"/> | ||||
|                     <xsl:value-of select="$Get-Author/resultSet/Record[1]/lastname"/> | ||||
|                 </pfx:lastName> | ||||
|                 <pfx:age> | ||||
|                     <xsl:value-of select="$GetAuthor/resultSet/Record[1]/age"/> | ||||
|                     <xsl:value-of select="$Get-Author/resultSet/Record[1]/age"/> | ||||
|                 </pfx:age> | ||||
|                 <pfx:dateOfBirth> | ||||
|                     <xsl:value-of select="substring-before($GetAuthor/resultSet/Record[1]/date_of_birth,"T")"/> | ||||
|                     <xsl:value-of select="substring-before($Get-Author/resultSet/Record[1]/date_of_birth,"T")"/> | ||||
|                 </pfx:dateOfBirth> | ||||
|                 <pfx:dateOfDeath> | ||||
|                     <xsl:value-of select="substring-before($GetAuthor/resultSet/Record[1]/date_of_death,"T")"/> | ||||
|                     <xsl:value-of select="substring-before($Get-Author/resultSet/Record[1]/date_of_death,"T")"/> | ||||
|                 </pfx:dateOfDeath> | ||||
|             </pfx:author> | ||||
|             <status> | ||||
| @@ -54,22 +55,14 @@ | ||||
|             </xsd:complexType> | ||||
|         </xsd:element> | ||||
|     </pd:endType> | ||||
|     <pd:endX>726</pd:endX> | ||||
|     <pd:endY>108</pd:endY> | ||||
|     <pd:endX>730</pd:endX> | ||||
|     <pd:endY>105</pd:endY> | ||||
|     <pd:errorSchemas> | ||||
|         <AuthorNotFound> | ||||
|             <xsd:element name="root"> | ||||
|                 <xsd:complexType> | ||||
|                     <xsd:sequence> | ||||
|                         <xsd:element name="AuthorID" type="xsd:int"/> | ||||
|                     </xsd:sequence> | ||||
|                 </xsd:complexType> | ||||
|             </xsd:element> | ||||
|         </AuthorNotFound> | ||||
|         <GetError ref="pfx2:root"/> | ||||
|     </pd:errorSchemas> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1719579163583</pd:targetNamespace> | ||||
|     <pd:activity name="GetAuthor"> | ||||
|     <pd:activity name="Get Author"> | ||||
|         <pd:type>com.tibco.plugin.jdbc.JDBCQueryActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.JDBCQueryActivity</pd:resourceType> | ||||
|         <pd:x>463</pd:x> | ||||
| @@ -122,7 +115,7 @@ | ||||
|             </jdbcQueryActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="LogInputData"> | ||||
|     <pd:activity name="Log Input Data"> | ||||
|         <pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.log</pd:resourceType> | ||||
|         <pd:x>285</pd:x> | ||||
| @@ -141,8 +134,8 @@ | ||||
|     <pd:activity name="Catch"> | ||||
|         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||
|         <pd:x>257</pd:x> | ||||
|         <pd:y>246</pd:y> | ||||
|         <pd:x>259</pd:x> | ||||
|         <pd:y>407</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <catchAll>true</catchAll> | ||||
| @@ -152,65 +145,53 @@ | ||||
|     <pd:activity name="Generate Error"> | ||||
|         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||
|         <pd:x>427</pd:x> | ||||
|         <pd:y>248</pd:y> | ||||
|         <pd:x>429</pd:x> | ||||
|         <pd:y>409</pd:y> | ||||
|         <config> | ||||
|             <faultName/> | ||||
|             <faultName>GetError</faultName> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns1:ActivityInput> | ||||
|                 <message> | ||||
|                     <xsl:value-of select="string($Catch/exceptiondata)"/> | ||||
|                 </message> | ||||
|                 <data> | ||||
|                     <pfx2:root> | ||||
|                         <pfx2:error> | ||||
|                             <xsl:value-of select="'could not get the author with given id, because it does not exist'"/> | ||||
|                         </pfx2:error> | ||||
|                     </pfx2:root> | ||||
|                 </data> | ||||
|             </ns1:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Render XML"> | ||||
|         <pd:type>com.tibco.plugin.xml.XMLRendererActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.XMLRendererActivity</pd:resourceType> | ||||
|         <pd:x>599</pd:x> | ||||
|         <pd:y>111</pd:y> | ||||
|     <pd:activity name="Author Does Not Exist"> | ||||
|         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||
|         <pd:x>465</pd:x> | ||||
|         <pd:y>244</pd:y> | ||||
|         <config> | ||||
|             <renderAsText>text</renderAsText> | ||||
|             <validateInput>true</validateInput> | ||||
|             <renderDefaultPrefix>true</renderDefaultPrefix> | ||||
|             <term ref="pfx:author"/> | ||||
|             <faultName>GetError</faultName> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <pfx:author> | ||||
|                 <xsl:if test="$GetAuthor/resultSet/Record[1]/id"> | ||||
|                     <xsl:attribute name="id"> | ||||
|                         <xsl:value-of select="$GetAuthor/resultSet/Record[1]/id"/> | ||||
|                     </xsl:attribute> | ||||
|                 </xsl:if> | ||||
|                 <pfx:firstName> | ||||
|                     <xsl:value-of select="$GetAuthor/resultSet/Record[1]/firstname"/> | ||||
|                 </pfx:firstName> | ||||
|                 <pfx:lastName> | ||||
|                     <xsl:value-of select="$GetAuthor/resultSet/Record[1]/lastname"/> | ||||
|                 </pfx:lastName> | ||||
|                 <pfx:age> | ||||
|                     <xsl:value-of select="$GetAuthor/resultSet/Record[1]/age"/> | ||||
|                 </pfx:age> | ||||
|                 <pfx:dateOfBirth> | ||||
|                     <xsl:value-of select="substring-before($GetAuthor/resultSet/Record[1]/date_of_birth, 'T')"/> | ||||
|                 </pfx:dateOfBirth> | ||||
|                 <pfx:dateOfDeath> | ||||
|                     <xsl:value-of select="substring-before($GetAuthor/resultSet/Record[1]/date_of_death, 'T')"/> | ||||
|                 </pfx:dateOfDeath> | ||||
|             </pfx:author> | ||||
|             <ns1:ActivityInput> | ||||
|                 <data> | ||||
|                     <pfx2:root> | ||||
|                         <pfx2:error> | ||||
|                             <xsl:value-of select="'empty'"/> | ||||
|                         </pfx2:error> | ||||
|                     </pfx2:root> | ||||
|                 </data> | ||||
|             </ns1:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>Start</pd:from> | ||||
|         <pd:to>LogInputData</pd:to> | ||||
|         <pd:to>Log Input Data</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>LogInputData</pd:from> | ||||
|         <pd:to>GetAuthor</pd:to> | ||||
|         <pd:from>Log Input Data</pd:from> | ||||
|         <pd:to>Get Author</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
| @@ -223,17 +204,19 @@ | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>GetAuthor</pd:from> | ||||
|         <pd:to>Render XML</pd:to> | ||||
|         <pd:from>Get Author</pd:from> | ||||
|         <pd:to>End</pd:to> | ||||
|         <pd:xpathDescription>authorExist</pd:xpathDescription> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|         <pd:xpath>boolean($Get-Author/resultSet/Record[1]/id)</pd:xpath> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Render XML</pd:from> | ||||
|         <pd:to>End</pd:to> | ||||
|         <pd:from>Get Author</pd:from> | ||||
|         <pd:to>Author Does Not Exist</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|         <pd:conditionType>otherwise</pd:conditionType> | ||||
|     </pd:transition> | ||||
| </pd:ProcessDefinition> | ||||
| @@ -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" xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||||
| <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:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||||
|     <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/author/SqlPOST.process</pd:name> | ||||
|     <pd:startName>Start</pd:startName> | ||||
|     <pd:startType> | ||||
| @@ -34,10 +35,12 @@ | ||||
|     </pd:endType> | ||||
|     <pd:endX>778</pd:endX> | ||||
|     <pd:endY>112</pd:endY> | ||||
|     <pd:errorSchemas/> | ||||
|     <pd:errorSchemas> | ||||
|         <PostError ref="pfx2:root"/> | ||||
|     </pd:errorSchemas> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1719579163583</pd:targetNamespace> | ||||
|     <pd:activity name="AddAuthor"> | ||||
|     <pd:activity name="Add Author"> | ||||
|         <pd:type>com.tibco.plugin.jdbc.JDBCUpdateActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.JDBCUpdateActivity</pd:resourceType> | ||||
|         <pd:x>384</pd:x> | ||||
| @@ -119,7 +122,7 @@ | ||||
|             </jdbcUpdateActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="LogInputData"> | ||||
|     <pd:activity name="Log Input Data"> | ||||
|         <pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.log</pd:resourceType> | ||||
|         <pd:x>274</pd:x> | ||||
| @@ -138,8 +141,8 @@ | ||||
|     <pd:activity name="Catch"> | ||||
|         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||
|         <pd:x>281</pd:x> | ||||
|         <pd:y>239</pd:y> | ||||
|         <pd:x>288</pd:x> | ||||
|         <pd:y>323</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <catchAll>true</catchAll> | ||||
| @@ -149,21 +152,28 @@ | ||||
|     <pd:activity name="Generate Error"> | ||||
|         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||
|         <pd:x>422</pd:x> | ||||
|         <pd:y>240</pd:y> | ||||
|         <pd:x>429</pd:x> | ||||
|         <pd:y>324</pd:y> | ||||
|         <config> | ||||
|             <faultName/> | ||||
|             <faultName>PostError</faultName> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns1:ActivityInput> | ||||
|                 <message> | ||||
|                     <xsl:value-of select="string($Catch/exceptiondata)"/> | ||||
|                 </message> | ||||
|                 <data> | ||||
|                     <pfx2:root> | ||||
|                         <pfx2:error> | ||||
|                             <xsl:value-of select="'could not add the author with given id, because it already exist'"/> | ||||
|                         </pfx2:error> | ||||
|                     </pfx2:root> | ||||
|                 </data> | ||||
|             </ns1:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>AddAuthor</pd:from> | ||||
|         <pd:from>Add Author</pd:from> | ||||
|         <pd:to>End</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
| @@ -171,14 +181,14 @@ | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Start</pd:from> | ||||
|         <pd:to>LogInputData</pd:to> | ||||
|         <pd:to>Log Input Data</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>LogInputData</pd:from> | ||||
|         <pd:to>AddAuthor</pd:to> | ||||
|         <pd:from>Log Input Data</pd:from> | ||||
|         <pd:to>Add Author</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|   | ||||
| @@ -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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||||
| <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:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||||
|     <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/author/SqlPUT.process</pd:name> | ||||
|     <pd:startName>Start</pd:startName> | ||||
|     <pd:startType> | ||||
| @@ -17,7 +18,7 @@ | ||||
|     <pd:returnBindings> | ||||
|         <root> | ||||
|             <status> | ||||
|                 <xsl:value-of select="concat("update succes, rows affected",$UpdateAuthor/jdbcUpdateActivityOutput/noOfUpdates)"/> | ||||
|                 <xsl:value-of select="concat("update succes, rows affected",$Update-Author/jdbcUpdateActivityOutput/noOfUpdates)"/> | ||||
|             </status> | ||||
|         </root> | ||||
|     </pd:returnBindings> | ||||
| @@ -34,10 +35,12 @@ | ||||
|     </pd:endType> | ||||
|     <pd:endX>644</pd:endX> | ||||
|     <pd:endY>66</pd:endY> | ||||
|     <pd:errorSchemas/> | ||||
|     <pd:errorSchemas> | ||||
|         <PutError ref="pfx2:root"/> | ||||
|     </pd:errorSchemas> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1719579163583</pd:targetNamespace> | ||||
|     <pd:activity name="UpdateAuthor"> | ||||
|     <pd:activity name="Update Author"> | ||||
|         <pd:type>com.tibco.plugin.jdbc.JDBCUpdateActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.JDBCUpdateActivity</pd:resourceType> | ||||
|         <pd:x>387</pd:x> | ||||
| @@ -122,7 +125,7 @@ WHERE id = ?; | ||||
|             </jdbcUpdateActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="LogInputData"> | ||||
|     <pd:activity name="Log Input Data"> | ||||
|         <pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.log</pd:resourceType> | ||||
|         <pd:x>255</pd:x> | ||||
| @@ -141,8 +144,8 @@ WHERE id = ?; | ||||
|     <pd:activity name="Catch"> | ||||
|         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||
|         <pd:x>308</pd:x> | ||||
|         <pd:y>228</pd:y> | ||||
|         <pd:x>313</pd:x> | ||||
|         <pd:y>327</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <catchAll>true</catchAll> | ||||
| @@ -152,36 +155,62 @@ WHERE id = ?; | ||||
|     <pd:activity name="Generate Error"> | ||||
|         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||
|         <pd:x>446</pd:x> | ||||
|         <pd:y>226</pd:y> | ||||
|         <pd:x>451</pd:x> | ||||
|         <pd:y>325</pd:y> | ||||
|         <config> | ||||
|             <faultName/> | ||||
|             <faultName>PutError</faultName> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns1:ActivityInput xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema"> | ||||
|                 <message> | ||||
|                     <xsl:value-of xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select="string($Catch/exceptiondata)"/> | ||||
|                 </message> | ||||
|             <ns1:ActivityInput> | ||||
|                 <data> | ||||
|                     <pfx2:root> | ||||
|                         <pfx2:error> | ||||
|                             <xsl:value-of select="'could not update  author with given id, because it does not exist'"/> | ||||
|                         </pfx2:error> | ||||
|                     </pfx2:root> | ||||
|                 </data> | ||||
|             </ns1:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="UpdateError"> | ||||
|         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||
|         <pd:x>390</pd:x> | ||||
|         <pd:y>208</pd:y> | ||||
|         <config> | ||||
|             <faultName>PutError</faultName> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns1:ActivityInput> | ||||
|                 <data> | ||||
|                     <pfx2:root> | ||||
|                         <pfx2:error> | ||||
|                             <xsl:value-of select="'fail'"/> | ||||
|                         </pfx2:error> | ||||
|                     </pfx2:root> | ||||
|                 </data> | ||||
|             </ns1:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>UpdateAuthor</pd:from> | ||||
|         <pd:from>Update Author</pd:from> | ||||
|         <pd:to>End</pd:to> | ||||
|         <pd:xpathDescription>authorExist</pd:xpathDescription> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|         <pd:xpath>$Update-Author/jdbcUpdateActivityOutput/noOfUpdates = 1</pd:xpath> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Start</pd:from> | ||||
|         <pd:to>LogInputData</pd:to> | ||||
|         <pd:to>Log Input Data</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>LogInputData</pd:from> | ||||
|         <pd:to>UpdateAuthor</pd:to> | ||||
|         <pd:from>Log Input Data</pd:from> | ||||
|         <pd:to>Update Author</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
| @@ -193,4 +222,11 @@ WHERE id = ?; | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Update Author</pd:from> | ||||
|         <pd:to>UpdateError</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>otherwise</pd:conditionType> | ||||
|     </pd:transition> | ||||
| </pd:ProcessDefinition> | ||||
| @@ -1,7 +1,7 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 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" xmlns:ns2="http://www.demo.com/author"> | ||||
|     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/WSDL/WSDL.wsdl"/> | ||||
|     <pd:name>Processes/xml/xml.process</pd:name> | ||||
|     <pd:name>Processes/xml/Xml.process</pd:name> | ||||
|     <pd:startName>Start</pd:startName> | ||||
|     <pd:startType> | ||||
|         <xsd:element name="root"> | ||||
| @@ -13,13 +13,13 @@ | ||||
|             </xsd:complexType> | ||||
|         </xsd:element> | ||||
|     </pd:startType> | ||||
|     <pd:startX>67</pd:startX> | ||||
|     <pd:startY>77</pd:startY> | ||||
|     <pd:startX>86</pd:startX> | ||||
|     <pd:startY>180</pd:startY> | ||||
|     <pd:returnBindings> | ||||
|         <root> | ||||
|             <xsl:copy-of select="$XmlGET_DELETE/root/ns2:author"/> | ||||
|             <xsl:copy-of select="$XmlGetDelete/root/ns2:author"/> | ||||
|             <status> | ||||
|                 <xsl:value-of select="if (boolean($XmlPOST_PUT/root/status)) then $XmlPOST_PUT/root/status else $XmlGET_DELETE/root/status"/> | ||||
|                 <xsl:value-of select="if (boolean($XmlPostPut/root/status)) then $XmlPostPut/root/status else $XmlGetDelete/root/status"/> | ||||
|             </status> | ||||
|         </root> | ||||
|     </pd:returnBindings> | ||||
| @@ -34,16 +34,16 @@ | ||||
|             </xsd:complexType> | ||||
|         </xsd:element> | ||||
|     </pd:endType> | ||||
|     <pd:endX>732</pd:endX> | ||||
|     <pd:endY>85</pd:endY> | ||||
|     <pd:endX>758</pd:endX> | ||||
|     <pd:endY>180</pd:endY> | ||||
|     <pd:errorSchemas/> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1719484154608</pd:targetNamespace> | ||||
|     <pd:activity name="XmlPOST_PUT"> | ||||
|     <pd:activity name="XmlPostPut"> | ||||
|         <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type> | ||||
|         <pd:resourceType>ae.process.subprocess</pd:resourceType> | ||||
|         <pd:x>545</pd:x> | ||||
|         <pd:y>41</pd:y> | ||||
|         <pd:x>530</pd:x> | ||||
|         <pd:y>180</pd:y> | ||||
|         <config> | ||||
|             <processName>/Processes/xml/author/XmlPOST.process</processName> | ||||
|             <processNameXPath>concat('/Processes/xml/author/Xml',$Start/root/method ,'.process')</processNameXPath> | ||||
| @@ -76,8 +76,8 @@ | ||||
|     <pd:activity name="Map Data"> | ||||
|         <pd:type>com.tibco.plugin.mapper.MapperActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.MapperActivity</pd:resourceType> | ||||
|         <pd:x>267</pd:x> | ||||
|         <pd:y>73</pd:y> | ||||
|         <pd:x>318</pd:x> | ||||
|         <pd:y>180</pd:y> | ||||
|         <config> | ||||
|             <element> | ||||
|                 <xsd:element name="root"> | ||||
| @@ -120,8 +120,8 @@ | ||||
|     <pd:activity name="Log"> | ||||
|         <pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.log</pd:resourceType> | ||||
|         <pd:x>156</pd:x> | ||||
|         <pd:y>73</pd:y> | ||||
|         <pd:x>178</pd:x> | ||||
|         <pd:y>180</pd:y> | ||||
|         <config> | ||||
|             <role>User</role> | ||||
|         </config> | ||||
| @@ -133,11 +133,11 @@ | ||||
|             </ns:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="XmlGET_DELETE"> | ||||
|     <pd:activity name="XmlGetDelete"> | ||||
|         <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type> | ||||
|         <pd:resourceType>ae.process.subprocess</pd:resourceType> | ||||
|         <pd:x>539</pd:x> | ||||
|         <pd:y>147</pd:y> | ||||
|         <pd:x>527</pd:x> | ||||
|         <pd:y>343</pd:y> | ||||
|         <config> | ||||
|             <processName>/Processes/xml/author/XmlGET.process</processName> | ||||
|             <processNameXPath>concat('/Processes/xml/author/Xml',$Start/root/method ,'.process')</processNameXPath> | ||||
| @@ -151,7 +151,7 @@ | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>XmlPOST_PUT</pd:from> | ||||
|         <pd:from>XmlPostPut</pd:from> | ||||
|         <pd:to>End</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
| @@ -159,8 +159,8 @@ | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Map Data</pd:from> | ||||
|         <pd:to>XmlPOST_PUT</pd:to> | ||||
|         <pd:xpathDescription>post or put</pd:xpathDescription> | ||||
|         <pd:to>XmlPostPut</pd:to> | ||||
|         <pd:xpathDescription>postOrPut</pd:xpathDescription> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
| @@ -182,15 +182,15 @@ | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Map Data</pd:from> | ||||
|         <pd:to>XmlGET_DELETE</pd:to> | ||||
|         <pd:xpathDescription>get or delete</pd:xpathDescription> | ||||
|         <pd:to>XmlGetDelete</pd:to> | ||||
|         <pd:xpathDescription>getOrDelete</pd:xpathDescription> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|         <pd:xpath>$Start/root/method = 'DELETE' or $Start/root/method = 'GET'</pd:xpath> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>XmlGET_DELETE</pd:from> | ||||
|         <pd:from>XmlGetDelete</pd:from> | ||||
|         <pd:to>End</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
| @@ -14,8 +14,8 @@ | ||||
|             </xsd:complexType> | ||||
|         </xsd:element> | ||||
|     </pd:startType> | ||||
|     <pd:startX>149</pd:startX> | ||||
|     <pd:startY>258</pd:startY> | ||||
|     <pd:startX>184</pd:startX> | ||||
|     <pd:startY>205</pd:startY> | ||||
|     <pd:returnBindings> | ||||
|         <root> | ||||
|             <status> | ||||
| @@ -34,8 +34,8 @@ | ||||
|             </xsd:complexType> | ||||
|         </xsd:element> | ||||
|     </pd:endType> | ||||
|     <pd:endX>1010</pd:endX> | ||||
|     <pd:endY>262</pd:endY> | ||||
|     <pd:endX>1072</pd:endX> | ||||
|     <pd:endY>205</pd:endY> | ||||
|     <pd:errorSchemas> | ||||
|         <DeleteError wsMsgRef="pfx3:ErrorMessage"/> | ||||
|     </pd:errorSchemas> | ||||
| @@ -44,8 +44,8 @@ | ||||
|     <pd:activity name="Read File"> | ||||
|         <pd:type>com.tibco.plugin.file.FileReadActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FileReadActivity</pd:resourceType> | ||||
|         <pd:x>301</pd:x> | ||||
|         <pd:y>257</pd:y> | ||||
|         <pd:x>373</pd:x> | ||||
|         <pd:y>205</pd:y> | ||||
|         <config> | ||||
|             <encoding>text</encoding> | ||||
|         </config> | ||||
| @@ -60,8 +60,8 @@ | ||||
|     <pd:activity name="Parse XML"> | ||||
|         <pd:type>com.tibco.plugin.xml.XMLParseActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.XMLParseActivity</pd:resourceType> | ||||
|         <pd:x>461</pd:x> | ||||
|         <pd:y>259</pd:y> | ||||
|         <pd:x>514</pd:x> | ||||
|         <pd:y>205</pd:y> | ||||
|         <config> | ||||
|             <inputStyle>text</inputStyle> | ||||
|             <xsdVersion>default</xsdVersion> | ||||
| @@ -74,11 +74,11 @@ | ||||
|             </xmlString> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="remove author with given id"> | ||||
|     <pd:activity name="Remove Author By Id"> | ||||
|         <pd:type>com.tibco.plugin.mapper.MapperActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.MapperActivity</pd:resourceType> | ||||
|         <pd:x>616</pd:x> | ||||
|         <pd:y>266</pd:y> | ||||
|         <pd:x>680</pd:x> | ||||
|         <pd:y>213</pd:y> | ||||
|         <config> | ||||
|             <element ref="pfx:authors"/> | ||||
|         </config> | ||||
| @@ -91,22 +91,22 @@ | ||||
|     <pd:activity name="Render XML"> | ||||
|         <pd:type>com.tibco.plugin.xml.XMLRendererActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.XMLRendererActivity</pd:resourceType> | ||||
|         <pd:x>777</pd:x> | ||||
|         <pd:y>258</pd:y> | ||||
|         <pd:x>821</pd:x> | ||||
|         <pd:y>205</pd:y> | ||||
|         <config> | ||||
|             <renderAsText>text</renderAsText> | ||||
|             <validateInput>false</validateInput> | ||||
|             <term ref="pfx:authors"/> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <xsl:copy-of select="$remove-author-with-given-id/pfx:authors"/> | ||||
|             <xsl:copy-of select="$Remove-Author-By-Id/pfx:authors"/> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Write File"> | ||||
|         <pd:type>com.tibco.plugin.file.FileWriteActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FileWriteActivity</pd:resourceType> | ||||
|         <pd:x>893</pd:x> | ||||
|         <pd:y>260</pd:y> | ||||
|         <pd:x>959</pd:x> | ||||
|         <pd:y>205</pd:y> | ||||
|         <config> | ||||
|             <encoding>text</encoding> | ||||
|             <compressFile>None</compressFile> | ||||
| @@ -125,8 +125,8 @@ | ||||
|     <pd:activity name="Generate Error"> | ||||
|         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||
|         <pd:x>460</pd:x> | ||||
|         <pd:y>88</pd:y> | ||||
|         <pd:x>515</pd:x> | ||||
|         <pd:y>390</pd:y> | ||||
|         <config> | ||||
|             <faultName>DeleteError</faultName> | ||||
|         </config> | ||||
| @@ -160,13 +160,13 @@ | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Parse XML</pd:from> | ||||
|         <pd:to>remove author with given id</pd:to> | ||||
|         <pd:to>Remove Author By Id</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>otherwise</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>remove author with given id</pd:from> | ||||
|         <pd:from>Remove Author By Id</pd:from> | ||||
|         <pd:to>Render XML</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|   | ||||
| @@ -17,7 +17,7 @@ | ||||
|     <pd:startY>76</pd:startY> | ||||
|     <pd:returnBindings> | ||||
|         <root> | ||||
|             <xsl:copy-of select="$get-author-by-id/pfx2:authors/pfx2:author"/> | ||||
|             <xsl:copy-of select="$Get-Author-By-Id/pfx2:authors/pfx2:author"/> | ||||
|             <status> | ||||
|                 <xsl:value-of select="'author received'"/> | ||||
|             </status> | ||||
| @@ -74,7 +74,7 @@ | ||||
|             </pfx:ReadActivityInputClass> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="get author by id"> | ||||
|     <pd:activity name="Get Author By Id"> | ||||
|         <pd:type>com.tibco.plugin.mapper.MapperActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.MapperActivity</pd:resourceType> | ||||
|         <pd:x>706</pd:x> | ||||
| @@ -112,7 +112,7 @@ | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>Parse XML</pd:from> | ||||
|         <pd:to>get author by id</pd:to> | ||||
|         <pd:to>Get Author By Id</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
| @@ -132,16 +132,16 @@ | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>get author by id</pd:from> | ||||
|         <pd:from>Get Author By Id</pd:from> | ||||
|         <pd:to>Generate Error</pd:to> | ||||
|         <pd:xpathDescription>author does not exist</pd:xpathDescription> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|         <pd:xpath>not(boolean($get-author-by-id/pfx2:authors/pfx2:author[@id=$Start/root/id ] ))</pd:xpath> | ||||
|         <pd:xpath>not(boolean($Get-Author-By-Id/pfx2:authors/pfx2:author[@id=$Start/root/id ] ))</pd:xpath> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>get author by id</pd:from> | ||||
|         <pd:from>Get Author By Id</pd:from> | ||||
|         <pd:to>End</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|   | ||||
| @@ -73,7 +73,7 @@ | ||||
|             </xmlString> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="add author"> | ||||
|     <pd:activity name="Add Author"> | ||||
|         <pd:type>com.tibco.plugin.mapper.MapperActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.MapperActivity</pd:resourceType> | ||||
|         <pd:x>509</pd:x> | ||||
| @@ -99,7 +99,7 @@ | ||||
|             <term ref="pfx:authors"/> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <xsl:copy-of select="$add-author/pfx:authors"/> | ||||
|             <xsl:copy-of select="$Add-Author/pfx:authors"/> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Write File"> | ||||
| @@ -122,11 +122,11 @@ | ||||
|             </ns:WriteActivityInputTextClass> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Render-XML-1"> | ||||
|     <pd:activity name="Add Authors Template"> | ||||
|         <pd:type>com.tibco.plugin.xml.XMLRendererActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.XMLRendererActivity</pd:resourceType> | ||||
|         <pd:x>193</pd:x> | ||||
|         <pd:y>339</pd:y> | ||||
|         <pd:x>192</pd:x> | ||||
|         <pd:y>348</pd:y> | ||||
|         <config> | ||||
|             <renderAsText>text</renderAsText> | ||||
|             <validateInput>false</validateInput> | ||||
| @@ -134,7 +134,7 @@ | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Write-File-1"> | ||||
|     <pd:activity name="InitializeFile"> | ||||
|         <pd:type>com.tibco.plugin.file.FileWriteActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FileWriteActivity</pd:resourceType> | ||||
|         <pd:x>508</pd:x> | ||||
| @@ -149,7 +149,7 @@ | ||||
|                     <xsl:value-of select="'/tibco/designer/5.12/projects/tibcoRepository/Resources/databases/databaseXML.xml'"/> | ||||
|                 </fileName> | ||||
|                 <textContent> | ||||
|                     <xsl:value-of select="$Render-XML-1/xmlString"/> | ||||
|                     <xsl:value-of select="$Add-Authors-Template/xmlString"/> | ||||
|                 </textContent> | ||||
|             </ns:WriteActivityInputTextClass> | ||||
|         </pd:inputBindings> | ||||
| @@ -186,7 +186,7 @@ | ||||
|     <pd:transition> | ||||
|         <pd:from>Read File</pd:from> | ||||
|         <pd:to>Parse XML</pd:to> | ||||
|         <pd:xpathDescription>file not empty</pd:xpathDescription> | ||||
|         <pd:xpathDescription>fileNotEmpty</pd:xpathDescription> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
| @@ -194,13 +194,13 @@ | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Parse XML</pd:from> | ||||
|         <pd:to>add author</pd:to> | ||||
|         <pd:to>Add Author</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>otherwise</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>add author</pd:from> | ||||
|         <pd:from>Add Author</pd:from> | ||||
|         <pd:to>Render XML</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
| @@ -222,21 +222,21 @@ | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Read File</pd:from> | ||||
|         <pd:to>Render-XML-1</pd:to> | ||||
|         <pd:to>Add Authors Template</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>otherwise</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Render-XML-1</pd:from> | ||||
|         <pd:to>Write-File-1</pd:to> | ||||
|         <pd:from>Add Authors Template</pd:from> | ||||
|         <pd:to>InitializeFile</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Write-File-1</pd:from> | ||||
|         <pd:to>add author</pd:to> | ||||
|         <pd:from>InitializeFile</pd:from> | ||||
|         <pd:to>Add Author</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
| @@ -244,7 +244,7 @@ | ||||
|     <pd:transition> | ||||
|         <pd:from>Parse XML</pd:from> | ||||
|         <pd:to>Generate Error</pd:to> | ||||
|         <pd:xpathDescription>author with given id already exist</pd:xpathDescription> | ||||
|         <pd:xpathDescription>authorWithGivenIdAlreadyExist</pd:xpathDescription> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|   | ||||
| @@ -33,14 +33,14 @@ | ||||
|             </xsd:complexType> | ||||
|         </xsd:element> | ||||
|     </pd:endType> | ||||
|     <pd:endX>848</pd:endX> | ||||
|     <pd:endY>151</pd:endY> | ||||
|     <pd:endX>849</pd:endX> | ||||
|     <pd:endY>147</pd:endY> | ||||
|     <pd:errorSchemas> | ||||
|         <PutError wsMsgRef="pfx4:ErrorMessage"/> | ||||
|     </pd:errorSchemas> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1719920186128</pd:targetNamespace> | ||||
|     <pd:activity name="Read-File-1"> | ||||
|     <pd:activity name="Read File"> | ||||
|         <pd:type>com.tibco.plugin.file.FileReadActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FileReadActivity</pd:resourceType> | ||||
|         <pd:x>193</pd:x> | ||||
| @@ -69,15 +69,15 @@ | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <xmlString> | ||||
|                 <xsl:value-of select="$Read-File-1/ns:ReadActivityOutputTextClass/fileContent/textContent"/> | ||||
|                 <xsl:value-of select="$Read-File/ns:ReadActivityOutputTextClass/fileContent/textContent"/> | ||||
|             </xmlString> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="update author with given id"> | ||||
|     <pd:activity name="Update Author With Id"> | ||||
|         <pd:type>com.tibco.plugin.mapper.MapperActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.MapperActivity</pd:resourceType> | ||||
|         <pd:x>465</pd:x> | ||||
|         <pd:y>156</pd:y> | ||||
|         <pd:y>155</pd:y> | ||||
|         <config> | ||||
|             <element ref="pfx:authors"/> | ||||
|         </config> | ||||
| @@ -100,7 +100,7 @@ | ||||
|             <term ref="pfx:authors"/> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <xsl:copy-of select="$update-author-with-given-id/pfx:authors"/> | ||||
|             <xsl:copy-of select="$Update-Author-With-Id/pfx:authors"/> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Write File"> | ||||
| @@ -126,8 +126,8 @@ | ||||
|     <pd:activity name="Generate Error"> | ||||
|         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||
|         <pd:x>347</pd:x> | ||||
|         <pd:y>291</pd:y> | ||||
|         <pd:x>342</pd:x> | ||||
|         <pd:y>290</pd:y> | ||||
|         <config> | ||||
|             <faultName>PutError</faultName> | ||||
|         </config> | ||||
| @@ -147,13 +147,13 @@ | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>Start</pd:from> | ||||
|         <pd:to>Read-File-1</pd:to> | ||||
|         <pd:to>Read File</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Read-File-1</pd:from> | ||||
|         <pd:from>Read File</pd:from> | ||||
|         <pd:to>Parse XML</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
| @@ -161,13 +161,13 @@ | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Parse XML</pd:from> | ||||
|         <pd:to>update author with given id</pd:to> | ||||
|         <pd:to>Update Author With Id</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>otherwise</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>update author with given id</pd:from> | ||||
|         <pd:from>Update Author With Id</pd:from> | ||||
|         <pd:to>Render XML</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
| @@ -190,7 +190,7 @@ | ||||
|     <pd:transition> | ||||
|         <pd:from>Parse XML</pd:from> | ||||
|         <pd:to>Generate Error</pd:to> | ||||
|         <pd:xpathDescription>author does not exist</pd:xpathDescription> | ||||
|         <pd:xpathDescription>authorDoesNotExist</pd:xpathDescription> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|   | ||||
| @@ -43,8 +43,8 @@ | ||||
|     <pd:activity name="Catch"> | ||||
|         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||
|         <pd:x>229</pd:x> | ||||
|         <pd:y>177</pd:y> | ||||
|         <pd:x>205</pd:x> | ||||
|         <pd:y>181</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <catchAll>false</catchAll> | ||||
| @@ -55,8 +55,8 @@ | ||||
|     <pd:activity name="Generate Error"> | ||||
|         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||
|         <pd:x>420</pd:x> | ||||
|         <pd:y>175</pd:y> | ||||
|         <pd:x>422</pd:x> | ||||
|         <pd:y>181</pd:y> | ||||
|         <config> | ||||
|             <faultName>DeleteError</faultName> | ||||
|         </config> | ||||
|   | ||||
| @@ -44,8 +44,8 @@ | ||||
|     <pd:activity name="Catch"> | ||||
|         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||
|         <pd:x>176</pd:x> | ||||
|         <pd:y>190</pd:y> | ||||
|         <pd:x>204</pd:x> | ||||
|         <pd:y>234</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <fault>localname=ErrorMessage namespace=http://xmlns.example.com/1721737885605</fault> | ||||
| @@ -55,8 +55,8 @@ | ||||
|     <pd:activity name="Generate Error"> | ||||
|         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||
|         <pd:x>331</pd:x> | ||||
|         <pd:y>188</pd:y> | ||||
|         <pd:x>431</pd:x> | ||||
|         <pd:y>234</pd:y> | ||||
|         <config> | ||||
|             <faultName>GetError</faultName> | ||||
|         </config> | ||||
|   | ||||
| @@ -41,8 +41,8 @@ | ||||
|     <pd:activity name="Catch"> | ||||
|         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||
|         <pd:x>295</pd:x> | ||||
|         <pd:y>256</pd:y> | ||||
|         <pd:x>236</pd:x> | ||||
|         <pd:y>214</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <catchAll>false</catchAll> | ||||
| @@ -53,8 +53,8 @@ | ||||
|     <pd:activity name="Generate Error"> | ||||
|         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||
|         <pd:x>449</pd:x> | ||||
|         <pd:y>256</pd:y> | ||||
|         <pd:x>431</pd:x> | ||||
|         <pd:y>214</pd:y> | ||||
|         <config> | ||||
|             <faultName>PostError</faultName> | ||||
|         </config> | ||||
|   | ||||
| @@ -66,8 +66,8 @@ | ||||
|     <pd:activity name="Catch"> | ||||
|         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||
|         <pd:x>194</pd:x> | ||||
|         <pd:y>201</pd:y> | ||||
|         <pd:x>222</pd:x> | ||||
|         <pd:y>204</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <catchAll>false</catchAll> | ||||
| @@ -78,7 +78,7 @@ | ||||
|     <pd:activity name="Generate Error"> | ||||
|         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||
|         <pd:x>337</pd:x> | ||||
|         <pd:x>356</pd:x> | ||||
|         <pd:y>204</pd:y> | ||||
|         <config> | ||||
|             <faultName>PutError</faultName> | ||||
|   | ||||
										
											Binary file not shown.
										
									
								
							
		Reference in New Issue
	
	Block a user
	 wojciech
					wojciech