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,6 +1,6 @@
<?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">
<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"/>
<pd:name>Processes/xml/author/XmlGET.process</pd:name>
<pd:startName>Start</pd:startName>
@@ -37,7 +37,7 @@
<pd:endX>924</pd:endX>
<pd:endY>81</pd:endY>
<pd:errorSchemas>
<Schema0 wsMsgRef="pfx3:ErrorMessage"/>
<GETError wsMsgRef="pfx3:ErrorMessage"/>
</pd:errorSchemas>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719920186128</pd:targetNamespace>
@@ -94,7 +94,7 @@
<pd:x>705</pd:x>
<pd:y>277</pd:y>
<config>
<faultName>Schema0</faultName>
<faultName>GETError</faultName>
</config>
<pd:inputBindings>
<ns2:ActivityInput>
@@ -102,7 +102,7 @@
<pfx3:ErrorMessage>
<part1>
<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>
</part1>
</pfx3:ErrorMessage>
@@ -145,6 +145,6 @@
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
<pd:conditionType>otherwise</pd:conditionType>
</pd:transition>
</pd:ProcessDefinition>