propagate soap errors

This commit is contained in:
wojciech
2024-08-08 13:23:27 +02:00
parent ea7a079cad
commit 5ae29966cd
9 changed files with 109 additions and 51 deletions

View File

@@ -1,4 +1,4 @@
#Design time libraries #Design time libraries
#Format: #=File Alias=Description #Format: #=File Alias=Description
#Wed Aug 07 16:14:36 CEST 2024 #Thu Aug 08 13:20:13 CEST 2024
0=ProjectLibrary.projlib\= 0=ProjectLibrary.projlib1\=

View File

@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?> <?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/pe/WriteToLogActivitySchema" 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: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">
<xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/WSDL/WSDL.wsdl"/> <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"/>
<pd:name>Processes/xml/author/XmlDELETE.process</pd:name> <pd:name>Processes/xml/author/XmlDELETE.process</pd:name>
<pd:startName>Start</pd:startName> <pd:startName>Start</pd:startName>
<pd:startType> <pd:startType>
@@ -34,7 +36,9 @@
</pd:endType> </pd:endType>
<pd:endX>1010</pd:endX> <pd:endX>1010</pd:endX>
<pd:endY>262</pd:endY> <pd:endY>262</pd:endY>
<pd:errorSchemas/> <pd:errorSchemas>
<DeleteError wsMsgRef="pfx3:ErrorMessage"/>
</pd:errorSchemas>
<pd:processVariables/> <pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719483544323</pd:targetNamespace> <pd:targetNamespace>http://xmlns.example.com/1719483544323</pd:targetNamespace>
<pd:activity name="Read File"> <pd:activity name="Read File">
@@ -124,10 +128,20 @@
<pd:x>460</pd:x> <pd:x>460</pd:x>
<pd:y>88</pd:y> <pd:y>88</pd:y>
<config> <config>
<faultName/> <faultName>DeleteError</faultName>
</config> </config>
<pd:inputBindings> <pd:inputBindings>
<ns3:ActivityInput/> <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>
</data>
</ns3:ActivityInput>
</pd:inputBindings> </pd:inputBindings>
</pd:activity> </pd:activity>
<pd:transition> <pd:transition>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?> <?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: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">
<xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/putRequest.xsd"/> <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"/> <wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/>
<pd:name>Processes/xml/author/XmlGET.process</pd:name> <pd:name>Processes/xml/author/XmlGET.process</pd:name>
<pd:startName>Start</pd:startName> <pd:startName>Start</pd:startName>
@@ -37,7 +37,7 @@
<pd:endX>924</pd:endX> <pd:endX>924</pd:endX>
<pd:endY>81</pd:endY> <pd:endY>81</pd:endY>
<pd:errorSchemas> <pd:errorSchemas>
<Schema0 wsMsgRef="pfx3:ErrorMessage"/> <GETError wsMsgRef="pfx3:ErrorMessage"/>
</pd:errorSchemas> </pd:errorSchemas>
<pd:processVariables/> <pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719920186128</pd:targetNamespace> <pd:targetNamespace>http://xmlns.example.com/1719920186128</pd:targetNamespace>
@@ -94,7 +94,7 @@
<pd:x>705</pd:x> <pd:x>705</pd:x>
<pd:y>277</pd:y> <pd:y>277</pd:y>
<config> <config>
<faultName>Schema0</faultName> <faultName>GETError</faultName>
</config> </config>
<pd:inputBindings> <pd:inputBindings>
<ns2:ActivityInput> <ns2:ActivityInput>
@@ -102,7 +102,7 @@
<pfx3:ErrorMessage> <pfx3:ErrorMessage>
<part1> <part1>
<ns3:error> <ns3:error>
<xsl:value-of select="'piwo'"/> <xsl:value-of select="'could not get the author with given id, because it does not exist'"/>
</ns3:error> </ns3:error>
</part1> </part1>
</pfx3:ErrorMessage> </pfx3:ErrorMessage>
@@ -145,6 +145,6 @@
<pd:to>End</pd:to> <pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType> <pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor> <pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType> <pd:conditionType>otherwise</pd:conditionType>
</pd:transition> </pd:transition>
</pd:ProcessDefinition> </pd:ProcessDefinition>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?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/pe/GenerateErrorActivity/InputSchema" xmlns:ns="http://www.tibco.com/namespaces/tnt/plugins/file" 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:ns3="http://www.tibco.com/namespaces/tnt/plugins/file/v2"> <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">
<xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/putRequest.xsd"/> <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/putRequest.xsd"/>
<wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/>
<pd:name>Processes/xml/author/XmlPOST.process</pd:name> <pd:name>Processes/xml/author/XmlPOST.process</pd:name>
<pd:startName>Start</pd:startName> <pd:startName>Start</pd:startName>
<pd:startType> <pd:startType>
@@ -34,7 +35,9 @@
</pd:endType> </pd:endType>
<pd:endX>940</pd:endX> <pd:endX>940</pd:endX>
<pd:endY>218</pd:endY> <pd:endY>218</pd:endY>
<pd:errorSchemas/> <pd:errorSchemas>
<PostError wsMsgRef="pfx3:ErrorMessage"/>
</pd:errorSchemas>
<pd:processVariables/> <pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719920186128</pd:targetNamespace> <pd:targetNamespace>http://xmlns.example.com/1719920186128</pd:targetNamespace>
<pd:activity name="Read File"> <pd:activity name="Read File">
@@ -154,13 +157,23 @@
<pd:activity name="Generate Error"> <pd:activity name="Generate Error">
<pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type>
<pd:resourceType>ae.activities.throw</pd:resourceType> <pd:resourceType>ae.activities.throw</pd:resourceType>
<pd:x>341</pd:x> <pd:x>343</pd:x>
<pd:y>63</pd:y> <pd:y>59</pd:y>
<config> <config>
<faultName/> <faultName>PostError</faultName>
</config> </config>
<pd:inputBindings> <pd:inputBindings>
<pfx2:ActivityInput/> <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:inputBindings>
</pd:activity> </pd:activity>
<pd:transition> <pd:transition>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?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://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:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://www.tibco.com/namespaces/tnt/plugins/file/v2"> <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">
<xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/putRequest.xsd"/> <xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/putRequest.xsd"/>
<wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/>
<pd:name>Processes/xml/author/XmlPUT.process</pd:name> <pd:name>Processes/xml/author/XmlPUT.process</pd:name>
<pd:startName>Start</pd:startName> <pd:startName>Start</pd:startName>
<pd:startType> <pd:startType>
@@ -34,7 +35,9 @@
</pd:endType> </pd:endType>
<pd:endX>848</pd:endX> <pd:endX>848</pd:endX>
<pd:endY>151</pd:endY> <pd:endY>151</pd:endY>
<pd:errorSchemas/> <pd:errorSchemas>
<PutError wsMsgRef="pfx4:ErrorMessage"/>
</pd:errorSchemas>
<pd:processVariables/> <pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719920186128</pd:targetNamespace> <pd:targetNamespace>http://xmlns.example.com/1719920186128</pd:targetNamespace>
<pd:activity name="Read-File-1"> <pd:activity name="Read-File-1">
@@ -123,13 +126,23 @@
<pd:activity name="Generate Error"> <pd:activity name="Generate Error">
<pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type>
<pd:resourceType>ae.activities.throw</pd:resourceType> <pd:resourceType>ae.activities.throw</pd:resourceType>
<pd:x>342</pd:x> <pd:x>347</pd:x>
<pd:y>286</pd:y> <pd:y>291</pd:y>
<config> <config>
<faultName/> <faultName>PutError</faultName>
</config> </config>
<pd:inputBindings> <pd:inputBindings>
<pfx3:ActivityInput/> <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>
</data>
</pfx3:ActivityInput>
</pd:inputBindings> </pd:inputBindings>
</pd:activity> </pd:activity>
<pd:transition> <pd:transition>

