Files
tibcoRepository/Resources/WSDL/SoapPutAuthor.process
wojciech 5f0d1fc37f sql fix
2024-07-30 13:30:26 +02:00

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" xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema">
<wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/>
<pd:name>Resources/WSDL/SoapPutAuthor.process</pd:name>
<pd:startName>Start</pd:startName>
<pd:startType wsMsgRef="wsdlPfx:requestPUT"/>
<pd:startX>150</pd:startX>
<pd:startY>65</pd:startY>
<pd:returnBindings>
<wsdlPfx:responsePUT>
<part1>
<ns2:status>
<xsl:value-of select="$XMLPUT/root/status"/>
</ns2:status>
</part1>
</wsdlPfx:responsePUT>
</pd:returnBindings>
<pd:endName>End</pd:endName>
<pd:endType wsMsgRef="wsdlPfx:responsePUT"/>
<pd:endX>450</pd:endX>
<pd:endY>65</pd:endY>
<pd:errorSchemas>
<Schema1 wsMsgRef="wsdlPfx:ErrorMessage"/>
</pd:errorSchemas>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1721743176182</pd:targetNamespace>
<pd:activity name="XMLPUT">
<pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
<pd:resourceType>ae.process.subprocess</pd:resourceType>
<pd:x>252</pd:x>
<pd:y>65</pd:y>
<config>
<processName>/Processes/xml/author/XmlPUT.process</processName>
</config>
<pd:inputBindings>
<root>
<ns:author>
<xsl:if test="$Start/wsdlPfx:requestPUT/part1/ns:author/@id">
<xsl:attribute name="id">
<xsl:value-of select="$Start/wsdlPfx:requestPUT/part1/ns:author/@id"/>
</xsl:attribute>
</xsl:if>
<ns:firstName>
<xsl:value-of select="$Start/wsdlPfx:requestPUT/part1/ns:author/ns:firstName"/>
</ns:firstName>
<ns:lastName>
<xsl:value-of select="$Start/wsdlPfx:requestPUT/part1/ns:author/ns:lastName"/>
</ns:lastName>
<xsl:if test="$Start/wsdlPfx:requestPUT/part1/ns:author/ns:age">
<ns:age>
<xsl:value-of select="$Start/wsdlPfx:requestPUT/part1/ns:author/ns:age"/>
</ns:age>
</xsl:if>
<ns:dateOfBirth>
<xsl:value-of select="$Start/wsdlPfx:requestPUT/part1/ns:author/ns:dateOfBirth"/>
</ns:dateOfBirth>
<xsl:if test="$Start/wsdlPfx:requestPUT/part1/ns:author/ns:dateOfDeath">
<ns:dateOfDeath>
<xsl:value-of select="$Start/wsdlPfx:requestPUT/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>194</pd:x>
<pd:y>201</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>337</pd:x>
<pd:y>204</pd:y>
<config>
<faultName/>
</config>
<pd:inputBindings>
<ns1:ActivityInput>
<message>
<xsl:value-of select="string($Catch/exceptiondata)"/>
</message>
</ns1:ActivityInput>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>Start</pd:from>
<pd:to>XMLPUT</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</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>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>