114 lines
		
	
	
		
			4.9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			114 lines
		
	
	
		
			4.9 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <?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">
 | |
|     <wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/>
 | |
|     <pd:name>Resources/WSDL/SoapPostAuthor.process</pd:name>
 | |
|     <pd:startName>Start</pd:startName>
 | |
|     <pd:startType wsMsgRef="wsdlPfx:requestPOST"/>
 | |
|     <pd:startX>146</pd:startX>
 | |
|     <pd:startY>71</pd:startY>
 | |
|     <pd:returnBindings>
 | |
|         <wsdlPfx:responsePOST>
 | |
|             <part1>
 | |
|                 <ns2:status>
 | |
|                     <xsl:value-of select="$XMLPOST/root/status"/>
 | |
|                 </ns2:status>
 | |
|             </part1>
 | |
|         </wsdlPfx:responsePOST>
 | |
|     </pd:returnBindings>
 | |
|     <pd:endName>End</pd:endName>
 | |
|     <pd:endType wsMsgRef="wsdlPfx:responsePOST"/>
 | |
|     <pd:endX>529</pd:endX>
 | |
|     <pd:endY>73</pd:endY>
 | |
|     <pd:errorSchemas>
 | |
|         <Schema1 wsMsgRef="wsdlPfx:ErrorMessage"/>
 | |
|     </pd:errorSchemas>
 | |
|     <pd:processVariables/>
 | |
|     <pd:targetNamespace>http://xmlns.example.com/1721743175988</pd:targetNamespace>
 | |
|     <pd:activity name="XMLPOST">
 | |
|         <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
 | |
|         <pd:resourceType>ae.process.subprocess</pd:resourceType>
 | |
|         <pd:x>276</pd:x>
 | |
|         <pd:y>70</pd:y>
 | |
|         <config>
 | |
|             <processName>/Processes/xml/author/XmlPOST.process</processName>
 | |
|         </config>
 | |
|         <pd:inputBindings>
 | |
|             <root>
 | |
|                 <ns:author>
 | |
|                     <xsl:if test="$Start/wsdlPfx:requestPOST/part1/ns:author/@id">
 | |
|                         <xsl:attribute name="id">
 | |
|                             <xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns:author/@id"/>
 | |
|                         </xsl:attribute>
 | |
|                     </xsl:if>
 | |
|                     <ns:firstName>
 | |
|                         <xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns:author/ns:firstName"/>
 | |
|                     </ns:firstName>
 | |
|                     <ns:lastName>
 | |
|                         <xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns:author/ns:lastName"/>
 | |
|                     </ns:lastName>
 | |
|                     <xsl:if test="$Start/wsdlPfx:requestPOST/part1/ns:author/ns:age">
 | |
|                         <ns:age>
 | |
|                             <xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns:author/ns:age"/>
 | |
|                         </ns:age>
 | |
|                     </xsl:if>
 | |
|                     <ns:dateOfBirth>
 | |
|                         <xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns:author/ns:dateOfBirth"/>
 | |
|                     </ns:dateOfBirth>
 | |
|                     <xsl:if test="$Start/wsdlPfx:requestPOST/part1/ns:author/ns:dateOfDeath">
 | |
|                         <ns:dateOfDeath>
 | |
|                             <xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns:author/ns:dateOfDeath"/>
 | |
|                         </ns:dateOfDeath>
 | |
|                     </xsl:if>
 | |
|                 </ns:author>
 | |
|             </root>
 | |
|         </pd:inputBindings>
 | |
|     </pd:activity>
 | |
|     <pd:activity name="Catch">
 | |
|         <pd:type>com.tibco.pe.core.CatchActivity</pd:type>
 | |
|         <pd:resourceType>ae.activities.catch</pd:resourceType>
 | |
|         <pd:x>295</pd:x>
 | |
|         <pd:y>256</pd:y>
 | |
|         <pd:handler>true</pd:handler>
 | |
|         <config>
 | |
|             <catchAll>true</catchAll>
 | |
|         </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>445</pd:x>
 | |
|         <pd:y>258</pd:y>
 | |
|         <config>
 | |
|             <faultName/>
 | |
|         </config>
 | |
|         <pd:inputBindings>
 | |
|             <ns1:ActivityInput xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema">
 | |
|                 <message>
 | |
|                     <xsl:value-of xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select="string($Catch/exceptiondata)"/>
 | |
|                 </message>
 | |
|             </ns1:ActivityInput>
 | |
|         </pd:inputBindings>
 | |
|     </pd:activity>
 | |
|     <pd:transition>
 | |
|         <pd:from>Start</pd:from>
 | |
|         <pd:to>XMLPOST</pd:to>
 | |
|         <pd:lineType>Default</pd:lineType>
 | |
|         <pd:lineColor>-16777216</pd:lineColor>
 | |
|         <pd:conditionType>always</pd:conditionType>
 | |
|     </pd:transition>
 | |
|     <pd:transition>
 | |
|         <pd:from>XMLPOST</pd:from>
 | |
|         <pd:to>End</pd:to>
 | |
|         <pd:lineType>Default</pd:lineType>
 | |
|         <pd:lineColor>-16777216</pd:lineColor>
 | |
|         <pd:conditionType>always</pd:conditionType>
 | |
|     </pd:transition>
 | |
|     <pd:transition>
 | |
|         <pd:from>Catch</pd:from>
 | |
|         <pd:to>Generate Error</pd:to>
 | |
|         <pd:lineType>Default</pd:lineType>
 | |
|         <pd:lineColor>-16777216</pd:lineColor>
 | |
|         <pd:conditionType>always</pd:conditionType>
 | |
|     </pd:transition>
 | |
| </pd:ProcessDefinition> | 
