Files
tibcoRepository/Resources/WSDL/SoapPostAuthor.process
2024-08-27 17:21:30 +02:00

115 lines
5.1 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" 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:startName>Start</pd:startName>
<pd:startType wsMsgRef="wsdlPfx:requestPOST"/>
<pd:startX>146</pd:startX>
<pd:startY>71</pd:startY>
<pd:returnBindings>
<wsdlPfx:responsePOST>
<part1>
<ns4:status>
<xsl:value-of select="$XmlPOST/root/status"/>
</ns4: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>
<PostError 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>285</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/ns3:author/@id">
<xsl:attribute name="id">
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns3:author/@id"/>
</xsl:attribute>
</xsl:if>
<ns:firstName>
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns3:author/ns3:firstName"/>
</ns:firstName>
<ns:lastName>
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns3:author/ns3:lastName"/>
</ns:lastName>
<xsl:if test="$Start/wsdlPfx:requestPOST/part1/ns3:author/ns3:age">
<ns:age>
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns3:author/ns3:age"/>
</ns:age>
</xsl:if>
<ns:dateOfBirth>
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns3:author/ns3:dateOfBirth"/>
</ns:dateOfBirth>
<xsl:if test="$Start/wsdlPfx:requestPOST/part1/ns3:author/ns3:dateOfDeath">
<ns:dateOfDeath>
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns3:author/ns3: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>236</pd:x>
<pd:y>214</pd:y>
<pd:handler>true</pd:handler>
<config>
<catchAll>false</catchAll>
<fault>localname=ErrorMessage namespace=http://xmlns.example.com/1721737885605</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>431</pd:x>
<pd:y>214</pd:y>
<config>
<faultName>PostError</faultName>
</config>
<pd:inputBindings>
<ns1:ActivityInput>
<data>
<xsl:copy-of select="$Catch/wsdlPfx:ErrorMessage"/>
</data>
</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>