propagate soap errors
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<?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"/>
|
||||
<pd:name>Resources/WSDL/SoapPostAuthor.process</pd:name>
|
||||
<pd:startName>Start</pd:startName>
|
||||
@@ -20,7 +20,7 @@
|
||||
<pd:endX>529</pd:endX>
|
||||
<pd:endY>73</pd:endY>
|
||||
<pd:errorSchemas>
|
||||
<Schema1 wsMsgRef="wsdlPfx:ErrorMessage"/>
|
||||
<PostError wsMsgRef="wsdlPfx:ErrorMessage"/>
|
||||
</pd:errorSchemas>
|
||||
<pd:processVariables/>
|
||||
<pd:targetNamespace>http://xmlns.example.com/1721743175988</pd:targetNamespace>
|
||||
@@ -45,23 +45,24 @@
|
||||
<pd:y>256</pd:y>
|
||||
<pd:handler>true</pd:handler>
|
||||
<config>
|
||||
<catchAll>true</catchAll>
|
||||
<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>445</pd:x>
|
||||
<pd:y>258</pd:y>
|
||||
<pd:x>449</pd:x>
|
||||
<pd:y>256</pd:y>
|
||||
<config>
|
||||
<faultName/>
|
||||
<faultName>PostError</faultName>
|
||||
</config>
|
||||
<pd:inputBindings>
|
||||
<ns1:ActivityInput xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema">
|
||||
<message>
|
||||
<xsl:value-of xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select="string($Catch/exceptiondata)"/>
|
||||
</message>
|
||||
<ns1:ActivityInput>
|
||||
<data>
|
||||
<xsl:copy-of select="$Catch/wsdlPfx:ErrorMessage"/>
|
||||
</data>
|
||||
</ns1:ActivityInput>
|
||||
</pd:inputBindings>
|
||||
</pd:activity>
|
||||
|
||||
Reference in New Issue
Block a user