jms works on tibcoAdmin
This commit is contained in:
		| @@ -1,4 +1,4 @@ | ||||
| #Design time libraries | ||||
| #Format: #=File Alias=Description | ||||
| #Tue Aug 27 15:25:45 CEST 2024 | ||||
| #Tue Sep 03 12:48:22 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"/> | ||||
|   | ||||
							
								
								
									
										20
									
								
								LocalResources/FTP Connection.sharedftp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								LocalResources/FTP Connection.sharedftp
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,20 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <BWSharedResource> | ||||
|     <name>FTP Connection</name> | ||||
|     <resourceType>ae.shared.FTPuserChannel</resourceType> | ||||
|     <config> | ||||
|         <Timeout>6000</Timeout> | ||||
|         <Port>21</Port> | ||||
|         <Encoding>UTF8</Encoding> | ||||
|         <FireWall>false</FireWall> | ||||
|         <Mode>Active</Mode> | ||||
|         <Host>eu-central-1.sftpcloud.io</Host> | ||||
|         <UserName>%%FTPUSername%%</UserName> | ||||
|         <Password>%%FTPPassword%%</Password> | ||||
|         <useSsl>false</useSsl> | ||||
|         <ProxyPort>8080</ProxyPort> | ||||
|         <ns0:ssl xmlns:ns0="http://www.tibco.com/xmlns/aemeta/services/2002"> | ||||
|             <ns0:strongCipherSuitesOnly>true</ns0:strongCipherSuitesOnly> | ||||
|         </ns0:ssl> | ||||
|     </config> | ||||
| </BWSharedResource> | ||||
							
								
								
									
										14
									
								
								LocalResources/TCP Connection.sharedtcp
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								LocalResources/TCP Connection.sharedtcp
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,14 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <BWSharedResource> | ||||
|     <name>TCP Connection</name> | ||||
|     <resourceType>ae.shared.TCPSharedconnection</resourceType> | ||||
|     <config> | ||||
|         <enableDNSLookup>true</enableDNSLookup> | ||||
|         <maxConnections>10</maxConnections> | ||||
|         <WhenExhaustedAction>Block</WhenExhaustedAction> | ||||
|         <maxWaitTime>10000</maxWaitTime> | ||||
|         <idleTimeout>-1</idleTimeout> | ||||
|         <Host>localhost</Host> | ||||
|         <Port>22</Port> | ||||
|     </config> | ||||
| </BWSharedResource> | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002"> | ||||
|     <folder resourceType="ae.designerfolder" name="JmsErrorSchema" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false"> | ||||
|     <folder resourceType="ae.designerfolder" name="jmsConnections" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false"> | ||||
|         <description/> | ||||
|         <fixedChildren/> | ||||
|     </folder> | ||||
| @@ -1,6 +1,6 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <BWSharedResource> | ||||
|     <name>alternativeQueue</name> | ||||
|     <name>JMS Connection</name> | ||||
|     <resourceType>ae.shared.JMSConnectionKey</resourceType> | ||||
|     <config> | ||||
|         <NamingEnvironment> | ||||
							
								
								
									
										24
									
								
								LocalResources/jmsConnections/alternativeQueue.sharedjmscon
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								LocalResources/jmsConnections/alternativeQueue.sharedjmscon
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <BWSharedResource> | ||||
|     <name>alternativeQueue</name> | ||||
|     <resourceType>ae.shared.JMSConnectionKey</resourceType> | ||||
|     <config> | ||||
|         <NamingEnvironment> | ||||
|             <UseJNDI>true</UseJNDI> | ||||
|             <ProviderURL>tcp://localhost:7222</ProviderURL> | ||||
|             <NamingURL>%%jmsURL%%</NamingURL> | ||||
|             <NamingInitialContextFactory>com.tibco.tibjms.naming.TibjmsInitialContextFactory</NamingInitialContextFactory> | ||||
|             <TopicFactoryName>FTTopicConnectionFactory</TopicFactoryName> | ||||
|             <QueueFactoryName>FTQueueConnectionFactory</QueueFactoryName> | ||||
|             <NamingPrincipal>szewczyk.author</NamingPrincipal> | ||||
|             <NamingCredential/> | ||||
|         </NamingEnvironment> | ||||
|         <ConnectionAttributes> | ||||
|             <username/> | ||||
|             <password/> | ||||
|             <clientID/> | ||||
|             <autoGenClientID>true</autoGenClientID> | ||||
|         </ConnectionAttributes> | ||||
|         <UseXACF>false</UseXACF> | ||||
|     </config> | ||||
| </BWSharedResource> | ||||
| @@ -6,7 +6,7 @@ | ||||
|         <NamingEnvironment> | ||||
|             <UseJNDI>true</UseJNDI> | ||||
|             <ProviderURL>tcp://localhost:7222</ProviderURL> | ||||
|             <NamingURL>tibjmsnaming://localhost:7222</NamingURL> | ||||
|             <NamingURL>tcp://tibbw5.zipper.release11.com:7222</NamingURL> | ||||
|             <NamingInitialContextFactory>com.tibco.tibjms.naming.TibjmsInitialContextFactory</NamingInitialContextFactory> | ||||
|             <TopicFactoryName>TopicConnectionFactory</TopicFactoryName> | ||||
|             <QueueFactoryName>QueueConnectionFactory</QueueFactoryName> | ||||
| @@ -6,15 +6,15 @@ | ||||
|         <NamingEnvironment> | ||||
|             <UseJNDI>true</UseJNDI> | ||||
|             <ProviderURL>tcp://localhost:7222</ProviderURL> | ||||
|             <NamingURL>tibjmsnaming://localhost:7222</NamingURL> | ||||
|             <NamingURL>%%jmsURL%%</NamingURL> | ||||
|             <NamingInitialContextFactory>com.tibco.tibjms.naming.TibjmsInitialContextFactory</NamingInitialContextFactory> | ||||
|             <TopicFactoryName>TopicConnectionFactory</TopicFactoryName> | ||||
|             <QueueFactoryName>QueueConnectionFactory</QueueFactoryName> | ||||
|             <NamingPrincipal>server.delete</NamingPrincipal> | ||||
|             <NamingPrincipal>admin</NamingPrincipal> | ||||
|             <NamingCredential/> | ||||
|         </NamingEnvironment> | ||||
|         <ConnectionAttributes> | ||||
|             <username/> | ||||
|             <username>admin</username> | ||||
|             <password/> | ||||
|             <clientID/> | ||||
|             <autoGenClientID>true</autoGenClientID> | ||||
| @@ -6,15 +6,15 @@ | ||||
|         <NamingEnvironment> | ||||
|             <UseJNDI>true</UseJNDI> | ||||
|             <ProviderURL>tcp://localhost:7222</ProviderURL> | ||||
|             <NamingURL>tibjmsnaming://localhost:7222</NamingURL> | ||||
|             <NamingURL>%%jmsURL%%</NamingURL> | ||||
|             <NamingInitialContextFactory>com.tibco.tibjms.naming.TibjmsInitialContextFactory</NamingInitialContextFactory> | ||||
|             <TopicFactoryName>TopicConnectionFactory</TopicFactoryName> | ||||
|             <QueueFactoryName>QueueConnectionFactory</QueueFactoryName> | ||||
|             <NamingPrincipal>server.get</NamingPrincipal> | ||||
|             <NamingPrincipal>admin</NamingPrincipal> | ||||
|             <NamingCredential/> | ||||
|         </NamingEnvironment> | ||||
|         <ConnectionAttributes> | ||||
|             <username/> | ||||
|             <username>admin</username> | ||||
|             <password/> | ||||
|             <clientID/> | ||||
|             <autoGenClientID>true</autoGenClientID> | ||||
| @@ -6,15 +6,15 @@ | ||||
|         <NamingEnvironment> | ||||
|             <UseJNDI>true</UseJNDI> | ||||
|             <ProviderURL>tcp://localhost:7222</ProviderURL> | ||||
|             <NamingURL>tibjmsnaming://localhost:7222</NamingURL> | ||||
|             <NamingURL>%%jmsURL%%</NamingURL> | ||||
|             <NamingInitialContextFactory>com.tibco.tibjms.naming.TibjmsInitialContextFactory</NamingInitialContextFactory> | ||||
|             <TopicFactoryName>TopicConnectionFactory</TopicFactoryName> | ||||
|             <QueueFactoryName>QueueConnectionFactory</QueueFactoryName> | ||||
|             <NamingPrincipal>server.post</NamingPrincipal> | ||||
|             <NamingPrincipal>admin</NamingPrincipal> | ||||
|             <NamingCredential/> | ||||
|         </NamingEnvironment> | ||||
|         <ConnectionAttributes> | ||||
|             <username/> | ||||
|             <username>admin</username> | ||||
|             <password/> | ||||
|             <clientID/> | ||||
|             <autoGenClientID>true</autoGenClientID> | ||||
| @@ -6,15 +6,15 @@ | ||||
|         <NamingEnvironment> | ||||
|             <UseJNDI>true</UseJNDI> | ||||
|             <ProviderURL>tcp://localhost:7222</ProviderURL> | ||||
|             <NamingURL>tibjmsnaming://localhost:7222</NamingURL> | ||||
|             <NamingURL>%%jmsURL%%</NamingURL> | ||||
|             <NamingInitialContextFactory>com.tibco.tibjms.naming.TibjmsInitialContextFactory</NamingInitialContextFactory> | ||||
|             <TopicFactoryName>TopicConnectionFactory</TopicFactoryName> | ||||
|             <QueueFactoryName>QueueConnectionFactory</QueueFactoryName> | ||||
|             <NamingPrincipal>server.put</NamingPrincipal> | ||||
|             <NamingPrincipal>admin</NamingPrincipal> | ||||
|             <NamingCredential/> | ||||
|         </NamingEnvironment> | ||||
|         <ConnectionAttributes> | ||||
|             <username/> | ||||
|             <username>admin</username> | ||||
|             <password/> | ||||
|             <clientID/> | ||||
|             <autoGenClientID>true</autoGenClientID> | ||||
| @@ -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.demo.com/author" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:pfx2="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/jms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2"> | ||||
| <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/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/jms" xmlns:pfx3="http://www.tibco.com/pe/DeployedVarsType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2"> | ||||
|     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/author.xsd"/> | ||||
|     <xsd:import namespace="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" schemaLocation="/Resources/JmsErrorSchema/JmsStatusResponse.xsd"/> | ||||
|     <xsd:import namespace="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" schemaLocation="/Resources/schemas/JmsStatusResponse.xsd"/> | ||||
|     <pd:name>Processes/jms/JmsDelete.process</pd:name> | ||||
|     <pd:startName>JMS Topic Subscriber</pd:startName> | ||||
|     <pd:startX>0</pd:startX> | ||||
| @@ -25,7 +25,7 @@ | ||||
|                 <JMSExpiration>0</JMSExpiration> | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <ConnectionReference>/LocalResources/server.delete.sharedjmscon</ConnectionReference> | ||||
|             <ConnectionReference>/LocalResources/jmsConnections/server.delete.sharedjmscon</ConnectionReference> | ||||
|             <OutDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
| @@ -40,10 +40,11 @@ | ||||
|         <pd:inputBindings/> | ||||
|     </pd:starter> | ||||
|     <pd:endName>End</pd:endName> | ||||
|     <pd:endType/> | ||||
|     <pd:endX>614</pd:endX> | ||||
|     <pd:endY>67</pd:endY> | ||||
|     <pd:errorSchemas> | ||||
|         <DeleteError/> | ||||
|         <DeleteError ref="pfx2:response"/> | ||||
|     </pd:errorSchemas> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1724069617580</pd:targetNamespace> | ||||
| @@ -54,7 +55,7 @@ | ||||
|         <pd:y>221</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <fault>localname=root namespace=http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2</fault> | ||||
|             <fault>localname=xmlDeleteError</fault> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
| @@ -77,7 +78,7 @@ | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <DeliveryDelay>0</DeliveryDelay> | ||||
|             <ConnectionReference>/LocalResources/server.post.sharedjmscon</ConnectionReference> | ||||
|             <ConnectionReference>/LocalResources/jmsConnections/server.post.sharedjmscon</ConnectionReference> | ||||
|             <InDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
| @@ -95,7 +96,7 @@ | ||||
|                     <root> | ||||
|                         <pfx2:response> | ||||
|                             <pfx2:status> | ||||
|                                 <xsl:value-of select="$Catch/ns1:root/ns1:error"/> | ||||
|                                 <xsl:value-of select="$Catch/xmlDeleteError/message"/> | ||||
|                             </pfx2:status> | ||||
|                             <pfx2:isError> | ||||
|                                 <xsl:value-of select="true()"/> | ||||
| @@ -128,7 +129,7 @@ | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <DeliveryDelay>0</DeliveryDelay> | ||||
|             <ConnectionReference>/LocalResources/server.delete.sharedjmscon</ConnectionReference> | ||||
|             <ConnectionReference>/LocalResources/jmsConnections/server.delete.sharedjmscon</ConnectionReference> | ||||
|             <InDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
| @@ -171,7 +172,8 @@ | ||||
|         <pd:x>307</pd:x> | ||||
|         <pd:y>67</pd:y> | ||||
|         <config> | ||||
|             <processName>/Processes/sql/author/SqlDELETE.process</processName> | ||||
|             <processName>/Processes/xml/author/XmlDELETE.process</processName> | ||||
|             <processNameXPath>if ($_globalVariables/pfx3:GlobalVariables/processType='sql') then  '/Processes/sql/author/SqlDELETE.process' else  '/Processes/xml/author/XmlDELETE.process'</processNameXPath> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <root> | ||||
|   | ||||
| @@ -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.demo.com/author" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:pfx2="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/jms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2"> | ||||
| <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/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/jms" xmlns:pfx3="http://www.tibco.com/pe/DeployedVarsType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2"> | ||||
|     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/author.xsd"/> | ||||
|     <xsd:import namespace="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" schemaLocation="/Resources/JmsErrorSchema/JmsStatusResponse.xsd"/> | ||||
|     <xsd:import namespace="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" schemaLocation="/Resources/schemas/JmsStatusResponse.xsd"/> | ||||
|     <pd:name>Processes/jms/JmsGet.process</pd:name> | ||||
|     <pd:startName>JMS Queue Receiver</pd:startName> | ||||
|     <pd:startX>0</pd:startX> | ||||
| @@ -11,7 +11,7 @@ | ||||
|         <pd:type>com.tibco.plugin.jms.JMSQueueEventSource</pd:type> | ||||
|         <pd:resourceType>ae.activities.JMSQueueEventSource</pd:resourceType> | ||||
|         <pd:x>113</pd:x> | ||||
|         <pd:y>70</pd:y> | ||||
|         <pd:y>66</pd:y> | ||||
|         <config> | ||||
|             <PermittedMessageType>XML Text</PermittedMessageType> | ||||
|             <SessionAttributes> | ||||
| @@ -25,7 +25,7 @@ | ||||
|                 <JMSExpiration>0</JMSExpiration> | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <ConnectionReference>/LocalResources/server.get.sharedjmscon</ConnectionReference> | ||||
|             <ConnectionReference>/LocalResources/jmsConnections/server.get.sharedjmscon</ConnectionReference> | ||||
|             <OutDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
| @@ -41,7 +41,7 @@ | ||||
|     </pd:starter> | ||||
|     <pd:endName>End</pd:endName> | ||||
|     <pd:endX>536</pd:endX> | ||||
|     <pd:endY>70</pd:endY> | ||||
|     <pd:endY>66</pd:endY> | ||||
|     <pd:errorSchemas/> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1724069617580</pd:targetNamespace> | ||||
| @@ -52,67 +52,10 @@ | ||||
|         <pd:y>203</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <fault>localname=root namespace=http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2</fault> | ||||
|             <fault>localname=xmlGetError</fault> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="SendResponse"> | ||||
|         <pd:type>com.tibco.plugin.jms.JMSQueueSendActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.JMSQueueSendActivity</pd:resourceType> | ||||
|         <pd:x>403</pd:x> | ||||
|         <pd:y>70</pd:y> | ||||
|         <config> | ||||
|             <PermittedMessageType>XML Text</PermittedMessageType> | ||||
|             <SessionAttributes> | ||||
|                 <transacted>false</transacted> | ||||
|                 <acknowledgeMode>1</acknowledgeMode> | ||||
|                 <maxSessions>1</maxSessions> | ||||
|                 <destination>getResponse</destination> | ||||
|             </SessionAttributes> | ||||
|             <ConfigurableHeaders> | ||||
|                 <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode> | ||||
|                 <JMSExpiration>0</JMSExpiration> | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <DeliveryDelay>0</DeliveryDelay> | ||||
|             <ConnectionReference>/LocalResources/server.get.sharedjmscon</ConnectionReference> | ||||
|             <InDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
|                         <xsd:sequence> | ||||
|                             <xsd:element ref="pfx:author" minOccurs="0"/> | ||||
|                             <xsd:element ref="pfx2:response"/> | ||||
|                         </xsd:sequence> | ||||
|                     </xsd:complexType> | ||||
|                 </xsd:element> | ||||
|             </InDataxsdString> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns:ActivityInput> | ||||
|                 <xsl:if test="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSReplyTo"> | ||||
|                     <destinationQueue> | ||||
|                         <xsl:value-of select="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSReplyTo"/> | ||||
|                     </destinationQueue> | ||||
|                 </xsl:if> | ||||
|                 <Body> | ||||
|                     <root> | ||||
|                         <xsl:copy-of select="$SqlGET/root/pfx:author"/> | ||||
|                         <pfx2:response> | ||||
|                             <pfx2:status> | ||||
|                                 <xsl:value-of select="$SqlGET/root/status"/> | ||||
|                             </pfx2:status> | ||||
|                             <pfx2:isError> | ||||
|                                 <xsl:value-of select="false()"/> | ||||
|                             </pfx2:isError> | ||||
|                             <pfx2:correlationID> | ||||
|                                 <xsl:value-of select="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSMessageID"/> | ||||
|                             </pfx2:correlationID> | ||||
|                         </pfx2:response> | ||||
|                     </root> | ||||
|                 </Body> | ||||
|             </ns:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="SendeErrorResponse"> | ||||
|         <pd:type>com.tibco.plugin.jms.JMSQueueSendActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.JMSQueueSendActivity</pd:resourceType> | ||||
| @@ -132,7 +75,7 @@ | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <DeliveryDelay>0</DeliveryDelay> | ||||
|             <ConnectionReference>/LocalResources/server.get.sharedjmscon</ConnectionReference> | ||||
|             <ConnectionReference>/LocalResources/jmsConnections/server.get.sharedjmscon</ConnectionReference> | ||||
|             <InDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
| @@ -150,7 +93,7 @@ | ||||
|                     <root> | ||||
|                         <pfx2:response> | ||||
|                             <pfx2:status> | ||||
|                                 <xsl:value-of select="$Catch/ns1:root/ns1:error"/> | ||||
|                                 <xsl:value-of select="$Catch/xmlGetError/message"/> | ||||
|                             </pfx2:status> | ||||
|                             <pfx2:isError> | ||||
|                                 <xsl:value-of select="true()"/> | ||||
| @@ -164,13 +107,71 @@ | ||||
|             </ns:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="SqlGET"> | ||||
|     <pd:activity name="SendResponse"> | ||||
|         <pd:type>com.tibco.plugin.jms.JMSQueueSendActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.JMSQueueSendActivity</pd:resourceType> | ||||
|         <pd:x>403</pd:x> | ||||
|         <pd:y>66</pd:y> | ||||
|         <config> | ||||
|             <PermittedMessageType>XML Text</PermittedMessageType> | ||||
|             <SessionAttributes> | ||||
|                 <transacted>false</transacted> | ||||
|                 <acknowledgeMode>1</acknowledgeMode> | ||||
|                 <maxSessions>1</maxSessions> | ||||
|                 <destination>getResponse</destination> | ||||
|             </SessionAttributes> | ||||
|             <ConfigurableHeaders> | ||||
|                 <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode> | ||||
|                 <JMSExpiration>0</JMSExpiration> | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <DeliveryDelay>0</DeliveryDelay> | ||||
|             <ConnectionReference>/LocalResources/jmsConnections/server.get.sharedjmscon</ConnectionReference> | ||||
|             <InDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
|                         <xsd:sequence> | ||||
|                             <xsd:element ref="pfx:author" minOccurs="0"/> | ||||
|                             <xsd:element ref="pfx2:response"/> | ||||
|                         </xsd:sequence> | ||||
|                     </xsd:complexType> | ||||
|                 </xsd:element> | ||||
|             </InDataxsdString> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns:ActivityInput> | ||||
|                 <xsl:if test="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSReplyTo"> | ||||
|                     <destinationQueue> | ||||
|                         <xsl:value-of select="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSReplyTo"/> | ||||
|                     </destinationQueue> | ||||
|                 </xsl:if> | ||||
|                 <Body> | ||||
|                     <root> | ||||
|                         <xsl:copy-of select="$XmlGET/root/pfx:author"/> | ||||
|                         <pfx2:response> | ||||
|                             <pfx2:status> | ||||
|                                 <xsl:value-of select="$XmlGET/root/status"/> | ||||
|                             </pfx2:status> | ||||
|                             <pfx2:isError> | ||||
|                                 <xsl:value-of select="false()"/> | ||||
|                             </pfx2:isError> | ||||
|                             <pfx2:correlationID> | ||||
|                                 <xsl:value-of select="$JMS-Queue-Receiver/ns:ActivityOutput/JMSHeaders/ns:JMSMessageID"/> | ||||
|                             </pfx2:correlationID> | ||||
|                         </pfx2:response> | ||||
|                     </root> | ||||
|                 </Body> | ||||
|             </ns:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="XmlGET"> | ||||
|         <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type> | ||||
|         <pd:resourceType>ae.process.subprocess</pd:resourceType> | ||||
|         <pd:x>269</pd:x> | ||||
|         <pd:y>70</pd:y> | ||||
|         <pd:x>271</pd:x> | ||||
|         <pd:y>66</pd:y> | ||||
|         <config> | ||||
|             <processName>/Processes/sql/author/SqlGET.process</processName> | ||||
|             <processName>/Processes/xml/author/XmlGET.process</processName> | ||||
|             <processNameXPath>if ($_globalVariables/pfx3:GlobalVariables/processType='sql') then  '/Processes/sql/author/SqlGET.process' else  '/Processes/xml/author/XmlGET.process'</processNameXPath> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <root> | ||||
| @@ -182,13 +183,13 @@ | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>JMS Queue Receiver</pd:from> | ||||
|         <pd:to>SqlGET</pd:to> | ||||
|         <pd:to>XmlGET</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>SqlGET</pd:from> | ||||
|         <pd:from>XmlGET</pd:from> | ||||
|         <pd:to>SendResponse</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|   | ||||
| @@ -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.demo.com/author" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:pfx2="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/jms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2"> | ||||
| <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/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/jms" xmlns:pfx3="http://www.tibco.com/pe/DeployedVarsType" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2"> | ||||
|     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/author.xsd"/> | ||||
|     <xsd:import namespace="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" schemaLocation="/Resources/JmsErrorSchema/JmsStatusResponse.xsd"/> | ||||
|     <xsd:import namespace="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" schemaLocation="/Resources/schemas/JmsStatusResponse.xsd"/> | ||||
|     <pd:name>Processes/jms/JmsPost.process</pd:name> | ||||
|     <pd:startName>JMS Topic Subscriber</pd:startName> | ||||
|     <pd:startX>0</pd:startX> | ||||
| @@ -18,14 +18,14 @@ | ||||
|                 <transacted>false</transacted> | ||||
|                 <acknowledgeMode>1</acknowledgeMode> | ||||
|                 <maxSessions>1</maxSessions> | ||||
|                 <destination>postRequest</destination> | ||||
|                 <destination>deleteRequest</destination> | ||||
|             </SessionAttributes> | ||||
|             <ConfigurableHeaders> | ||||
|                 <JMSDeliveryMode>PERSISTENT</JMSDeliveryMode> | ||||
|                 <JMSExpiration>0</JMSExpiration> | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <ConnectionReference>/LocalResources/server.post.sharedjmscon</ConnectionReference> | ||||
|             <ConnectionReference>/LocalResources/jmsConnections/server.delete.sharedjmscon</ConnectionReference> | ||||
|             <OutDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
| @@ -52,7 +52,7 @@ | ||||
|         <pd:y>240</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <fault>localname=root namespace=http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2</fault> | ||||
|             <fault>localname=xmlPostError</fault> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
| @@ -75,7 +75,7 @@ | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <DeliveryDelay>0</DeliveryDelay> | ||||
|             <ConnectionReference>/LocalResources/server.post.sharedjmscon</ConnectionReference> | ||||
|             <ConnectionReference>/LocalResources/jmsConnections/server.post.sharedjmscon</ConnectionReference> | ||||
|             <InDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
| @@ -118,7 +118,8 @@ | ||||
|         <pd:x>243</pd:x> | ||||
|         <pd:y>64</pd:y> | ||||
|         <config> | ||||
|             <processName>/Processes/sql/author/SqlPOST.process</processName> | ||||
|             <processName>/Processes/xml/author/XmlPOST.process</processName> | ||||
|             <processNameXPath>if ($_globalVariables/pfx3:GlobalVariables/processType='sql') then  '/Processes/sql/author/SqlPOST.process' else  '/Processes/xml/author/XmlPOST.process'</processNameXPath> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <root> | ||||
| @@ -145,7 +146,7 @@ | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <DeliveryDelay>0</DeliveryDelay> | ||||
|             <ConnectionReference>/LocalResources/server.post.sharedjmscon</ConnectionReference> | ||||
|             <ConnectionReference>/LocalResources/jmsConnections/server.post.sharedjmscon</ConnectionReference> | ||||
|             <InDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
| @@ -163,7 +164,7 @@ | ||||
|                     <root> | ||||
|                         <pfx2:response> | ||||
|                             <pfx2:status> | ||||
|                                 <xsl:value-of select="$Catch/ns1:root/ns1:error"/> | ||||
|                                 <xsl:value-of select="$Catch/xmlPostError/message"/> | ||||
|                             </pfx2:status> | ||||
|                             <pfx2:isError> | ||||
|                                 <xsl:value-of select="'true'"/> | ||||
|   | ||||
| @@ -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.demo.com/author" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:pfx2="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/jms" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns1="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2"> | ||||
|     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/author.xsd"/> | ||||
|     <xsd:import namespace="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" schemaLocation="/Resources/JmsErrorSchema/JmsStatusResponse.xsd"/> | ||||
|     <xsd:import namespace="http://www.tibco.com/schemas/tibcoRepository/Resources/JmsErrorSchema/Schema.xsd" schemaLocation="/Resources/schemas/JmsStatusResponse.xsd"/> | ||||
|     <pd:name>Processes/jms/JmsPut.process</pd:name> | ||||
|     <pd:startName>JMS Queue Receiver</pd:startName> | ||||
|     <pd:startX>0</pd:startX> | ||||
| @@ -25,7 +25,7 @@ | ||||
|                 <JMSExpiration>0</JMSExpiration> | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <ConnectionReference>/LocalResources/server.put.sharedjmscon</ConnectionReference> | ||||
|             <ConnectionReference>/LocalResources/jmsConnections/server.put.sharedjmscon</ConnectionReference> | ||||
|             <OutDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
| @@ -52,7 +52,7 @@ | ||||
|         <pd:y>225</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <fault>localname=root namespace=http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2</fault> | ||||
|             <fault>localname=XMLPutError</fault> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
| @@ -75,7 +75,7 @@ | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <DeliveryDelay>0</DeliveryDelay> | ||||
|             <ConnectionReference>/LocalResources/server.put.sharedjmscon</ConnectionReference> | ||||
|             <ConnectionReference>/LocalResources/jmsConnections/server.put.sharedjmscon</ConnectionReference> | ||||
|             <InDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
| @@ -131,7 +131,7 @@ | ||||
|                 <JMSPriority>4</JMSPriority> | ||||
|             </ConfigurableHeaders> | ||||
|             <DeliveryDelay>0</DeliveryDelay> | ||||
|             <ConnectionReference>/LocalResources/server.get.sharedjmscon</ConnectionReference> | ||||
|             <ConnectionReference>/LocalResources/jmsConnections/server.get.sharedjmscon</ConnectionReference> | ||||
|             <InDataxsdString> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
| @@ -149,7 +149,7 @@ | ||||
|                     <root> | ||||
|                         <pfx2:response> | ||||
|                             <pfx2:status> | ||||
|                                 <xsl:value-of select="$Catch/ns1:root/ns1:error"/> | ||||
|                                 <xsl:value-of select="$Catch/XMLPutError/message"/> | ||||
|                             </pfx2:status> | ||||
|                             <pfx2:isError> | ||||
|                                 <xsl:value-of select="true()"/> | ||||
| @@ -169,7 +169,8 @@ | ||||
|         <pd:x>279</pd:x> | ||||
|         <pd:y>65</pd:y> | ||||
|         <config> | ||||
|             <processName>/Processes/sql/author/SqlPUT.process</processName> | ||||
|             <processName>/Processes/xml/author/XmlPUT.process</processName> | ||||
|             <processNameXPath>if ($_globalVariables/pfx3:GlobalVariables/processType='sql') then  '/Processes/sql/author/SqlPUT.process' else  '/Processes/xml/author/XmlPUT.process'</processNameXPath> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <root> | ||||
|   | ||||
| @@ -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>112</pd:x> | ||||
|         <pd:y>349</pd:y> | ||||
|         <pd:x>102</pd:x> | ||||
|         <pd:y>345</pd:y> | ||||
|         <config> | ||||
|             <outputMode>String</outputMode> | ||||
|             <defaultEncoding>ISO8859_1</defaultEncoding> | ||||
| @@ -38,7 +38,7 @@ | ||||
|     </pd:starter> | ||||
|     <pd:endName>End</pd:endName> | ||||
|     <pd:endX>814</pd:endX> | ||||
|     <pd:endY>350</pd:endY> | ||||
|     <pd:endY>345</pd:endY> | ||||
|     <pd:errorSchemas> | ||||
|         <Schema0> | ||||
|             <xsd:element name="root"> | ||||
| @@ -52,62 +52,38 @@ | ||||
|     </pd:errorSchemas> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1719474540368</pd:targetNamespace> | ||||
|     <pd:activity name="Select Database Type"> | ||||
|         <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type> | ||||
|         <pd:resourceType>ae.process.subprocess</pd:resourceType> | ||||
|         <pd:x>262</pd:x> | ||||
|         <pd:y>357</pd:y> | ||||
|     <pd:activity name="CatchRestError"> | ||||
|         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||
|         <pd:x>357</pd:x> | ||||
|         <pd:y>202</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <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> | ||||
|             <fault>localname=XMLError</fault> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <root> | ||||
|                 <method> | ||||
|                     <xsl:value-of select="$HTTP-Receiver/ProcessStarterOutput/Method"/> | ||||
|                 </method> | ||||
|                 <data> | ||||
|                     <xsl:value-of select="if ($HTTP-Receiver/ProcessStarterOutput/Method = 'DELETE' or $HTTP-Receiver/ProcessStarterOutput/Method = 'GET'  ) then   $HTTP-Receiver/ProcessStarterOutput/RequestURI else $HTTP-Receiver/ProcessStarterOutput/PostData"/> | ||||
|                 </data> | ||||
|             </root> | ||||
|         </pd:inputBindings> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Send HTTP Response"> | ||||
|         <pd:type>com.tibco.plugin.http.HTTPResponseActivity</pd:type> | ||||
|         <pd:resourceType>httppalette.httpWebResponse</pd:resourceType> | ||||
|         <pd:x>584</pd:x> | ||||
|         <pd:y>349</pd:y> | ||||
|     <pd:activity name="Log"> | ||||
|         <pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.log</pd:resourceType> | ||||
|         <pd:x>225</pd:x> | ||||
|         <pd:y>345</pd:y> | ||||
|         <config> | ||||
|             <closeConnection>true</closeConnection> | ||||
|             <eventSource>HTTP Receiver</eventSource> | ||||
|             <Headers> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
|                         <xsd:sequence> | ||||
|                             <xsd:element name="StatusLine" type="xsd:string" minOccurs="0"/> | ||||
|                             <xsd:element name="Content-Type" type="xsd:string" minOccurs="0"/> | ||||
|                             <xsd:element name="Set-Cookie" type="xsd:string" minOccurs="0"/> | ||||
|                             <xsd:element name="Pragma" type="xsd:string" minOccurs="0"/> | ||||
|                             <xsd:element name="Location" type="xsd:string" minOccurs="0"/> | ||||
|                         </xsd:sequence> | ||||
|                     </xsd:complexType> | ||||
|                 </xsd:element> | ||||
|             </Headers> | ||||
|             <role>User</role> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ResponseActivityInput> | ||||
|                 <asciiContent> | ||||
|                     <xsl:value-of select="$Render-XML/xmlString"/> | ||||
|                 </asciiContent> | ||||
|             </ResponseActivityInput> | ||||
|             <ns:ActivityInput> | ||||
|                 <message> | ||||
|                     <xsl:value-of select=""http message Received""/> | ||||
|                 </message> | ||||
|             </ns: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>432</pd:x> | ||||
|         <pd:y>349</pd:y> | ||||
|         <pd:x>477</pd:x> | ||||
|         <pd:y>345</pd:y> | ||||
|         <config> | ||||
|             <renderAsText>text</renderAsText> | ||||
|             <validateInput>true</validateInput> | ||||
| @@ -132,17 +108,6 @@ | ||||
|             </root> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="CatchRestError"> | ||||
|         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||
|         <pd:x>357</pd:x> | ||||
|         <pd:y>202</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="RestErrorResponse"> | ||||
|         <pd:type>com.tibco.plugin.http.HTTPResponseActivity</pd:type> | ||||
|         <pd:resourceType>httppalette.httpWebResponse</pd:resourceType> | ||||
| @@ -169,18 +134,85 @@ | ||||
|         <pd:inputBindings> | ||||
|             <ResponseActivityInput> | ||||
|                 <asciiContent> | ||||
|                     <xsl:value-of select="$CatchRestError/ns2:root/ns2:error"/> | ||||
|                     <xsl:value-of select="$CatchRestError/XMLError/message"/> | ||||
|                 </asciiContent> | ||||
|             </ResponseActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>HTTP Receiver</pd:from> | ||||
|         <pd:to>Select Database Type</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:activity name="Select Database Type"> | ||||
|         <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type> | ||||
|         <pd:resourceType>ae.process.subprocess</pd:resourceType> | ||||
|         <pd:x>352</pd:x> | ||||
|         <pd:y>352</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> | ||||
|             <spawn>false</spawn> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <root> | ||||
|                 <method> | ||||
|                     <xsl:value-of select="$HTTP-Receiver/ProcessStarterOutput/Method"/> | ||||
|                 </method> | ||||
|                 <data> | ||||
|                     <xsl:value-of select="if ($HTTP-Receiver/ProcessStarterOutput/Method = 'DELETE' or $HTTP-Receiver/ProcessStarterOutput/Method = 'GET'  ) then   $HTTP-Receiver/ProcessStarterOutput/RequestURI else $HTTP-Receiver/ProcessStarterOutput/PostData"/> | ||||
|                 </data> | ||||
|             </root> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Send HTTP Response"> | ||||
|         <pd:type>com.tibco.plugin.http.HTTPResponseActivity</pd:type> | ||||
|         <pd:resourceType>httppalette.httpWebResponse</pd:resourceType> | ||||
|         <pd:x>629</pd:x> | ||||
|         <pd:y>345</pd:y> | ||||
|         <config> | ||||
|             <closeConnection>true</closeConnection> | ||||
|             <eventSource>HTTP Receiver</eventSource> | ||||
|             <Headers> | ||||
|                 <xsd:element name="root"> | ||||
|                     <xsd:complexType> | ||||
|                         <xsd:sequence> | ||||
|                             <xsd:element name="StatusLine" type="xsd:string" minOccurs="0"/> | ||||
|                             <xsd:element name="Content-Type" type="xsd:string" minOccurs="0"/> | ||||
|                             <xsd:element name="Set-Cookie" type="xsd:string" minOccurs="0"/> | ||||
|                             <xsd:element name="Pragma" type="xsd:string" minOccurs="0"/> | ||||
|                             <xsd:element name="Location" type="xsd:string" minOccurs="0"/> | ||||
|                         </xsd:sequence> | ||||
|                     </xsd:complexType> | ||||
|                 </xsd:element> | ||||
|             </Headers> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ResponseActivityInput> | ||||
|                 <asciiContent> | ||||
|                     <xsl:value-of select="$Render-XML/xmlString"/> | ||||
|                 </asciiContent> | ||||
|             </ResponseActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Parse XML"> | ||||
|         <pd:type>com.tibco.plugin.xml.XMLParseActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.XMLParseActivity</pd:resourceType> | ||||
|         <pd:x>847</pd:x> | ||||
|         <pd:y>99</pd:y> | ||||
|         <config> | ||||
|             <inputStyle>binary</inputStyle> | ||||
|             <xsdVersion>default</xsdVersion> | ||||
|             <validateOutput>true</validateOutput> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Render-XML-1"> | ||||
|         <pd:type>com.tibco.plugin.xml.XMLRendererActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.XMLRendererActivity</pd:resourceType> | ||||
|         <pd:x>667</pd:x> | ||||
|         <pd:y>52</pd:y> | ||||
|         <config> | ||||
|             <renderAsText>binary</renderAsText> | ||||
|             <validateInput>false</validateInput> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>Send HTTP Response</pd:from> | ||||
|         <pd:to>End</pd:to> | ||||
| @@ -216,4 +248,18 @@ | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>HTTP Receiver</pd:from> | ||||
|         <pd:to>Log</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Log</pd:from> | ||||
|         <pd:to>Select Database Type</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
| </pd:ProcessDefinition> | ||||
							
								
								
									
										7
									
								
								Processes/soap/.folder
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								Processes/soap/.folder
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002"> | ||||
|     <folder resourceType="ae.designerfolder" name="soap" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false"> | ||||
|         <description/> | ||||
|         <fixedChildren/> | ||||
|     </folder> | ||||
| </Repository:repository> | ||||
| @@ -1,7 +1,7 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns5="http://www.tibco.com/schemas/httpRequest/Resources/schemas/DeleteResponse.xsd" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema1.xsd" xmlns:wsdlPfx="http://xmlns.example.com/1721737885605" xmlns:ns2="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" xmlns:ns1="http://www.demo.com/author" xmlns:ns4="http://www.tibco.com/schemas/httpRequest/Resources/schemas/DeleteRequest.xsd" xmlns:ns3="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema"> | ||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns6="http://www.tibco.com/schemas/httpRequest/Resources/schemas/ErrorSchema.xsd2" xmlns:ns5="http://www.tibco.com/schemas/httpRequest/Resources/schemas/DeleteResponse.xsd" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema1.xsd" xmlns:wsdlPfx="http://xmlns.example.com/1721737885605" xmlns:ns2="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" xmlns:ns1="http://www.demo.com/author" xmlns:ns4="http://www.tibco.com/schemas/httpRequest/Resources/schemas/DeleteRequest.xsd" xmlns:ns3="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema"> | ||||
|     <wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/> | ||||
|     <pd:name>Resources/WSDL/SoapDeleteAuthor.process</pd:name> | ||||
|     <pd:name>Processes/soap/SoapDeleteAuthor.process</pd:name> | ||||
|     <pd:startName>Start</pd:startName> | ||||
|     <pd:startType wsMsgRef="wsdlPfx:requestDelete"/> | ||||
|     <pd:startX>150</pd:startX> | ||||
| @@ -48,7 +48,7 @@ | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <catchAll>false</catchAll> | ||||
|             <fault>localname=ErrorMessage namespace=http://xmlns.example.com/1721737885605</fault> | ||||
|             <fault>localname=xmlDeleteError</fault> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
| @@ -63,7 +63,13 @@ | ||||
|         <pd:inputBindings> | ||||
|             <ns3:ActivityInput> | ||||
|                 <data> | ||||
|                     <xsl:copy-of select="$Catch/wsdlPfx:ErrorMessage"/> | ||||
|                     <wsdlPfx:ErrorMessage> | ||||
|                         <part1> | ||||
|                             <ns6:error> | ||||
|                                 <xsl:value-of select="$Catch/xmlDeleteError/message"/> | ||||
|                             </ns6:error> | ||||
|                         </part1> | ||||
|                     </wsdlPfx:ErrorMessage> | ||||
|                 </data> | ||||
|             </ns3:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
| @@ -1,9 +1,9 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns5="http://www.demo.com/GetResponse" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pfx="http://xmlns.example.com/1721743175984" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" xmlns:wsdlPfx="http://xmlns.example.com/1721737885605" xmlns:ns2="http://www.demo.com/author" xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:ns4="http://www.tibco.com/schemas/httpRequest/Resources/schemas/GetRequest.xsd" xmlns:ns3="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2"> | ||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns6="http://www.tibco.com/schemas/httpRequest/Resources/schemas/ErrorSchema.xsd2" xmlns:ns5="http://www.demo.com/GetResponse" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pfx="http://xmlns.example.com/1721743175984" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" xmlns:wsdlPfx="http://xmlns.example.com/1721737885605" xmlns:ns2="http://www.demo.com/author" xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:ns4="http://www.tibco.com/schemas/httpRequest/Resources/schemas/GetRequest.xsd" xmlns:ns3="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2"> | ||||
|     <xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema" namespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" schemaLocation="/Resources/schemas/getRequest.xsd"/> | ||||
|     <wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/> | ||||
|     <wsdl:import namespace="http://xmlns.example.com/1721743175984"/> | ||||
|     <pd:name>Resources/WSDL/SoapGetAuthor.process</pd:name> | ||||
|     <pd:name>Processes/soap/SoapGetAuthor.process</pd:name> | ||||
|     <pd:startName>Start</pd:startName> | ||||
|     <pd:startType wsMsgRef="wsdlPfx:requestGet"/> | ||||
|     <pd:startX>116</pd:startX> | ||||
| @@ -72,7 +72,7 @@ | ||||
|         <pd:y>234</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <fault>localname=ErrorMessage namespace=http://xmlns.example.com/1721737885605</fault> | ||||
|             <fault>localname=xmlGetError</fault> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
| @@ -87,7 +87,13 @@ | ||||
|         <pd:inputBindings> | ||||
|             <ns1:ActivityInput> | ||||
|                 <data> | ||||
|                     <xsl:copy-of select="$Catch/wsdlPfx:ErrorMessage"/> | ||||
|                     <wsdlPfx:ErrorMessage> | ||||
|                         <part1> | ||||
|                             <ns6:error> | ||||
|                                 <xsl:value-of select="$Catch/xmlGetError/message"/> | ||||
|                             </ns6:error> | ||||
|                         </part1> | ||||
|                     </wsdlPfx:ErrorMessage> | ||||
|                 </data> | ||||
|             </ns1:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
| @@ -1,7 +1,7 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns="http://www.demo.com/author" xmlns:wsdlPfx="http://xmlns.example.com/1721737885605" xmlns:ns2="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:ns4="http://www.tibco.com/schemas/httpRequest/Resources/schemas/PostResponse.xsd" xmlns:ns3="http://www.demo.com/PostRequest"> | ||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns5="http://www.tibco.com/schemas/httpRequest/Resources/schemas/ErrorSchema.xsd2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns="http://www.demo.com/author" xmlns:wsdlPfx="http://xmlns.example.com/1721737885605" xmlns:ns2="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:ns4="http://www.tibco.com/schemas/httpRequest/Resources/schemas/PostResponse.xsd" xmlns:ns3="http://www.demo.com/PostRequest"> | ||||
|     <wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/> | ||||
|     <pd:name>Resources/WSDL/SoapPostAuthor.process</pd:name> | ||||
|     <pd:name>Processes/soap/SoapPostAuthor.process</pd:name> | ||||
|     <pd:startName>Start</pd:startName> | ||||
|     <pd:startType wsMsgRef="wsdlPfx:requestPOST"/> | ||||
|     <pd:startX>146</pd:startX> | ||||
| @@ -71,7 +71,7 @@ | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <catchAll>false</catchAll> | ||||
|             <fault>localname=ErrorMessage namespace=http://xmlns.example.com/1721737885605</fault> | ||||
|             <fault>localname=xmlPostError</fault> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
| @@ -86,7 +86,13 @@ | ||||
|         <pd:inputBindings> | ||||
|             <ns1:ActivityInput> | ||||
|                 <data> | ||||
|                     <xsl:copy-of select="$Catch/wsdlPfx:ErrorMessage"/> | ||||
|                     <wsdlPfx:ErrorMessage> | ||||
|                         <part1> | ||||
|                             <ns5:error> | ||||
|                                 <xsl:value-of select="$Catch/xmlPostError/message"/> | ||||
|                             </ns5:error> | ||||
|                         </part1> | ||||
|                     </wsdlPfx:ErrorMessage> | ||||
|                 </data> | ||||
|             </ns1:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
| @@ -1,7 +1,7 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns="http://www.demo.com/author" xmlns:wsdlPfx="http://xmlns.example.com/1721737885605" xmlns:ns2="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:ns4="http://www.tibco.com/schemas/httpRequest/Resources/schemas/PutResponse.xsd" xmlns:ns3="http://www.demo.com/PutRequest"> | ||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns5="http://www.tibco.com/schemas/httpRequest/Resources/schemas/ErrorSchema.xsd2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns="http://www.demo.com/author" xmlns:wsdlPfx="http://xmlns.example.com/1721737885605" xmlns:ns2="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:ns4="http://www.tibco.com/schemas/httpRequest/Resources/schemas/PutResponse.xsd" xmlns:ns3="http://www.demo.com/PutRequest"> | ||||
|     <wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/> | ||||
|     <pd:name>Resources/WSDL/SoapPutAuthor.process</pd:name> | ||||
|     <pd:name>Processes/soap/SoapPutAuthor.process</pd:name> | ||||
|     <pd:startName>Start</pd:startName> | ||||
|     <pd:startType wsMsgRef="wsdlPfx:requestPUT"/> | ||||
|     <pd:startX>150</pd:startX> | ||||
| @@ -67,7 +67,7 @@ | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <catchAll>false</catchAll> | ||||
|             <fault>localname=ErrorMessage namespace=http://xmlns.example.com/1721737885605</fault> | ||||
|             <fault>localname=XMLPutError</fault> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
| @@ -75,14 +75,20 @@ | ||||
|         <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.throw</pd:resourceType> | ||||
|         <pd:x>356</pd:x> | ||||
|         <pd:y>204</pd:y> | ||||
|         <pd:y>206</pd:y> | ||||
|         <config> | ||||
|             <faultName>PutError</faultName> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns1:ActivityInput> | ||||
|                 <data> | ||||
|                     <xsl:copy-of select="$Catch/wsdlPfx:ErrorMessage"/> | ||||
|                     <wsdlPfx:ErrorMessage> | ||||
|                         <part1> | ||||
|                             <ns5:error> | ||||
|                                 <xsl:value-of select="$Catch/XMLPutError/message"/> | ||||
|                             </ns5:error> | ||||
|                         </part1> | ||||
|                     </wsdlPfx:ErrorMessage> | ||||
|                 </data> | ||||
|             </ns1:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
| @@ -1,5 +1,5 @@ | ||||
| <?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"> | ||||
| <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" xmlns:ns1="http://www.tibco.com/schemas/httpRequest/Resources/schemas/ErrorSchema.xsd2" xmlns:ns4="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:ns3="http://xmlns.example.com/1721737885605"> | ||||
|     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/WSDL/WSDL.wsdl"/> | ||||
|     <pd:name>Processes/xml/Xml.process</pd:name> | ||||
|     <pd:startName>Start</pd:startName> | ||||
| @@ -17,10 +17,34 @@ | ||||
|     <pd:startY>180</pd:startY> | ||||
|     <pd:returnBindings> | ||||
|         <root> | ||||
|             <xsl:copy-of select="$XmlGetDelete/root/ns2:author"/> | ||||
|             <xsl:copy-of select="$XmlGet/root/ns2:author"/> | ||||
|             <xsl:choose> | ||||
|                 <xsl:when test="boolean($XmlPut/root/status)"> | ||||
|                     <status> | ||||
|                 <xsl:value-of select="if (boolean($XmlPostPut/root/status)) then $XmlPostPut/root/status else $XmlGetDelete/root/status"/> | ||||
|                         <xsl:value-of select="$XmlPut/root/status"/> | ||||
|                     </status> | ||||
|                 </xsl:when> | ||||
|                 <xsl:when test="boolean($XmlPost/root/status)"> | ||||
|                     <status> | ||||
|                         <xsl:value-of select="$XmlPost/root/status"/> | ||||
|                     </status> | ||||
|                 </xsl:when> | ||||
|                 <xsl:when test="boolean($XmlGet/root/status)"> | ||||
|                     <status> | ||||
|                         <xsl:value-of select="$XmlGet/root/status"/> | ||||
|                     </status> | ||||
|                 </xsl:when> | ||||
|                 <xsl:when test="boolean($XmlDelete/root/status)"> | ||||
|                     <status> | ||||
|                         <xsl:value-of select="$XmlDelete/root/status"/> | ||||
|                     </status> | ||||
|                 </xsl:when> | ||||
|                 <xsl:otherwise> | ||||
|                     <status> | ||||
|                         <xsl:value-of select=""something went wrong""/> | ||||
|                     </status> | ||||
|                 </xsl:otherwise> | ||||
|             </xsl:choose> | ||||
|         </root> | ||||
|     </pd:returnBindings> | ||||
|     <pd:endName>End</pd:endName> | ||||
| @@ -34,43 +58,90 @@ | ||||
|             </xsd:complexType> | ||||
|         </xsd:element> | ||||
|     </pd:endType> | ||||
|     <pd:endX>758</pd:endX> | ||||
|     <pd:endY>180</pd:endY> | ||||
|     <pd:errorSchemas/> | ||||
|     <pd:endX>823</pd:endX> | ||||
|     <pd:endY>177</pd:endY> | ||||
|     <pd:errorSchemas> | ||||
|         <XMLError> | ||||
|             <xsd:element name="XMLError"> | ||||
|                 <xsd:complexType> | ||||
|                     <xsd:sequence> | ||||
|                         <xsd:element name="message" type="xsd:string"/> | ||||
|                     </xsd:sequence> | ||||
|                 </xsd:complexType> | ||||
|             </xsd:element> | ||||
|         </XMLError> | ||||
|     </pd:errorSchemas> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1719484154608</pd:targetNamespace> | ||||
|     <pd:activity name="XmlPostPut"> | ||||
|         <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type> | ||||
|         <pd:resourceType>ae.process.subprocess</pd:resourceType> | ||||
|         <pd:x>530</pd:x> | ||||
|         <pd:y>180</pd:y> | ||||
|     <pd:activity name="CatchPutError"> | ||||
|         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||
|         <pd:x>406</pd:x> | ||||
|         <pd:y>478</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <processName>/Processes/xml/author/XmlPOST.process</processName> | ||||
|             <processNameXPath>concat('/Processes/xml/author/Xml',$Start/root/method ,'.process')</processNameXPath> | ||||
|             <fault>localname=XMLPutError</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>583</pd:x> | ||||
|         <pd:y>694</pd:y> | ||||
|         <config> | ||||
|             <faultName>XMLError</faultName> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <root> | ||||
|                 <ns2:author> | ||||
|                     <xsl:attribute name="id"> | ||||
|                         <xsl:value-of select="number($Map-Data/root/id)"/> | ||||
|                     </xsl:attribute> | ||||
|                     <ns2:firstName> | ||||
|                         <xsl:value-of select="$Map-Data/root/firstname"/> | ||||
|                     </ns2:firstName> | ||||
|                     <ns2:lastName> | ||||
|                         <xsl:value-of select="$Map-Data/root/lastname"/> | ||||
|                     </ns2:lastName> | ||||
|                     <ns2:age> | ||||
|                         <xsl:value-of select="number($Map-Data/root/age)"/> | ||||
|                     </ns2:age> | ||||
|                     <ns2:dateOfBirth> | ||||
|                         <xsl:value-of select="$Map-Data/root/date-of-birth"/> | ||||
|                     </ns2:dateOfBirth> | ||||
|                     <ns2:dateOfDeath> | ||||
|                         <xsl:value-of select="$Map-Data/root/date-of-death"/> | ||||
|                     </ns2:dateOfDeath> | ||||
|                 </ns2:author> | ||||
|             </root> | ||||
|             <ns4:ActivityInput> | ||||
|                 <data> | ||||
|                     <XMLError> | ||||
|                         <xsl:choose> | ||||
|                             <xsl:when test="boolean($CatchPutError/XMLPutError/message)"> | ||||
|                                 <message> | ||||
|                                     <xsl:value-of select="$CatchPutError/XMLPutError/message"/> | ||||
|                                 </message> | ||||
|                             </xsl:when> | ||||
|                             <xsl:when test="boolean($CatchPostError/xmlPostError/message)"> | ||||
|                                 <message> | ||||
|                                     <xsl:value-of select="$CatchPostError/xmlPostError/message"/> | ||||
|                                 </message> | ||||
|                             </xsl:when> | ||||
|                             <xsl:when test="boolean($CatchDeleteError/xmlDeleteError/message)"> | ||||
|                                 <message> | ||||
|                                     <xsl:value-of select="$CatchDeleteError/xmlDeleteError/message"/> | ||||
|                                 </message> | ||||
|                             </xsl:when> | ||||
|                             <xsl:when test="boolean($CatchGetError/xmlGetError/message)"> | ||||
|                                 <message> | ||||
|                                     <xsl:value-of select="$CatchGetError/xmlGetError/message"/> | ||||
|                                 </message> | ||||
|                             </xsl:when> | ||||
|                             <xsl:otherwise> | ||||
|                                 <message> | ||||
|                                     <xsl:value-of select=""something went wrong""/> | ||||
|                                 </message> | ||||
|                             </xsl:otherwise> | ||||
|                         </xsl:choose> | ||||
|                     </XMLError> | ||||
|                 </data> | ||||
|             </ns4:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Log"> | ||||
|         <pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.log</pd:resourceType> | ||||
|         <pd:x>178</pd:x> | ||||
|         <pd:y>180</pd:y> | ||||
|         <config> | ||||
|             <role>User</role> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns:ActivityInput> | ||||
|                 <message> | ||||
|                     <xsl:value-of select="$Start/root/data"/> | ||||
|                 </message> | ||||
|             </ns:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Map Data"> | ||||
| @@ -97,16 +168,16 @@ | ||||
|         <pd:inputBindings> | ||||
|             <root> | ||||
|                 <firstname> | ||||
|                     <xsl:value-of select="substring-before(substring-after($Start/root/data, '"firstname":"'), '"')"/> | ||||
|                     <xsl:value-of select="substring-before(substring-after($Start/root/data, '"firstName":"'), '"')"/> | ||||
|                 </firstname> | ||||
|                 <lastname> | ||||
|                     <xsl:value-of select="substring-before(substring-after($Start/root/data, '"lastname":"'), '"')"/> | ||||
|                     <xsl:value-of select="substring-before(substring-after($Start/root/data, '"lastName":"'), '"')"/> | ||||
|                 </lastname> | ||||
|                 <date-of-birth> | ||||
|                     <xsl:value-of select="substring-before(substring-after($Start/root/data, '"day-of-birth":"'), '"')"/> | ||||
|                     <xsl:value-of select="substring-before(substring-after($Start/root/data, '"dateOfBirth":"'), '"')"/> | ||||
|                 </date-of-birth> | ||||
|                 <date-of-death> | ||||
|                     <xsl:value-of select="substring-before(substring-after($Start/root/data, '"day-of-death":"'), '"')"/> | ||||
|                     <xsl:value-of select="substring-before(substring-after($Start/root/data, '"dateOfDeath":"'), '"')"/> | ||||
|                 </date-of-death> | ||||
|                 <id> | ||||
|                     <xsl:value-of select="if ($Start/root/method = 'POST' or $Start/root/method = 'PUT' ) then substring-before(substring-after($Start/root/data, '"id":"'), '"') else substring-after($Start/root/data, 'id=')"/> | ||||
| @@ -117,30 +188,13 @@ | ||||
|             </root> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Log"> | ||||
|         <pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.log</pd:resourceType> | ||||
|         <pd:x>178</pd:x> | ||||
|         <pd:y>180</pd:y> | ||||
|         <config> | ||||
|             <role>User</role> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns:ActivityInput> | ||||
|                 <message> | ||||
|                     <xsl:value-of select="$Start/root/data"/> | ||||
|                 </message> | ||||
|             </ns:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="XmlGetDelete"> | ||||
|     <pd:activity name="XmlDelete"> | ||||
|         <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type> | ||||
|         <pd:resourceType>ae.process.subprocess</pd:resourceType> | ||||
|         <pd:x>527</pd:x> | ||||
|         <pd:y>343</pd:y> | ||||
|         <pd:x>569</pd:x> | ||||
|         <pd:y>145</pd:y> | ||||
|         <config> | ||||
|             <processName>/Processes/xml/author/XmlGET.process</processName> | ||||
|             <processNameXPath>concat('/Processes/xml/author/Xml',$Start/root/method ,'.process')</processNameXPath> | ||||
|             <processName>/Processes/xml/author/XmlDELETE.process</processName> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <root> | ||||
| @@ -150,8 +204,125 @@ | ||||
|             </root> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="XmlGet"> | ||||
|         <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type> | ||||
|         <pd:resourceType>ae.process.subprocess</pd:resourceType> | ||||
|         <pd:x>569</pd:x> | ||||
|         <pd:y>402</pd:y> | ||||
|         <config> | ||||
|             <processName>/Processes/xml/author/XmlGET.process</processName> | ||||
|             <processNameXPath/> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <root> | ||||
|                 <id> | ||||
|                     <xsl:value-of select="number($Map-Data/root/id)"/> | ||||
|                 </id> | ||||
|             </root> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="XmlPost"> | ||||
|         <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type> | ||||
|         <pd:resourceType>ae.process.subprocess</pd:resourceType> | ||||
|         <pd:x>569</pd:x> | ||||
|         <pd:y>34</pd:y> | ||||
|         <config> | ||||
|             <processName>/Processes/xml/author/XmlPOST.process</processName> | ||||
|             <processNameXPath/> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <root> | ||||
|                 <ns2:author> | ||||
|                     <xsl:attribute name="id"> | ||||
|                         <xsl:value-of select="number($Map-Data/root/id)"/> | ||||
|                     </xsl:attribute> | ||||
|                     <ns2:firstName> | ||||
|                         <xsl:value-of select="$Map-Data/root/firstname"/> | ||||
|                     </ns2:firstName> | ||||
|                     <ns2:lastName> | ||||
|                         <xsl:value-of select="$Map-Data/root/lastname"/> | ||||
|                     </ns2:lastName> | ||||
|                     <ns2:age> | ||||
|                         <xsl:value-of select="number($Map-Data/root/age)"/> | ||||
|                     </ns2:age> | ||||
|                     <ns2:dateOfBirth> | ||||
|                         <xsl:value-of select="$Map-Data/root/date-of-birth"/> | ||||
|                     </ns2:dateOfBirth> | ||||
|                     <ns2:dateOfDeath> | ||||
|                         <xsl:value-of select="$Map-Data/root/date-of-death"/> | ||||
|                     </ns2:dateOfDeath> | ||||
|                 </ns2:author> | ||||
|             </root> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="XmlPut"> | ||||
|         <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type> | ||||
|         <pd:resourceType>ae.process.subprocess</pd:resourceType> | ||||
|         <pd:x>569</pd:x> | ||||
|         <pd:y>284</pd:y> | ||||
|         <config> | ||||
|             <processName>/Processes/xml/author/XmlPUT.process</processName> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <root> | ||||
|                 <ns2:author> | ||||
|                     <xsl:attribute name="id"> | ||||
|                         <xsl:value-of select="number($Map-Data/root/id)"/> | ||||
|                     </xsl:attribute> | ||||
|                     <ns2:firstName> | ||||
|                         <xsl:value-of select="$Map-Data/root/firstname"/> | ||||
|                     </ns2:firstName> | ||||
|                     <ns2:lastName> | ||||
|                         <xsl:value-of select="$Map-Data/root/lastname"/> | ||||
|                     </ns2:lastName> | ||||
|                     <ns2:age> | ||||
|                         <xsl:value-of select="number($Map-Data/root/age)"/> | ||||
|                     </ns2:age> | ||||
|                     <ns2:dateOfBirth> | ||||
|                         <xsl:value-of select="$Map-Data/root/date-of-birth"/> | ||||
|                     </ns2:dateOfBirth> | ||||
|                     <ns2:dateOfDeath> | ||||
|                         <xsl:value-of select="$Map-Data/root/date-of-death"/> | ||||
|                     </ns2:dateOfDeath> | ||||
|                 </ns2:author> | ||||
|             </root> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="CatchPostError"> | ||||
|         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||
|         <pd:x>321</pd:x> | ||||
|         <pd:y>562</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <fault>localname=xmlPostError</fault> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="CatchDeleteError"> | ||||
|         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||
|         <pd:x>295</pd:x> | ||||
|         <pd:y>684</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <fault>localname=xmlDeleteError</fault> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="CatchGetError"> | ||||
|         <pd:type>com.tibco.pe.core.CatchActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.catch</pd:resourceType> | ||||
|         <pd:x>327</pd:x> | ||||
|         <pd:y>812</pd:y> | ||||
|         <pd:handler>true</pd:handler> | ||||
|         <config> | ||||
|             <fault>localname=xmlGetError</fault> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>XmlPostPut</pd:from> | ||||
|         <pd:from>XmlPost</pd:from> | ||||
|         <pd:to>End</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
| @@ -159,12 +330,12 @@ | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Map Data</pd:from> | ||||
|         <pd:to>XmlPostPut</pd:to> | ||||
|         <pd:xpathDescription>postOrPut</pd:xpathDescription> | ||||
|         <pd:to>XmlPost</pd:to> | ||||
|         <pd:xpathDescription>Post</pd:xpathDescription> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|         <pd:xpath>$Start/root/method = 'POST' or $Start/root/method = 'PUT'</pd:xpath> | ||||
|         <pd:xpath>$Start/root/method = 'POST'</pd:xpath> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Start</pd:from> | ||||
| @@ -182,18 +353,78 @@ | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Map Data</pd:from> | ||||
|         <pd:to>XmlGetDelete</pd:to> | ||||
|         <pd:xpathDescription>getOrDelete</pd:xpathDescription> | ||||
|         <pd:to>XmlGet</pd:to> | ||||
|         <pd:xpathDescription>Get</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:xpath>$Start/root/method = 'GET'</pd:xpath> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>XmlGetDelete</pd:from> | ||||
|         <pd:from>XmlGet</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>Map Data</pd:from> | ||||
|         <pd:to>XmlDelete</pd:to> | ||||
|         <pd:xpathDescription>Delete</pd:xpathDescription> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|         <pd:xpath>$Start/root/method = 'DELETE'</pd:xpath> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Map Data</pd:from> | ||||
|         <pd:to>XmlPut</pd:to> | ||||
|         <pd:xpathDescription>Put</pd:xpathDescription> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|         <pd:xpath>$Start/root/method = 'PUT'</pd:xpath> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>XmlPut</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>XmlDelete</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>CatchPutError</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:transition> | ||||
|         <pd:from>CatchPostError</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:transition> | ||||
|         <pd:from>CatchDeleteError</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:transition> | ||||
|         <pd:from>CatchGetError</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,5 +1,5 @@ | ||||
| <?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:wsdl="http://schemas.xmlsoap.org/wsdl/" 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:pfx3="http://xmlns.example.com/1721737885605" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:ns1="http://www.tibco.com/pe/EngineTypes" xmlns:ns4="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:ns3="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema"> | ||||
| <pd:ProcessDefinition xmlns:pfx="http://www.demo.com/author" xmlns:pfx2="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2" xmlns:ns="http://www.tibco.com/pe/WriteToLogActivitySchema" xmlns:pfx3="http://xmlns.example.com/1721737885605" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:ns1="http://www.tibco.com/pe/EngineTypes" xmlns:ns4="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:ns3="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns6="http://www.tibco.com/pe/DeployedVarsType" xmlns:ns5="http://www.tibco.com/schemas/httpRequest/Resources/schemas/ErrorSchema.xsd2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pd="http://xmlns.tibco.com/bw/process/2003"> | ||||
|     <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"/> | ||||
|     <wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/> | ||||
| @@ -15,7 +15,7 @@ | ||||
|         </xsd:element> | ||||
|     </pd:startType> | ||||
|     <pd:startX>184</pd:startX> | ||||
|     <pd:startY>205</pd:startY> | ||||
|     <pd:startY>196</pd:startY> | ||||
|     <pd:returnBindings> | ||||
|         <root> | ||||
|             <status> | ||||
| @@ -35,91 +35,63 @@ | ||||
|         </xsd:element> | ||||
|     </pd:endType> | ||||
|     <pd:endX>1072</pd:endX> | ||||
|     <pd:endY>205</pd:endY> | ||||
|     <pd:endY>196</pd:endY> | ||||
|     <pd:errorSchemas> | ||||
|         <DeleteError wsMsgRef="pfx3:ErrorMessage"/> | ||||
|         <DeleteError> | ||||
|             <xsd:element name="xmlDeleteError"> | ||||
|                 <xsd:complexType> | ||||
|                     <xsd:sequence> | ||||
|                         <xsd:element name="message" type="xsd:string"/> | ||||
|                     </xsd:sequence> | ||||
|                 </xsd:complexType> | ||||
|             </xsd:element> | ||||
|         </DeleteError> | ||||
|     </pd:errorSchemas> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1719483544323</pd:targetNamespace> | ||||
|     <pd:activity name="Read File"> | ||||
|         <pd:type>com.tibco.plugin.file.FileReadActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FileReadActivity</pd:resourceType> | ||||
|         <pd:x>373</pd:x> | ||||
|         <pd:y>205</pd:y> | ||||
|     <pd:activity name="FTP Get"> | ||||
|         <pd:type>com.tibco.plugin.ftp.FTPGetActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FTPGetActivityUI</pd:resourceType> | ||||
|         <pd:x>349</pd:x> | ||||
|         <pd:y>196</pd:y> | ||||
|         <config> | ||||
|             <encoding>text</encoding> | ||||
|             <Timeout>120000</Timeout> | ||||
|             <isBinary>false</isBinary> | ||||
|             <Overwrite>false</Overwrite> | ||||
|             <useProcessData>true</useProcessData> | ||||
|             <SharedUserData>/LocalResources/FTP Connection.sharedftp</SharedUserData> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns4:ReadActivityInputClass> | ||||
|                 <fileName> | ||||
|                     <xsl:value-of select="'/tibco/designer/5.12/projects/tibcoRepository/Resources/databases/databaseXML.xml'"/> | ||||
|                 </fileName> | ||||
|             </ns4:ReadActivityInputClass> | ||||
|             <FTPGetInputData> | ||||
|                 <RemoteFileName> | ||||
|                     <xsl:value-of select="$_globalVariables/ns6:GlobalVariables/XMLDatabasePath"/> | ||||
|                 </RemoteFileName> | ||||
|             </FTPGetInputData> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Parse XML"> | ||||
|         <pd:type>com.tibco.plugin.xml.XMLParseActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.XMLParseActivity</pd:resourceType> | ||||
|         <pd:x>514</pd:x> | ||||
|         <pd:y>205</pd:y> | ||||
|     <pd:activity name="FTP Put"> | ||||
|         <pd:type>com.tibco.plugin.ftp.FTPPutActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FTPPutActivityUI</pd:resourceType> | ||||
|         <pd:x>949</pd:x> | ||||
|         <pd:y>196</pd:y> | ||||
|         <config> | ||||
|             <inputStyle>text</inputStyle> | ||||
|             <xsdVersion>default</xsdVersion> | ||||
|             <validateOutput>true</validateOutput> | ||||
|             <term ref="pfx:authors"/> | ||||
|             <Timeout>120000</Timeout> | ||||
|             <FireWall>false</FireWall> | ||||
|             <isBinary>false</isBinary> | ||||
|             <Append>false</Append> | ||||
|             <useProcessData>true</useProcessData> | ||||
|             <Overwrite>true</Overwrite> | ||||
|             <SharedUserData>/LocalResources/FTP Connection.sharedftp</SharedUserData> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <xmlString> | ||||
|                 <xsl:value-of select="$Read-File/ns2:ReadActivityOutputTextClass/fileContent/textContent"/> | ||||
|             </xmlString> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <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>680</pd:x> | ||||
|         <pd:y>213</pd:y> | ||||
|         <config> | ||||
|             <element ref="pfx:authors"/> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <pfx:authors> | ||||
|                 <xsl:copy-of select="$Parse-XML/pfx:authors/pfx:author[@id!= $Start/root/id]"/> | ||||
|             </pfx:authors> | ||||
|         </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>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-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>959</pd:x> | ||||
|         <pd:y>205</pd:y> | ||||
|         <config> | ||||
|             <encoding>text</encoding> | ||||
|             <compressFile>None</compressFile> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns2:WriteActivityInputTextClass> | ||||
|                 <fileName> | ||||
|                     <xsl:value-of select="'/tibco/designer/5.12/projects/tibcoRepository/Resources/databases/databaseXML.xml'"/> | ||||
|                 </fileName> | ||||
|                 <textContent> | ||||
|             <FTPPutInputDataASCII> | ||||
|                 <RemoteFileName> | ||||
|                     <xsl:value-of select="$_globalVariables/ns6:GlobalVariables/XMLDatabasePath"/> | ||||
|                 </RemoteFileName> | ||||
|                 <Data> | ||||
|                     <xsl:value-of select="$Render-XML/xmlString"/> | ||||
|                 </textContent> | ||||
|             </ns2:WriteActivityInputTextClass> | ||||
|                 </Data> | ||||
|             </FTPPutInputDataASCII> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Generate Error"> | ||||
| @@ -133,31 +105,60 @@ | ||||
|         <pd:inputBindings> | ||||
|             <ns3:ActivityInput> | ||||
|                 <data> | ||||
|                     <pfx3:ErrorMessage> | ||||
|                         <part1> | ||||
|                             <pfx2:error> | ||||
|                                 <xsl:value-of select="'could not remove author with given id because it does not exist'"/> | ||||
|                             </pfx2:error> | ||||
|                         </part1> | ||||
|                     </pfx3:ErrorMessage> | ||||
|                     <xmlDeleteError> | ||||
|                         <message> | ||||
|                             <xsl:value-of select=""author with given ID does not exist""/> | ||||
|                         </message> | ||||
|                     </xmlDeleteError> | ||||
|                 </data> | ||||
|             </ns3:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>Start</pd:from> | ||||
|         <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</pd:from> | ||||
|         <pd:to>Parse XML</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:activity name="Parse XML"> | ||||
|         <pd:type>com.tibco.plugin.xml.XMLParseActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.XMLParseActivity</pd:resourceType> | ||||
|         <pd:x>514</pd:x> | ||||
|         <pd:y>196</pd:y> | ||||
|         <config> | ||||
|             <inputStyle>text</inputStyle> | ||||
|             <xsdVersion>default</xsdVersion> | ||||
|             <validateOutput>true</validateOutput> | ||||
|             <term ref="pfx:authors"/> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <xmlString> | ||||
|                 <xsl:value-of select="$FTP-Get/FTPGetOutputASCII/ASCIIData"/> | ||||
|             </xmlString> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <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>680</pd:x> | ||||
|         <pd:y>203</pd:y> | ||||
|         <config> | ||||
|             <element ref="pfx:authors"/> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <pfx:authors> | ||||
|                 <xsl:copy-of select="$Parse-XML/pfx:authors/pfx:author[@id!= $Start/root/id]"/> | ||||
|             </pfx:authors> | ||||
|         </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>821</pd:x> | ||||
|         <pd:y>196</pd:y> | ||||
|         <config> | ||||
|             <renderAsText>text</renderAsText> | ||||
|             <validateInput>false</validateInput> | ||||
|             <term ref="pfx:authors"/> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <xsl:copy-of select="$Remove-Author-By-Id/pfx:authors"/> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>Parse XML</pd:from> | ||||
|         <pd:to>Remove Author By Id</pd:to> | ||||
| @@ -172,20 +173,6 @@ | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Render XML</pd:from> | ||||
|         <pd:to>Write File</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</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>Parse XML</pd:from> | ||||
|         <pd:to>Generate Error</pd:to> | ||||
| @@ -195,4 +182,32 @@ | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|         <pd:xpath>not(boolean($Parse-XML/pfx:authors/pfx:author[@id=$Start/root/id]))</pd:xpath> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Start</pd:from> | ||||
|         <pd:to>FTP Get</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>FTP Get</pd:from> | ||||
|         <pd:to>Parse XML</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Render XML</pd:from> | ||||
|         <pd:to>FTP Put</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>FTP 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:ProcessDefinition> | ||||
| @@ -1,5 +1,5 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:pfx2="http://www.demo.com/author" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:pfx3="http://xmlns.example.com/1721737885605" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tib="http://www.tibco.com/bw/xslt/custom-functions" xmlns:ns2="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:ns3="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2"> | ||||
| <pd:ProcessDefinition xmlns:pfx="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:pfx2="http://www.demo.com/author" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:pfx3="http://xmlns.example.com/1721737885605" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tib="http://www.tibco.com/bw/xslt/custom-functions" xmlns:ns2="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:ns1="http://www.tibco.com/pe/DeployedVarsType" xmlns:ns4="http://www.tibco.com/schemas/httpRequest/Resources/schemas/ErrorSchema.xsd2" xmlns:ns3="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pd="http://xmlns.tibco.com/bw/process/2003"> | ||||
|     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/WSDL/WSDL.wsdl"/> | ||||
|     <wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/> | ||||
|     <pd:name>Processes/xml/author/XmlGET.process</pd:name> | ||||
| @@ -37,7 +37,15 @@ | ||||
|     <pd:endX>924</pd:endX> | ||||
|     <pd:endY>81</pd:endY> | ||||
|     <pd:errorSchemas> | ||||
|         <GETError wsMsgRef="pfx3:ErrorMessage"/> | ||||
|         <GETError> | ||||
|             <xsd:element name="xmlGetError"> | ||||
|                 <xsd:complexType> | ||||
|                     <xsd:sequence> | ||||
|                         <xsd:element name="message" type="xsd:string"/> | ||||
|                     </xsd:sequence> | ||||
|                 </xsd:complexType> | ||||
|             </xsd:element> | ||||
|         </GETError> | ||||
|     </pd:errorSchemas> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1719920186128</pd:targetNamespace> | ||||
| @@ -54,26 +62,10 @@ | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <xmlString> | ||||
|                 <xsl:value-of select="$Read-File/ns:ReadActivityOutputTextClass/fileContent/textContent"/> | ||||
|                 <xsl:value-of select="$FTP-Get/FTPGetOutputASCII/ASCIIData"/> | ||||
|             </xmlString> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Read File"> | ||||
|         <pd:type>com.tibco.plugin.file.FileReadActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FileReadActivity</pd:resourceType> | ||||
|         <pd:x>330</pd:x> | ||||
|         <pd:y>78</pd:y> | ||||
|         <config> | ||||
|             <encoding>text</encoding> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <pfx:ReadActivityInputClass> | ||||
|                 <fileName> | ||||
|                     <xsl:value-of select="'/tibco/designer/5.12/projects/tibcoRepository/Resources/databases/databaseXML.xml'"/> | ||||
|                 </fileName> | ||||
|             </pfx:ReadActivityInputClass> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Get Author By Id"> | ||||
|         <pd:type>com.tibco.plugin.mapper.MapperActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.MapperActivity</pd:resourceType> | ||||
| @@ -99,17 +91,35 @@ | ||||
|         <pd:inputBindings> | ||||
|             <ns2:ActivityInput> | ||||
|                 <data> | ||||
|                     <pfx3:ErrorMessage> | ||||
|                         <part1> | ||||
|                             <ns3:error> | ||||
|                                 <xsl:value-of select="'could not get the author with given id, because it does not exist'"/> | ||||
|                             </ns3:error> | ||||
|                         </part1> | ||||
|                     </pfx3:ErrorMessage> | ||||
|                     <xmlGetError> | ||||
|                         <message> | ||||
|                             <xsl:value-of select=""author with given id does not exist""/> | ||||
|                         </message> | ||||
|                     </xmlGetError> | ||||
|                 </data> | ||||
|             </ns2:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="FTP Get"> | ||||
|         <pd:type>com.tibco.plugin.ftp.FTPGetActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FTPGetActivityUI</pd:resourceType> | ||||
|         <pd:x>312</pd:x> | ||||
|         <pd:y>76</pd:y> | ||||
|         <config> | ||||
|             <Timeout>120000</Timeout> | ||||
|             <isBinary>false</isBinary> | ||||
|             <Overwrite>false</Overwrite> | ||||
|             <useProcessData>true</useProcessData> | ||||
|             <SharedUserData>/LocalResources/FTP Connection.sharedftp</SharedUserData> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <FTPGetInputData> | ||||
|                 <RemoteFileName> | ||||
|                     <xsl:value-of select="$_globalVariables/ns1:GlobalVariables/XMLDatabasePath"/> | ||||
|                 </RemoteFileName> | ||||
|             </FTPGetInputData> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>Parse XML</pd:from> | ||||
|         <pd:to>Get Author By Id</pd:to> | ||||
| @@ -117,20 +127,6 @@ | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Read File</pd:from> | ||||
|         <pd:to>Parse XML</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Start</pd:from> | ||||
|         <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>Get Author By Id</pd:from> | ||||
|         <pd:to>Generate Error</pd:to> | ||||
| @@ -147,4 +143,18 @@ | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>otherwise</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Start</pd:from> | ||||
|         <pd:to>FTP Get</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>FTP Get</pd:from> | ||||
|         <pd:to>Parse XML</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
| </pd:ProcessDefinition> | ||||
| @@ -1,5 +1,5 @@ | ||||
| <?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:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:pfx2="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:pfx3="http://xmlns.example.com/1721737885605" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xmlns.tibco.com/bw/activity/xml/render/bytesEnvelope/2003/05" xmlns:tib="http://www.tibco.com/bw/xslt/custom-functions" xmlns:ns4="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2" xmlns:ns3="http://www.tibco.com/namespaces/tnt/plugins/file/v2"> | ||||
| <pd:ProcessDefinition xmlns:pfx="http://www.demo.com/author" xmlns:pfx2="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:pfx3="http://xmlns.example.com/1721737885605" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xmlns.tibco.com/bw/activity/xml/render/bytesEnvelope/2003/05" xmlns:tib="http://www.tibco.com/bw/xslt/custom-functions" xmlns:ns1="http://www.tibco.com/pe/DeployedVarsType" xmlns:ns4="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2" xmlns:ns3="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns5="http://www.tibco.com/pe/EngineTypes" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pd="http://xmlns.tibco.com/bw/process/2003"> | ||||
|     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/author.xsd"/> | ||||
|     <wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/> | ||||
|     <pd:name>Processes/xml/author/XmlPOST.process</pd:name> | ||||
| @@ -13,8 +13,8 @@ | ||||
|             </xsd:complexType> | ||||
|         </xsd:element> | ||||
|     </pd:startType> | ||||
|     <pd:startX>51</pd:startX> | ||||
|     <pd:startY>212</pd:startY> | ||||
|     <pd:startX>132</pd:startX> | ||||
|     <pd:startY>237</pd:startY> | ||||
|     <pd:returnBindings> | ||||
|         <root> | ||||
|             <status> | ||||
| @@ -33,51 +33,26 @@ | ||||
|             </xsd:complexType> | ||||
|         </xsd:element> | ||||
|     </pd:endType> | ||||
|     <pd:endX>940</pd:endX> | ||||
|     <pd:endY>218</pd:endY> | ||||
|     <pd:endX>1141</pd:endX> | ||||
|     <pd:endY>237</pd:endY> | ||||
|     <pd:errorSchemas> | ||||
|         <PostError wsMsgRef="pfx3:ErrorMessage"/> | ||||
|         <PostError> | ||||
|             <xsd:element name="xmlPostError"> | ||||
|                 <xsd:complexType> | ||||
|                     <xsd:sequence> | ||||
|                         <xsd:element name="message" type="xsd:string"/> | ||||
|                     </xsd:sequence> | ||||
|                 </xsd:complexType> | ||||
|             </xsd:element> | ||||
|         </PostError> | ||||
|     </pd:errorSchemas> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1719920186128</pd:targetNamespace> | ||||
|     <pd:activity name="Read File"> | ||||
|         <pd:type>com.tibco.plugin.file.FileReadActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FileReadActivity</pd:resourceType> | ||||
|         <pd:x>194</pd:x> | ||||
|         <pd:y>212</pd:y> | ||||
|         <config> | ||||
|             <encoding>text</encoding> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns3:ReadActivityInputClass> | ||||
|                 <fileName> | ||||
|                     <xsl:value-of select="'/tibco/designer/5.12/projects/tibcoRepository/Resources/databases/databaseXML.xml'"/> | ||||
|                 </fileName> | ||||
|             </ns3:ReadActivityInputClass> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Parse XML"> | ||||
|         <pd:type>com.tibco.plugin.xml.XMLParseActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.XMLParseActivity</pd:resourceType> | ||||
|         <pd:x>340</pd:x> | ||||
|         <pd:y>215</pd:y> | ||||
|         <config> | ||||
|             <inputStyle>text</inputStyle> | ||||
|             <xsdVersion>default</xsdVersion> | ||||
|             <validateOutput>true</validateOutput> | ||||
|             <term ref="pfx:authors"/> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <xmlString> | ||||
|                 <xsl:value-of select="$Read-File/ns:ReadActivityOutputTextClass/fileContent/textContent"/> | ||||
|             </xmlString> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <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> | ||||
|         <pd:y>216</pd:y> | ||||
|         <pd:x>710</pd:x> | ||||
|         <pd:y>237</pd:y> | ||||
|         <config> | ||||
|             <element ref="pfx:authors"/> | ||||
|         </config> | ||||
| @@ -88,11 +63,125 @@ | ||||
|             </pfx:authors> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Add Authors Template"> | ||||
|         <pd:type>com.tibco.plugin.xml.XMLRendererActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.XMLRendererActivity</pd:resourceType> | ||||
|         <pd:x>393</pd:x> | ||||
|         <pd:y>370</pd:y> | ||||
|         <config> | ||||
|             <renderAsText>text</renderAsText> | ||||
|             <validateInput>false</validateInput> | ||||
|             <term ref="pfx:authors"/> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="FTP Get"> | ||||
|         <pd:type>com.tibco.plugin.ftp.FTPGetActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FTPGetActivityUI</pd:resourceType> | ||||
|         <pd:x>393</pd:x> | ||||
|         <pd:y>237</pd:y> | ||||
|         <config> | ||||
|             <Timeout>120000</Timeout> | ||||
|             <isBinary>false</isBinary> | ||||
|             <Overwrite>false</Overwrite> | ||||
|             <useProcessData>true</useProcessData> | ||||
|             <SharedUserData>/LocalResources/FTP Connection.sharedftp</SharedUserData> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <FTPGetInputData> | ||||
|                 <RemoteFileName> | ||||
|                     <xsl:value-of select="$_globalVariables/ns1:GlobalVariables/XMLDatabasePath"/> | ||||
|                 </RemoteFileName> | ||||
|             </FTPGetInputData> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="FTP Put"> | ||||
|         <pd:type>com.tibco.plugin.ftp.FTPPutActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FTPPutActivityUI</pd:resourceType> | ||||
|         <pd:x>1005</pd:x> | ||||
|         <pd:y>237</pd:y> | ||||
|         <config> | ||||
|             <Timeout>120000</Timeout> | ||||
|             <FireWall>false</FireWall> | ||||
|             <isBinary>false</isBinary> | ||||
|             <Append>false</Append> | ||||
|             <useProcessData>true</useProcessData> | ||||
|             <Overwrite>true</Overwrite> | ||||
|             <SharedUserData>/LocalResources/FTP Connection.sharedftp</SharedUserData> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <FTPPutInputDataASCII> | ||||
|                 <RemoteFileName> | ||||
|                     <xsl:value-of select="$_globalVariables/ns1:GlobalVariables/XMLDatabasePath"/> | ||||
|                 </RemoteFileName> | ||||
|                 <Data> | ||||
|                     <xsl:value-of select="$Render-XML/xmlString"/> | ||||
|                 </Data> | ||||
|             </FTPPutInputDataASCII> | ||||
|         </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>544</pd:x> | ||||
|         <pd:y>81</pd:y> | ||||
|         <config> | ||||
|             <faultName>PostError</faultName> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <pfx2:ActivityInput> | ||||
|                 <data> | ||||
|                     <xmlPostError> | ||||
|                         <message> | ||||
|                             <xsl:value-of select=""auhtor with given id already exist""/> | ||||
|                         </message> | ||||
|                     </xmlPostError> | ||||
|                 </data> | ||||
|             </pfx2:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="InitializeFile"> | ||||
|         <pd:type>com.tibco.plugin.file.FileWriteActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FileWriteActivity</pd:resourceType> | ||||
|         <pd:x>709</pd:x> | ||||
|         <pd:y>363</pd:y> | ||||
|         <config> | ||||
|             <encoding>text</encoding> | ||||
|             <compressFile>None</compressFile> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns:WriteActivityInputTextClass> | ||||
|                 <fileName> | ||||
|                     <xsl:value-of select="$_globalVariables/ns1:GlobalVariables/XMLDatabasePath"/> | ||||
|                 </fileName> | ||||
|                 <textContent> | ||||
|                     <xsl:value-of select="$Add-Authors-Template/xmlString"/> | ||||
|                 </textContent> | ||||
|             </ns:WriteActivityInputTextClass> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Parse XML"> | ||||
|         <pd:type>com.tibco.plugin.xml.XMLParseActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.XMLParseActivity</pd:resourceType> | ||||
|         <pd:x>541</pd:x> | ||||
|         <pd:y>237</pd:y> | ||||
|         <config> | ||||
|             <inputStyle>text</inputStyle> | ||||
|             <xsdVersion>default</xsdVersion> | ||||
|             <validateOutput>true</validateOutput> | ||||
|             <term ref="pfx:authors"/> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <xmlString> | ||||
|                 <xsl:value-of select="$FTP-Get/FTPGetOutputASCII/ASCIIData"/> | ||||
|             </xmlString> | ||||
|         </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>669</pd:x> | ||||
|         <pd:y>216</pd:y> | ||||
|         <pd:x>870</pd:x> | ||||
|         <pd:y>237</pd:y> | ||||
|         <config> | ||||
|             <renderAsText>text</renderAsText> | ||||
|             <validateInput>false</validateInput> | ||||
| @@ -102,96 +191,6 @@ | ||||
|             <xsl:copy-of select="$Add-Author/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>802</pd:x> | ||||
|         <pd:y>216</pd:y> | ||||
|         <config> | ||||
|             <encoding>text</encoding> | ||||
|             <compressFile>None</compressFile> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns:WriteActivityInputTextClass> | ||||
|                 <fileName> | ||||
|                     <xsl:value-of select="'/tibco/designer/5.12/projects/tibcoRepository/Resources/databases/databaseXML.xml'"/> | ||||
|                 </fileName> | ||||
|                 <textContent> | ||||
|                     <xsl:value-of select="$Render-XML/xmlString"/> | ||||
|                 </textContent> | ||||
|             </ns:WriteActivityInputTextClass> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Add Authors Template"> | ||||
|         <pd:type>com.tibco.plugin.xml.XMLRendererActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.XMLRendererActivity</pd:resourceType> | ||||
|         <pd:x>192</pd:x> | ||||
|         <pd:y>348</pd:y> | ||||
|         <config> | ||||
|             <renderAsText>text</renderAsText> | ||||
|             <validateInput>false</validateInput> | ||||
|             <term ref="pfx:authors"/> | ||||
|         </config> | ||||
|         <pd:inputBindings/> | ||||
|     </pd:activity> | ||||
|     <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> | ||||
|         <pd:y>341</pd:y> | ||||
|         <config> | ||||
|             <encoding>text</encoding> | ||||
|             <compressFile>None</compressFile> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns:WriteActivityInputTextClass> | ||||
|                 <fileName> | ||||
|                     <xsl:value-of select="'/tibco/designer/5.12/projects/tibcoRepository/Resources/databases/databaseXML.xml'"/> | ||||
|                 </fileName> | ||||
|                 <textContent> | ||||
|                     <xsl:value-of select="$Add-Authors-Template/xmlString"/> | ||||
|                 </textContent> | ||||
|             </ns:WriteActivityInputTextClass> | ||||
|         </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>343</pd:x> | ||||
|         <pd:y>59</pd:y> | ||||
|         <config> | ||||
|             <faultName>PostError</faultName> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <pfx2:ActivityInput> | ||||
|                 <data> | ||||
|                     <pfx3:ErrorMessage> | ||||
|                         <part1> | ||||
|                             <ns4:error> | ||||
|                                 <xsl:value-of select="'could not add author with given id because this id is already in use'"/> | ||||
|                             </ns4:error> | ||||
|                         </part1> | ||||
|                     </pfx3:ErrorMessage> | ||||
|                 </data> | ||||
|             </pfx2:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>Start</pd:from> | ||||
|         <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</pd:from> | ||||
|         <pd:to>Parse XML</pd:to> | ||||
|         <pd:xpathDescription>fileNotEmpty</pd:xpathDescription> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|         <pd:xpath>string-length($Read-File/ns:ReadActivityOutputTextClass/fileContent/textContent)>0</pd:xpath> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Parse XML</pd:from> | ||||
|         <pd:to>Add Author</pd:to> | ||||
| @@ -206,27 +205,6 @@ | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Render XML</pd:from> | ||||
|         <pd:to>Write File</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</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>Read File</pd:from> | ||||
|         <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>Add Authors Template</pd:from> | ||||
|         <pd:to>InitializeFile</pd:to> | ||||
| @@ -250,4 +228,41 @@ | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|         <pd:xpath>boolean($Parse-XML/pfx:authors/pfx:author[@id=$Start/root/pfx:author/@id])</pd:xpath> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Start</pd:from> | ||||
|         <pd:to>FTP Get</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>FTP Get</pd:from> | ||||
|         <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>FTP Get</pd:from> | ||||
|         <pd:to>Parse XML</pd:to> | ||||
|         <pd:xpathDescription>FileNotEmpty</pd:xpathDescription> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|         <pd:xpath>string-length($FTP-Get/FTPGetOutputASCII/ASCIIData)>2</pd:xpath> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Render XML</pd:from> | ||||
|         <pd:to>FTP Put</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>FTP 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:ProcessDefinition> | ||||
| @@ -1,5 +1,5 @@ | ||||
| <?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:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:pfx2="http://xmlns.tibco.com/bw/activity/xml/render/bytesEnvelope/2003/05" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:pfx3="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:pfx4="http://xmlns.example.com/1721737885605" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:ns3="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2"> | ||||
| <pd:ProcessDefinition xmlns:pfx="http://www.demo.com/author" xmlns:pfx2="http://xmlns.tibco.com/bw/activity/xml/render/bytesEnvelope/2003/05" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:pfx3="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:pfx4="http://xmlns.example.com/1721737885605" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://www.tibco.com/namespaces/tnt/plugins/file/v2" xmlns:ns1="http://www.tibco.com/pe/DeployedVarsType" xmlns:ns4="http://www.tibco.com/schemas/httpRequest/Resources/schemas/ErrorSchema.xsd2" xmlns:ns3="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pd="http://xmlns.tibco.com/bw/process/2003"> | ||||
|     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/author.xsd"/> | ||||
|     <wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/> | ||||
|     <pd:name>Processes/xml/author/XmlPUT.process</pd:name> | ||||
| @@ -14,7 +14,7 @@ | ||||
|         </xsd:element> | ||||
|     </pd:startType> | ||||
|     <pd:startX>35</pd:startX> | ||||
|     <pd:startY>148</pd:startY> | ||||
|     <pd:startY>142</pd:startY> | ||||
|     <pd:returnBindings> | ||||
|         <root> | ||||
|             <status> | ||||
| @@ -34,93 +34,63 @@ | ||||
|         </xsd:element> | ||||
|     </pd:endType> | ||||
|     <pd:endX>849</pd:endX> | ||||
|     <pd:endY>147</pd:endY> | ||||
|     <pd:endY>142</pd:endY> | ||||
|     <pd:errorSchemas> | ||||
|         <PutError wsMsgRef="pfx4:ErrorMessage"/> | ||||
|         <PutError> | ||||
|             <xsd:element name="XMLPutError"> | ||||
|                 <xsd:complexType> | ||||
|                     <xsd:sequence> | ||||
|                         <xsd:element name="message" type="xsd:string"/> | ||||
|                     </xsd:sequence> | ||||
|                 </xsd:complexType> | ||||
|             </xsd:element> | ||||
|         </PutError> | ||||
|     </pd:errorSchemas> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1719920186128</pd:targetNamespace> | ||||
|     <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> | ||||
|         <pd:y>147</pd:y> | ||||
|     <pd:activity name="FTP Get"> | ||||
|         <pd:type>com.tibco.plugin.ftp.FTPGetActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FTPGetActivityUI</pd:resourceType> | ||||
|         <pd:x>181</pd:x> | ||||
|         <pd:y>142</pd:y> | ||||
|         <config> | ||||
|             <encoding>text</encoding> | ||||
|             <Timeout>120000</Timeout> | ||||
|             <isBinary>false</isBinary> | ||||
|             <Overwrite>false</Overwrite> | ||||
|             <useProcessData>true</useProcessData> | ||||
|             <SharedUserData>/LocalResources/FTP Connection.sharedftp</SharedUserData> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns2:ReadActivityInputClass> | ||||
|                 <fileName> | ||||
|                     <xsl:value-of select="'/tibco/designer/5.12/projects/tibcoRepository/Resources/databases/databaseXML.xml'"/> | ||||
|                 </fileName> | ||||
|             </ns2:ReadActivityInputClass> | ||||
|             <FTPGetInputData> | ||||
|                 <RemoteFileName> | ||||
|                     <xsl:value-of select="$_globalVariables/ns1:GlobalVariables/XMLDatabasePath"/> | ||||
|                 </RemoteFileName> | ||||
|             </FTPGetInputData> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Parse XML"> | ||||
|         <pd:type>com.tibco.plugin.xml.XMLParseActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.XMLParseActivity</pd:resourceType> | ||||
|         <pd:x>340</pd:x> | ||||
|         <pd:y>148</pd:y> | ||||
|     <pd:activity name="FTP Put"> | ||||
|         <pd:type>com.tibco.plugin.ftp.FTPPutActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FTPPutActivityUI</pd:resourceType> | ||||
|         <pd:x>727</pd:x> | ||||
|         <pd:y>142</pd:y> | ||||
|         <config> | ||||
|             <inputStyle>text</inputStyle> | ||||
|             <xsdVersion>default</xsdVersion> | ||||
|             <validateOutput>true</validateOutput> | ||||
|             <term ref="pfx:authors"/> | ||||
|             <Timeout>120000</Timeout> | ||||
|             <FireWall>false</FireWall> | ||||
|             <isBinary>false</isBinary> | ||||
|             <Append>false</Append> | ||||
|             <useProcessData>true</useProcessData> | ||||
|             <Overwrite>true</Overwrite> | ||||
|             <SharedUserData>/LocalResources/FTP Connection.sharedftp</SharedUserData> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <xmlString> | ||||
|                 <xsl:value-of select="$Read-File/ns:ReadActivityOutputTextClass/fileContent/textContent"/> | ||||
|             </xmlString> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <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>155</pd:y> | ||||
|         <config> | ||||
|             <element ref="pfx:authors"/> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <pfx:authors> | ||||
|                 <xsl:copy-of select="$Start/root/pfx:author"/> | ||||
|                 <xsl:variable name="var" select="$Start/root/pfx:author/@id"/> | ||||
|                 <xsl:copy-of select="$Parse-XML/pfx:authors/pfx:author[@id!=$var]"/> | ||||
|             </pfx:authors> | ||||
|         </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>598</pd:x> | ||||
|         <pd:y>149</pd:y> | ||||
|         <config> | ||||
|             <renderAsText>text</renderAsText> | ||||
|             <validateInput>false</validateInput> | ||||
|             <term ref="pfx:authors"/> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <xsl:copy-of select="$Update-Author-With-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>725</pd:x> | ||||
|         <pd:y>150</pd:y> | ||||
|         <config> | ||||
|             <encoding>text</encoding> | ||||
|             <compressFile>None</compressFile> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns:WriteActivityInputTextClass> | ||||
|                 <fileName> | ||||
|                     <xsl:value-of select="'/tibco/designer/5.12/projects/tibcoRepository/Resources/databases/databaseXML.xml'"/> | ||||
|                 </fileName> | ||||
|                 <textContent> | ||||
|             <FTPPutInputDataASCII> | ||||
|                 <RemoteFileName> | ||||
|                     <xsl:value-of select="$_globalVariables/ns1:GlobalVariables/XMLDatabasePath"/> | ||||
|                 </RemoteFileName> | ||||
|                 <Data> | ||||
|                     <xsl:value-of select="$Render-XML/xmlString"/> | ||||
|                 </textContent> | ||||
|             </ns:WriteActivityInputTextClass> | ||||
|                 </Data> | ||||
|             </FTPPutInputDataASCII> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Generate Error"> | ||||
| @@ -134,31 +104,62 @@ | ||||
|         <pd:inputBindings> | ||||
|             <pfx3:ActivityInput> | ||||
|                 <data> | ||||
|                     <pfx4:ErrorMessage> | ||||
|                         <part1> | ||||
|                             <ns3:error> | ||||
|                                 <xsl:value-of select="'could not update author with given id becuase it  does not exist'"/> | ||||
|                             </ns3:error> | ||||
|                         </part1> | ||||
|                     </pfx4:ErrorMessage> | ||||
|                     <XMLPutError> | ||||
|                         <message> | ||||
|                             <xsl:value-of select=""author with given id does not exist""/> | ||||
|                         </message> | ||||
|                     </XMLPutError> | ||||
|                 </data> | ||||
|             </pfx3:ActivityInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>Start</pd:from> | ||||
|         <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</pd:from> | ||||
|         <pd:to>Parse XML</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:activity name="Parse XML"> | ||||
|         <pd:type>com.tibco.plugin.xml.XMLParseActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.XMLParseActivity</pd:resourceType> | ||||
|         <pd:x>340</pd:x> | ||||
|         <pd:y>142</pd:y> | ||||
|         <config> | ||||
|             <inputStyle>text</inputStyle> | ||||
|             <xsdVersion>default</xsdVersion> | ||||
|             <validateOutput>true</validateOutput> | ||||
|             <term ref="pfx:authors"/> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <xmlString> | ||||
|                 <xsl:value-of select="$FTP-Get/FTPGetOutputASCII/ASCIIData"/> | ||||
|             </xmlString> | ||||
|         </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>601</pd:x> | ||||
|         <pd:y>142</pd:y> | ||||
|         <config> | ||||
|             <renderAsText>text</renderAsText> | ||||
|             <validateInput>false</validateInput> | ||||
|             <term ref="pfx:authors"/> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <xsl:copy-of select="$Update-Author-With-Id/pfx:authors"/> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <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>149</pd:y> | ||||
|         <config> | ||||
|             <element ref="pfx:authors"/> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <pfx:authors> | ||||
|                 <xsl:copy-of select="$Start/root/pfx:author"/> | ||||
|                 <xsl:variable name="var" select="$Start/root/pfx:author/@id"/> | ||||
|                 <xsl:copy-of select="$Parse-XML/pfx:authors/pfx:author[@id!=$var]"/> | ||||
|             </pfx:authors> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>Parse XML</pd:from> | ||||
|         <pd:to>Update Author With Id</pd:to> | ||||
| @@ -173,20 +174,6 @@ | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Render XML</pd:from> | ||||
|         <pd:to>Write File</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</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>Parse XML</pd:from> | ||||
|         <pd:to>Generate Error</pd:to> | ||||
| @@ -196,4 +183,32 @@ | ||||
|         <pd:conditionType>xpath</pd:conditionType> | ||||
|         <pd:xpath>not(boolean($Parse-XML/pfx:authors/pfx:author[@id=$Start/root/pfx:author/@id]))</pd:xpath> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Start</pd:from> | ||||
|         <pd:to>FTP Get</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>FTP Get</pd:from> | ||||
|         <pd:to>Parse XML</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Render XML</pd:from> | ||||
|         <pd:to>FTP Put</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>FTP 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:ProcessDefinition> | ||||
							
								
								
									
										7
									
								
								Resources/Folder/.folder
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								Resources/Folder/.folder
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002"> | ||||
|     <folder resourceType="ae.designerfolder" name="Folder" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false"> | ||||
|         <description/> | ||||
|         <fixedChildren/> | ||||
|     </folder> | ||||
| </Repository:repository> | ||||
| @@ -22,10 +22,10 @@ | ||||
|                             <tabType>impl</tabType> | ||||
|                             <config> | ||||
|                                 <operations> | ||||
|                                     <row opName="Post" opImpl="/Resources/WSDL/SoapPostAuthor.process"/> | ||||
|                                     <row opName="Get" opImpl="/Resources/WSDL/SoapGetAuthor.process"/> | ||||
|                                     <row opName="Put" opImpl="/Resources/WSDL/SoapPutAuthor.process"/> | ||||
|                                     <row opName="Delete" opImpl="/Resources/WSDL/SoapDeleteAuthor.process"/> | ||||
|                                     <row opName="Post" opImpl="/Processes/soap/SoapPostAuthor.process"/> | ||||
|                                     <row opName="Get" opImpl="/Processes/soap/SoapGetAuthor.process"/> | ||||
|                                     <row opName="Put" opImpl="/Processes/soap/SoapPutAuthor.process"/> | ||||
|                                     <row opName="Delete" opImpl="/Processes/soap/SoapDeleteAuthor.process"/> | ||||
|                                 </operations> | ||||
|                             </config> | ||||
|                         </tab> | ||||
| @@ -41,7 +41,7 @@ | ||||
|                                                     <tabName>soap.service.transport.ui.transport.tab.label</tabName> | ||||
|                                                     <tabType>transport</tabType> | ||||
|                                                     <config> | ||||
|                                                         <sharedChannel>/LocalResources/alternativeQueue.sharedjmscon</sharedChannel> | ||||
|                                                         <sharedChannel>/LocalResources/jmsConnections/alternativeQueue.sharedjmscon</sharedChannel> | ||||
|                                                         <transport> | ||||
|                                                             <config> | ||||
|                                                                 <JMSTo>queue.sample</JMSTo> | ||||
|   | ||||
							
								
								
									
										7
									
								
								Resources/builders/.folder
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								Resources/builders/.folder
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002"> | ||||
|     <folder resourceType="ae.designerfolder" name="builders" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false"> | ||||
|         <description/> | ||||
|         <fixedChildren/> | ||||
|     </folder> | ||||
| </Repository:repository> | ||||
							
								
								
									
										27
									
								
								Resources/builders/httpRest.archive
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								Resources/builders/httpRest.archive
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002"> | ||||
|     <enterpriseArchive> | ||||
|         <sharedArchive name="Shared Archive"> | ||||
|             <resourceType>shared.archive.resource</resourceType> | ||||
|             <authorProperty>wojciech</authorProperty> | ||||
|             <sharedResources/> | ||||
|             <sharedFiles/> | ||||
|             <sharedJarFiles/> | ||||
|         </sharedArchive> | ||||
|         <processArchive name="Process Archive"> | ||||
|             <resourceType>process.archive.resource</resourceType> | ||||
|             <authorProperty>wojciech</authorProperty> | ||||
|             <processProperty>/Processes/rest/RestRequest.process</processProperty> | ||||
|         </processArchive> | ||||
|         <versionProperty>2</versionProperty> | ||||
|         <authorProperty>wojciech</authorProperty> | ||||
|         <addServiceSettableGvars>true</addServiceSettableGvars> | ||||
|         <name>httpRest</name> | ||||
|         <designer> | ||||
|             <lockedProperties/> | ||||
|             <fixedChildren/> | ||||
|             <resourceDescriptions/> | ||||
|         </designer> | ||||
|         <fileLocationProperty>/home/wojciech/tibcoFTPRepo.ear</fileLocationProperty> | ||||
|     </enterpriseArchive> | ||||
| </Repository:repository> | ||||
							
								
								
									
										27
									
								
								Resources/builders/jmsWithJars.archive
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										27
									
								
								Resources/builders/jmsWithJars.archive
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,27 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002"> | ||||
|     <enterpriseArchive> | ||||
|         <sharedArchive name="Shared Archive"> | ||||
|             <resourceType>shared.archive.resource</resourceType> | ||||
|             <authorProperty>wojciech</authorProperty> | ||||
|             <sharedResources/> | ||||
|             <sharedFiles/> | ||||
|             <sharedJarFiles>/tibco/ems/10.1/lib/tibjms.jar</sharedJarFiles> | ||||
|         </sharedArchive> | ||||
|         <processArchive name="Process Archive"> | ||||
|             <resourceType>process.archive.resource</resourceType> | ||||
|             <authorProperty>wojciech</authorProperty> | ||||
|             <processProperty>/Processes/jms/JmsDelete.process,/Processes/jms/JmsGet.process,/Processes/jms/JmsPost.process,/Processes/jms/JmsPut.process</processProperty> | ||||
|         </processArchive> | ||||
|         <versionProperty>9</versionProperty> | ||||
|         <authorProperty>wojciech</authorProperty> | ||||
|         <addServiceSettableGvars>true</addServiceSettableGvars> | ||||
|         <name>jmsWithJars</name> | ||||
|         <designer> | ||||
|             <lockedProperties/> | ||||
|             <fixedChildren/> | ||||
|             <resourceDescriptions/> | ||||
|         </designer> | ||||
|         <fileLocationProperty>/home/wojciech/jmsWithJars.ear</fileLocationProperty> | ||||
|     </enterpriseArchive> | ||||
| </Repository:repository> | ||||
| @@ -40,6 +40,6 @@ | ||||
|                 <PropertyDefaultValue>60000</PropertyDefaultValue> | ||||
|             </row> | ||||
|         </HttpConnectionProperties> | ||||
|         <Port>8888</Port> | ||||
|         <Port>%%httpPort%%</Port> | ||||
|     </config> | ||||
| </ns0:httpSharedResource> | ||||
| @@ -1,127 +1,29 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <ns0:authors xmlns:ns0="http://www.demo.com/author"> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" id="1009"> | ||||
|         <ns0:firstName>siema</ns0:firstName> | ||||
|         <ns0:lastName>asd</ns0:lastName> | ||||
|         <ns0:age>56</ns0:age> | ||||
|         <ns0:dateOfBirth>2024-08-27</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2024-08-27</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" id="1007"> | ||||
|         <ns0:firstName>siema</ns0:firstName> | ||||
|         <ns0:lastName>asd</ns0:lastName> | ||||
|         <ns0:age>34</ns0:age> | ||||
|         <ns0:dateOfBirth>2024-08-05</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2024-08-14</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" id="1006"> | ||||
|         <ns0:firstName>siema</ns0:firstName> | ||||
|         <ns0:lastName>asd</ns0:lastName> | ||||
|         <ns0:age>11</ns0:age> | ||||
|         <ns0:dateOfBirth>2024-07-31</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2024-08-12</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" id="101"> | ||||
|         <ns0:firstName>asd</ns0:firstName> | ||||
|         <ns0:lastName>asd</ns0:lastName> | ||||
|         <ns0:age>23</ns0:age> | ||||
|         <ns0:dateOfBirth>2024-08-27</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2024-08-27</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" id="47965"> | ||||
|         <ns0:firstName>wer</ns0:firstName> | ||||
|         <ns0:lastName>asd</ns0:lastName> | ||||
|         <ns0:age>12</ns0:age> | ||||
|         <ns0:dateOfBirth>2024-08-14</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2024-08-30</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" id="46375"> | ||||
|         <ns0:firstName>siema</ns0:firstName> | ||||
|         <ns0:lastName>fgtbn</ns0:lastName> | ||||
|         <ns0:age>45</ns0:age> | ||||
|         <ns0:dateOfBirth>2024-08-27</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2024-08-27</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" id="35675"> | ||||
|         <ns0:firstName>siema</ns0:firstName> | ||||
|         <ns0:lastName>asd</ns0:lastName> | ||||
|         <ns0:age>67</ns0:age> | ||||
|         <ns0:dateOfBirth>2024-08-27</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2024-08-27</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" id="5925"> | ||||
|         <ns0:firstName>asd</ns0:firstName> | ||||
|         <ns0:lastName>dsf</ns0:lastName> | ||||
|         <ns0:age>32</ns0:age> | ||||
|         <ns0:dateOfBirth>2024-08-27</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2024-08-27</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" id="3692"> | ||||
|         <ns0:firstName>piwo</ns0:firstName> | ||||
|         <ns0:lastName>tydr</ns0:lastName> | ||||
|         <ns0:age>54</ns0:age> | ||||
|         <ns0:dateOfBirth>2024-08-26</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2024-08-26</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" id="4864"> | ||||
|         <ns0:firstName>drtg</ns0:firstName> | ||||
|         <ns0:lastName>dfg</ns0:lastName> | ||||
|         <ns0:age>54</ns0:age> | ||||
|         <ns0:dateOfBirth>2024-08-26</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2024-08-26</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" id="7347"> | ||||
|         <ns0:firstName>siema</ns0:firstName> | ||||
|         <ns0:lastName>asd</ns0:lastName> | ||||
|         <ns0:age>12</ns0:age> | ||||
|         <ns0:dateOfBirth>2024-08-26</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2024-08-26</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" id="123"> | ||||
|         <ns0:firstName>siema</ns0:firstName> | ||||
|         <ns0:lastName>tydr</ns0:lastName> | ||||
|         <ns0:age>12</ns0:age> | ||||
|         <ns0:dateOfBirth>2024-08-21</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2024-08-08</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" id="1410"> | ||||
|         <ns0:firstName>asd</ns0:firstName> | ||||
|         <ns0:lastName>asd</ns0:lastName> | ||||
|         <ns0:age>21</ns0:age> | ||||
|         <ns0:dateOfBirth>2024-08-07</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2024-08-07</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" id="5678"> | ||||
|         <ns0:firstName>siema</ns0:firstName> | ||||
|         <ns0:lastName>asd</ns0:lastName> | ||||
|         <ns0:age>56</ns0:age> | ||||
|         <ns0:dateOfBirth>2024-08-15</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2024-08-23</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" id="12221"> | ||||
|         <ns0:firstName>siema</ns0:firstName> | ||||
|         <ns0:lastName>asd</ns0:lastName> | ||||
|         <ns0:age>12</ns0:age> | ||||
|         <ns0:dateOfBirth>2024-08-07</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2024-08-07</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" id="4353"> | ||||
|         <ns0:firstName>fgdg</ns0:firstName> | ||||
|         <ns0:lastName>asd</ns0:lastName> | ||||
|         <ns0:age>12</ns0:age> | ||||
|         <ns0:dateOfBirth>2024-08-02</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2024-08-22</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" id="99"> | ||||
|         <ns0:firstName>prubva</ns0:firstName> | ||||
|         <ns0:lastName>sfdgsg</ns0:lastName> | ||||
|         <ns0:age>987</ns0:age> | ||||
|         <ns0:dateOfBirth>2000-02-01</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2000-02-06</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|     <author xmlns:ns0="http://www.demo.com/author" xmlns="http://www.demo.com/author" id="15"> | ||||
|     <author xmlns="http://www.demo.com/author" id="26"> | ||||
|         <firstName>piwo</firstName> | ||||
|         <lastName>harnas</lastName> | ||||
|         <lastName>karol</lastName> | ||||
|         <age>12</age> | ||||
|         <dateOfBirth>2000-12-12</dateOfBirth> | ||||
|         <dateOfDeath>2000-12-12</dateOfDeath> | ||||
|     </author> | ||||
|     <author xmlns:ns0="http://www.demo.com/author" xmlns="http://www.demo.com/author" id="25"> | ||||
|         <firstName>piwo</firstName> | ||||
|         <lastName>karol</lastName> | ||||
|         <age>12</age> | ||||
|         <dateOfBirth>2000-12-12</dateOfBirth> | ||||
|         <dateOfDeath>2000-12-12</dateOfDeath> | ||||
|     </author> | ||||
|     <author xmlns:ns0="http://www.demo.com/author" xmlns="http://www.demo.com/author" id="24"> | ||||
|         <firstName>piwo</firstName> | ||||
|         <lastName>karol</lastName> | ||||
|         <age>12</age> | ||||
|         <dateOfBirth>2000-12-12</dateOfBirth> | ||||
|         <dateOfDeath>2000-12-12</dateOfDeath> | ||||
|     </author> | ||||
|     <author xmlns:ns0="http://www.demo.com/author" xmlns="http://www.demo.com/author" id="23"> | ||||
|         <firstName>piwo</firstName> | ||||
|         <lastName>karol</lastName> | ||||
|         <age>12</age> | ||||
|         <dateOfBirth>2000-12-12</dateOfBirth> | ||||
|         <dateOfDeath>2000-12-12</dateOfDeath> | ||||
|   | ||||
| @@ -1,46 +0,0 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <authors> | ||||
|     <ns0:author xmlns:ns0="http://www.demo.com/author" id="64"> | ||||
|         <ns0:firstName>prubva</ns0:firstName> | ||||
|         <ns0:lastName>sfdgsg</ns0:lastName> | ||||
|         <ns0:age>987</ns0:age> | ||||
|         <ns0:dateOfBirth>2000-02-01</ns0:dateOfBirth> | ||||
|         <ns0:dateOfDeath>2000-02-06</ns0:dateOfDeath> | ||||
|     </ns0:author> | ||||
|  | ||||
| <ns0:author xmlns:ns0="http://www.demo.com/author" id="65"> | ||||
|     <ns0:firstName>prubva</ns0:firstName> | ||||
|     <ns0:lastName>sfdgsg</ns0:lastName> | ||||
|     <ns0:age>987</ns0:age> | ||||
|     <ns0:dateOfBirth>2000-02-01</ns0:dateOfBirth> | ||||
|     <ns0:dateOfDeath>2000-02-06</ns0:dateOfDeath> | ||||
| </ns0:author> | ||||
| <ns0:author xmlns:ns0="http://www.demo.com/author" id="66"> | ||||
|     <ns0:firstName>prubva</ns0:firstName> | ||||
|     <ns0:lastName>sfdgsg</ns0:lastName> | ||||
|     <ns0:age>987</ns0:age> | ||||
|     <ns0:dateOfBirth>2000-02-01</ns0:dateOfBirth> | ||||
|     <ns0:dateOfDeath>2000-02-06</ns0:dateOfDeath> | ||||
| </ns0:author> | ||||
| <ns0:author xmlns:ns0="http://www.demo.com/author" id="76"> | ||||
|     <ns0:firstName>prubva</ns0:firstName> | ||||
|     <ns0:lastName>sfdgsg</ns0:lastName> | ||||
|     <ns0:age>987</ns0:age> | ||||
|     <ns0:dateOfBirth>2000-02-01</ns0:dateOfBirth> | ||||
|     <ns0:dateOfDeath>2000-02-06</ns0:dateOfDeath> | ||||
| </ns0:author> | ||||
| <ns0:author xmlns:ns0="http://www.demo.com/author" id="12"> | ||||
|     <ns0:firstName>czesc</ns0:firstName> | ||||
|     <ns0:lastName>czesc</ns0:lastName> | ||||
|     <ns0:age>12</ns0:age> | ||||
|     <ns0:dateOfBirth>2000-01-01</ns0:dateOfBirth> | ||||
|     <ns0:dateOfDeath>2000-01-01</ns0:dateOfDeath> | ||||
| </ns0:author> | ||||
| <ns0:author xmlns:ns0="http://www.demo.com/author" id="69"> | ||||
|     <ns0:firstName>69</ns0:firstName> | ||||
|     <ns0:lastName>69</ns0:lastName> | ||||
|     <ns0:age>69</ns0:age> | ||||
|     <ns0:dateOfBirth>1999-01-01</ns0:dateOfBirth> | ||||
|     <ns0:dateOfDeath>1999-01-01</ns0:dateOfDeath> | ||||
| </ns0:author> | ||||
| <ns0:author xmlns:ns0="http://www.demo.com/author" id="979"><ns0:firstName>69</ns0:firstName><ns0:lastName>69</ns0:lastName><ns0:dateOfBirth>1999-01-01</ns0:dateOfBirth><ns0:dateOfDeath>1999-01-01</ns0:dateOfDeath><ns0:age>69</ns0:age></ns0:author></authors> | ||||
| @@ -33,6 +33,22 @@ | ||||
| 			<type>String</type> | ||||
| 			<modTime>1719474686815</modTime> | ||||
| 		</globalVariable> | ||||
| 		<globalVariable> | ||||
| 			<name>FTPPassword</name> | ||||
| 			<value>3EyacCIOg8NPfbERzx0q6ZZh54oryRJs</value> | ||||
| 			<deploymentSettable>true</deploymentSettable> | ||||
| 			<serviceSettable>false</serviceSettable> | ||||
| 			<type>String</type> | ||||
| 			<modTime>1725011413071</modTime> | ||||
| 		</globalVariable> | ||||
| 		<globalVariable> | ||||
| 			<name>FTPUSername</name> | ||||
| 			<value>56e0529d6cd24984a385de40aad2fb98</value> | ||||
| 			<deploymentSettable>true</deploymentSettable> | ||||
| 			<serviceSettable>false</serviceSettable> | ||||
| 			<type>String</type> | ||||
| 			<modTime>1725011413090</modTime> | ||||
| 		</globalVariable> | ||||
| 		<globalVariable> | ||||
| 			<name>HawkEnabled</name> | ||||
| 			<value>false</value> | ||||
| @@ -130,12 +146,36 @@ | ||||
| 			<modTime>1719474686789</modTime> | ||||
| 		</globalVariable> | ||||
| 		<globalVariable> | ||||
| 			<name>processType</name> | ||||
| 			<value>sql</value> | ||||
| 			<name>XMLDatabasePath</name> | ||||
| 			<value>/home/wojciech/databaseXML.xml</value> | ||||
| 			<deploymentSettable>true</deploymentSettable> | ||||
| 			<serviceSettable>false</serviceSettable> | ||||
| 			<type>String</type> | ||||
| 			<modTime>1722336781786</modTime> | ||||
| 			<modTime>1725011259812</modTime> | ||||
| 		</globalVariable> | ||||
| 		<globalVariable> | ||||
| 			<name>httpPort</name> | ||||
| 			<value>8888</value> | ||||
| 			<deploymentSettable>true</deploymentSettable> | ||||
| 			<serviceSettable>false</serviceSettable> | ||||
| 			<type>String</type> | ||||
| 			<modTime>1724936576252</modTime> | ||||
| 		</globalVariable> | ||||
| 		<globalVariable> | ||||
| 			<name>jmsURL</name> | ||||
| 			<value>tcp://localhost:7222</value> | ||||
| 			<deploymentSettable>true</deploymentSettable> | ||||
| 			<serviceSettable>false</serviceSettable> | ||||
| 			<type>String</type> | ||||
| 			<modTime>1725360353414</modTime> | ||||
| 		</globalVariable> | ||||
| 		<globalVariable> | ||||
| 			<name>processType</name> | ||||
| 			<value>xml</value> | ||||
| 			<deploymentSettable>true</deploymentSettable> | ||||
| 			<serviceSettable>false</serviceSettable> | ||||
| 			<type>String</type> | ||||
| 			<modTime>1724828994422</modTime> | ||||
| 		</globalVariable> | ||||
| 	</globalVariables> | ||||
| </repository> | ||||
		Reference in New Issue
	
	Block a user
	 wojciech
					wojciech