current version
This commit is contained in:
		
							
								
								
									
										197
									
								
								Processes/xml/XMLPUT.process
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										197
									
								
								Processes/xml/XMLPUT.process
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,197 @@ | ||||
| <?xml version="1.0" encoding="UTF-8"?> | ||||
| <pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.demo.com/author" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/file" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||||
|     <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/putRequest.xsd"/> | ||||
|     <pd:name>Processes/xml/XMLPUT.process</pd:name> | ||||
|     <pd:startName>Start</pd:startName> | ||||
|     <pd:startType> | ||||
|         <xsd:element name="root"> | ||||
|             <xsd:complexType> | ||||
|                 <xsd:sequence> | ||||
|                     <xsd:element ref="pfx:author"/> | ||||
|                 </xsd:sequence> | ||||
|             </xsd:complexType> | ||||
|         </xsd:element> | ||||
|     </pd:startType> | ||||
|     <pd:startX>35</pd:startX> | ||||
|     <pd:startY>148</pd:startY> | ||||
|     <pd:returnBindings/> | ||||
|     <pd:endName>End</pd:endName> | ||||
|     <pd:endX>848</pd:endX> | ||||
|     <pd:endY>151</pd:endY> | ||||
|     <pd:errorSchemas/> | ||||
|     <pd:processVariables/> | ||||
|     <pd:targetNamespace>http://xmlns.example.com/1719920186128</pd:targetNamespace> | ||||
|     <pd:activity name="Transform-XML-1"> | ||||
|         <pd:type>com.tibco.plugin.xml.XMLTransformActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.XMLTransformActivity</pd:resourceType> | ||||
|         <pd:x>422</pd:x> | ||||
|         <pd:y>151</pd:y> | ||||
|         <config> | ||||
|             <inputStyle>binary</inputStyle> | ||||
|             <engine>TibcoXML</engine> | ||||
|             <stylesheet>/Resources/xslt transformers/XSLT File.xslt</stylesheet> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <bytesInput> | ||||
|                 <xmlBytesIn> | ||||
|                     <xsl:value-of select="$Read-File-1/ns:ReadActivityOutputBinaryClass/fileContent/binaryContent"/> | ||||
|                 </xmlBytesIn> | ||||
|                 <parameter> | ||||
|                     <name> | ||||
|                         <xsl:value-of select="'id'"/> | ||||
|                     </name> | ||||
|                     <value> | ||||
|                         <xsl:value-of select="$Start/root/pfx:author/@id"/> | ||||
|                     </value> | ||||
|                     <isXMLDocument> | ||||
|                         <xsl:value-of select="'false'"/> | ||||
|                     </isXMLDocument> | ||||
|                 </parameter> | ||||
|                 <parameter> | ||||
|                     <name> | ||||
|                         <xsl:value-of select="'firstname'"/> | ||||
|                     </name> | ||||
|                     <value> | ||||
|                         <xsl:value-of select="$Start/root/pfx:author/pfx:firstName"/> | ||||
|                     </value> | ||||
|                     <isXMLDocument> | ||||
|                         <xsl:value-of select="'false'"/> | ||||
|                     </isXMLDocument> | ||||
|                 </parameter> | ||||
|                 <parameter> | ||||
|                     <name> | ||||
|                         <xsl:value-of select="'secondname'"/> | ||||
|                     </name> | ||||
|                     <value> | ||||
|                         <xsl:value-of select="$Start/root/pfx:author/pfx:lastName"/> | ||||
|                     </value> | ||||
|                     <isXMLDocument> | ||||
|                         <xsl:value-of select="'false'"/> | ||||
|                     </isXMLDocument> | ||||
|                 </parameter> | ||||
|                 <parameter> | ||||
|                     <name> | ||||
|                         <xsl:value-of select="'date-of-birth'"/> | ||||
|                     </name> | ||||
|                     <value> | ||||
|                         <xsl:value-of select="$Start/root/pfx:author/pfx:dateOfBirth"/> | ||||
|                     </value> | ||||
|                     <isXMLDocument> | ||||
|                         <xsl:value-of select="'false'"/> | ||||
|                     </isXMLDocument> | ||||
|                 </parameter> | ||||
|                 <parameter> | ||||
|                     <name> | ||||
|                         <xsl:value-of select="'date-of-death'"/> | ||||
|                     </name> | ||||
|                     <value> | ||||
|                         <xsl:value-of select="$Start/root/pfx:author/pfx:dateOfDeath"/> | ||||
|                     </value> | ||||
|                     <isXMLDocument> | ||||
|                         <xsl:value-of select="'false'"/> | ||||
|                     </isXMLDocument> | ||||
|                 </parameter> | ||||
|                 <parameter> | ||||
|                     <name> | ||||
|                         <xsl:value-of select="'age'"/> | ||||
|                     </name> | ||||
|                     <value> | ||||
|                         <xsl:value-of select="$Start/root/pfx:author/pfx:age"/> | ||||
|                     </value> | ||||
|                     <isXMLDocument> | ||||
|                         <xsl:value-of select="'false'"/> | ||||
|                     </isXMLDocument> | ||||
|                 </parameter> | ||||
|             </bytesInput> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Read-File-1"> | ||||
|         <pd:type>com.tibco.plugin.file.FileReadActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FileReadActivity</pd:resourceType> | ||||
|         <pd:x>239</pd:x> | ||||
|         <pd:y>148</pd:y> | ||||
|         <config> | ||||
|             <encoding>binary</encoding> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns:ReadActivityInputClass> | ||||
|                 <fileName> | ||||
|                     <xsl:value-of select="'/tibco/designer/5.12/projects/httpRequest/Resources/databases/databaseXML.xml'"/> | ||||
|                 </fileName> | ||||
|             </ns:ReadActivityInputClass> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Write-File-1"> | ||||
|         <pd:type>com.tibco.plugin.file.FileWriteActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.FileWriteActivity</pd:resourceType> | ||||
|         <pd:x>613</pd:x> | ||||
|         <pd:y>152</pd:y> | ||||
|         <config> | ||||
|             <encoding>binary</encoding> | ||||
|             <compressFile>None</compressFile> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <ns:WriteActivityInputBinaryClass> | ||||
|                 <fileName> | ||||
|                     <xsl:value-of select="'/tibco/designer/5.12/projects/httpRequest/Resources/databases/databaseXML.xml'"/> | ||||
|                 </fileName> | ||||
|                 <binaryContent> | ||||
|                     <xsl:value-of select="$Transform-XML-1/xmlBytes/xmlOutput"/> | ||||
|                 </binaryContent> | ||||
|             </ns:WriteActivityInputBinaryClass> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:activity name="Notify"> | ||||
|         <pd:type>com.tibco.plugin.waitnotify.NotifyActivity</pd:type> | ||||
|         <pd:resourceType>ae.activities.notifyActivity</pd:resourceType> | ||||
|         <pd:x>729</pd:x> | ||||
|         <pd:y>151</pd:y> | ||||
|         <config> | ||||
|             <sharedConfig>/Resources/configurations/Notify Configuration.sharednotify</sharedConfig> | ||||
|         </config> | ||||
|         <pd:inputBindings> | ||||
|             <input> | ||||
|                 <root> | ||||
|                     <status> | ||||
|                         <xsl:value-of select="'put'"/> | ||||
|                     </status> | ||||
|                 </root> | ||||
|             </input> | ||||
|         </pd:inputBindings> | ||||
|     </pd:activity> | ||||
|     <pd:transition> | ||||
|         <pd:from>Read-File-1</pd:from> | ||||
|         <pd:to>Transform-XML-1</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Transform-XML-1</pd:from> | ||||
|         <pd:to>Write-File-1</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Write-File-1</pd:from> | ||||
|         <pd:to>Notify</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
|     <pd:transition> | ||||
|         <pd:from>Notify</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>Start</pd:from> | ||||
|         <pd:to>Read-File-1</pd:to> | ||||
|         <pd:lineType>Default</pd:lineType> | ||||
|         <pd:lineColor>-16777216</pd:lineColor> | ||||
|         <pd:conditionType>always</pd:conditionType> | ||||
|     </pd:transition> | ||||
| </pd:ProcessDefinition> | ||||
		Reference in New Issue
	
	Block a user
	 wojciech
					wojciech