View File

@@ -20,7 +20,7 @@
<pd:endX>486</pd:endX> <pd:endX>486</pd:endX>
<pd:endY>65</pd:endY> <pd:endY>65</pd:endY>
<pd:errorSchemas> <pd:errorSchemas>
<Schema1 wsMsgRef="wsdlPfx:ErrorMessage"/> <DeleteError wsMsgRef="wsdlPfx:ErrorMessage"/>
</pd:errorSchemas> </pd:errorSchemas>
<pd:processVariables/> <pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1721743176236</pd:targetNamespace> <pd:targetNamespace>http://xmlns.example.com/1721743176236</pd:targetNamespace>
@@ -47,7 +47,8 @@
<pd:y>177</pd:y> <pd:y>177</pd:y>
<pd:handler>true</pd:handler> <pd:handler>true</pd:handler>
<config> <config>
<catchAll>true</catchAll> <catchAll>false</catchAll>
<fault>localname=ErrorMessage namespace=http://xmlns.example.com/1721737885605</fault>
</config> </config>
<pd:inputBindings/> <pd:inputBindings/>
</pd:activity> </pd:activity>
@@ -57,13 +58,13 @@
<pd:x>420</pd:x> <pd:x>420</pd:x>
<pd:y>175</pd:y> <pd:y>175</pd:y>
<config> <config>
<faultName/> <faultName>DeleteError</faultName>
</config> </config>
<pd:inputBindings> <pd:inputBindings>
<ns3:ActivityInput> <ns3:ActivityInput>
<message> <data>
<xsl:value-of select="string($Catch/exceptiondata)"/> <xsl:copy-of select="$Catch/wsdlPfx:ErrorMessage"/>
</message> </data>
</ns3:ActivityInput> </ns3:ActivityInput>
</pd:inputBindings> </pd:inputBindings>
</pd:activity> </pd:activity>

