propagate soap errors
This commit is contained in:
@@ -1,6 +1,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.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:startName>Start</pd:startName>
|
||||
<pd:startType>
|
||||
@@ -34,7 +36,9 @@
|
||||
</pd:endType>
|
||||
<pd:endX>1010</pd:endX>
|
||||
<pd:endY>262</pd:endY>
|
||||
<pd:errorSchemas/>
|
||||
<pd:errorSchemas>
|
||||
<DeleteError wsMsgRef="pfx3:ErrorMessage"/>
|
||||
</pd:errorSchemas>
|
||||
<pd:processVariables/>
|
||||
<pd:targetNamespace>http://xmlns.example.com/1719483544323</pd:targetNamespace>
|
||||
<pd:activity name="Read File">
|
||||
@@ -124,10 +128,20 @@
|
||||
<pd:x>460</pd:x>
|
||||
<pd:y>88</pd:y>
|
||||
<config>
|
||||
<faultName/>
|
||||
<faultName>DeleteError</faultName>
|
||||
</config>
|
||||
<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:activity>
|
||||
<pd:transition>
|
||||
|
||||
Reference in New Issue
Block a user