View File

@@ -21,7 +21,7 @@
<pd:endX>547</pd:endX> <pd:endX>547</pd:endX>
<pd:endY>66</pd:endY> <pd:endY>66</pd:endY>
<pd:errorSchemas> <pd:errorSchemas>
<Schema1 wsMsgRef="wsdlPfx:ErrorMessage"/> <GetError wsMsgRef="wsdlPfx:ErrorMessage"/>
</pd:errorSchemas> </pd:errorSchemas>
<pd:processVariables/> <pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1721743176122</pd:targetNamespace> <pd:targetNamespace>http://xmlns.example.com/1721743176122</pd:targetNamespace>
@@ -44,15 +44,30 @@
<pd:activity name="Catch"> <pd:activity name="Catch">
<pd:type>com.tibco.pe.core.CatchActivity</pd:type> <pd:type>com.tibco.pe.core.CatchActivity</pd:type>
<pd:resourceType>ae.activities.catch</pd:resourceType> <pd:resourceType>ae.activities.catch</pd:resourceType>
<pd:x>280</pd:x> <pd:x>176</pd:x>
<pd:y>207</pd:y> <pd:y>190</pd:y>
<pd:handler>true</pd:handler> <pd:handler>true</pd:handler>
<config> <config>
<catchAll>false</catchAll>
<fault>localname=ErrorMessage namespace=http://xmlns.example.com/1721737885605</fault> <fault>localname=ErrorMessage namespace=http://xmlns.example.com/1721737885605</fault>
</config> </config>
<pd:inputBindings/> <pd:inputBindings/>
</pd:activity> </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>331</pd:x>
<pd:y>188</pd:y>
<config>
<faultName>GetError</faultName>
</config>
<pd:inputBindings>
<ns1:ActivityInput>
<data>
<xsl:copy-of select="$Catch/wsdlPfx:ErrorMessage"/>
</data>
</ns1:ActivityInput>
</pd:inputBindings>
</pd:activity>
<pd:transition> <pd:transition>
<pd:from>Start</pd:from> <pd:from>Start</pd:from>
<pd:to>XmlGET</pd:to> <pd:to>XmlGET</pd:to>
@@ -69,7 +84,7 @@
</pd:transition> </pd:transition>
<pd:transition> <pd:transition>
<pd:from>Catch</pd:from> <pd:from>Catch</pd:from>
<pd:to>End</pd:to> <pd:to>Generate Error</pd:to>
<pd:lineType>Default</pd:lineType> <pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor> <pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType> <pd:conditionType>always</pd:conditionType>

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?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"> <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"/> <wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/>
<pd:name>Resources/WSDL/SoapPostAuthor.process</pd:name> <pd:name>Resources/WSDL/SoapPostAuthor.process</pd:name>
<pd:startName>Start</pd:startName> <pd:startName>Start</pd:startName>
@@ -20,7 +20,7 @@
<pd:endX>529</pd:endX> <pd:endX>529</pd:endX>
<pd:endY>73</pd:endY> <pd:endY>73</pd:endY>
<pd:errorSchemas> <pd:errorSchemas>
<Schema1 wsMsgRef="wsdlPfx:ErrorMessage"/> <PostError wsMsgRef="wsdlPfx:ErrorMessage"/>
</pd:errorSchemas> </pd:errorSchemas>
<pd:processVariables/> <pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1721743175988</pd:targetNamespace> <pd:targetNamespace>http://xmlns.example.com/1721743175988</pd:targetNamespace>
@@ -45,23 +45,24 @@
<pd:y>256</pd:y> <pd:y>256</pd:y>
<pd:handler>true</pd:handler> <pd:handler>true</pd:handler>
<config> <config>
<catchAll>true</catchAll> <catchAll>false</catchAll>
<fault>localname=ErrorMessage namespace=http://xmlns.example.com/1721737885605</fault>
</config> </config>
<pd:inputBindings/> <pd:inputBindings/>
</pd:activity> </pd:activity>
<pd:activity name="Generate Error"> <pd:activity name="Generate Error">
<pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type> <pd:type>com.tibco.pe.core.GenerateErrorActivity</pd:type>
<pd:resourceType>ae.activities.throw</pd:resourceType> <pd:resourceType>ae.activities.throw</pd:resourceType>
<pd:x>445</pd:x> <pd:x>449</pd:x>
<pd:y>258</pd:y> <pd:y>256</pd:y>
<config> <config>
<faultName/> <faultName>PostError</faultName>
</config> </config>
<pd:inputBindings> <pd:inputBindings>
<ns1:ActivityInput xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema"> <ns1:ActivityInput>
<message> <data>
<xsl:value-of xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select="string($Catch/exceptiondata)"/> <xsl:copy-of select="$Catch/wsdlPfx:ErrorMessage"/>
</message> </data>
</ns1:ActivityInput> </ns1:ActivityInput>
</pd:inputBindings> </pd:inputBindings>
</pd:activity> </pd:activity>

View File

@@ -20,14 +20,14 @@
<pd:endX>450</pd:endX> <pd:endX>450</pd:endX>
<pd:endY>65</pd:endY> <pd:endY>65</pd:endY>
<pd:errorSchemas> <pd:errorSchemas>
<Schema1 wsMsgRef="wsdlPfx:ErrorMessage"/> <PutError wsMsgRef="wsdlPfx:ErrorMessage"/>
</pd:errorSchemas> </pd:errorSchemas>
<pd:processVariables/> <pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1721743176182</pd:targetNamespace> <pd:targetNamespace>http://xmlns.example.com/1721743176182</pd:targetNamespace>
<pd:activity name="XmlPUT"> <pd:activity name="XmlPUT">
<pd:type>com.tibco.pe.core.CallProcessActivity</pd:type> <pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
<pd:resourceType>ae.process.subprocess</pd:resourceType> <pd:resourceType>ae.process.subprocess</pd:resourceType>
<pd:x>252</pd:x> <pd:x>258</pd:x>
<pd:y>65</pd:y> <pd:y>65</pd:y>
<config> <config>
<processName>/Processes/xml/author/XmlPUT.process</processName> <processName>/Processes/xml/author/XmlPUT.process</processName>
@@ -70,7 +70,8 @@
<pd:y>201</pd:y> <pd:y>201</pd:y>
<pd:handler>true</pd:handler> <pd:handler>true</pd:handler>
<config> <config>
<catchAll>true</catchAll> <catchAll>false</catchAll>
<fault>localname=ErrorMessage namespace=http://xmlns.example.com/1721737885605</fault>
</config> </config>
<pd:inputBindings/> <pd:inputBindings/>
</pd:activity> </pd:activity>
@@ -80,13 +81,13 @@
<pd:x>337</pd:x> <pd:x>337</pd:x>
<pd:y>204</pd:y> <pd:y>204</pd:y>
<config> <config>
<faultName/> <faultName>PutError</faultName>
</config> </config>
<pd:inputBindings> <pd:inputBindings>
<ns1:ActivityInput> <ns1:ActivityInput>
<message> <data>
<xsl:value-of select="string($Catch/exceptiondata)"/> <xsl:copy-of select="$Catch/wsdlPfx:ErrorMessage"/>
</message> </data>
</ns1:ActivityInput> </ns1:ActivityInput>
</pd:inputBindings> </pd:inputBindings>
</pd:activity> </pd:activity>