This commit is contained in:
wojciech
2024-08-07 16:22:28 +02:00
parent a8ac1fbc8f
commit ea7a079cad
17 changed files with 309 additions and 98 deletions

View File

@@ -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:pfx="http://xmlns.example.com/1721743175984" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" xmlns:wsdlPfx="http://xmlns.example.com/1721737885605" xmlns:ns2="http://www.demo.com/author" xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema">
<pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pfx="http://xmlns.example.com/1721743175984" xmlns:pd="http://xmlns.tibco.com/bw/process/2003" xmlns:ns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" xmlns:wsdlPfx="http://xmlns.example.com/1721737885605" xmlns:ns2="http://www.demo.com/author" xmlns:ns1="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema" xmlns:ns3="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2">
<xs:import xmlns:xs="http://www.w3.org/2001/XMLSchema" namespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" schemaLocation="/Resources/schemas/getRequest.xsd"/>
<wsdl:import namespace="http://xmlns.example.com/1721743175984" location="/Resources/WSDL/concrete/author methods.wsdl"/>
<wsdl:import namespace="http://xmlns.example.com/1721743175984" location="/Resources/WSDL/WSDL-service8.serviceagent"/>
@@ -18,7 +18,7 @@
</pd:returnBindings>
<pd:endName>End</pd:endName>
<pd:endType wsMsgRef="wsdlPfx:responseGet"/>
<pd:endX>539</pd:endX>
<pd:endX>547</pd:endX>
<pd:endY>66</pd:endY>
<pd:errorSchemas>
<Schema1 wsMsgRef="wsdlPfx:ErrorMessage"/>
@@ -44,30 +44,15 @@
<pd:activity name="Catch">
<pd:type>com.tibco.pe.core.CatchActivity</pd:type>
<pd:resourceType>ae.activities.catch</pd:resourceType>
<pd:x>225</pd:x>
<pd:y>232</pd:y>
<pd:x>280</pd:x>
<pd:y>207</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>401</pd:x>
<pd:y>231</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>XmlGET</pd:to>
@@ -84,7 +69,7 @@
</pd:transition>
<pd:transition>
<pd:from>Catch</pd:from>
<pd:to>Generate Error</pd:to>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>

View File

@@ -27,39 +27,14 @@
<pd:activity name="XmlPOST">
<pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
<pd:resourceType>ae.process.subprocess</pd:resourceType>
<pd:x>276</pd:x>
<pd:x>285</pd:x>
<pd:y>70</pd:y>
<config>
<processName>/Processes/xml/author/XmlPOST.process</processName>
</config>
<pd:inputBindings>
<root>
<ns:author>
<xsl:if test="$Start/wsdlPfx:requestPOST/part1/ns:author/@id">
<xsl:attribute name="id">
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns:author/@id"/>
</xsl:attribute>
</xsl:if>
<ns:firstName>
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns:author/ns:firstName"/>
</ns:firstName>
<ns:lastName>
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns:author/ns:lastName"/>
</ns:lastName>
<xsl:if test="$Start/wsdlPfx:requestPOST/part1/ns:author/ns:age">
<ns:age>
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns:author/ns:age"/>
</ns:age>
</xsl:if>
<ns:dateOfBirth>
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns:author/ns:dateOfBirth"/>
</ns:dateOfBirth>
<xsl:if test="$Start/wsdlPfx:requestPOST/part1/ns:author/ns:dateOfDeath">
<ns:dateOfDeath>
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns:author/ns:dateOfDeath"/>
</ns:dateOfDeath>
</xsl:if>
</ns:author>
<xsl:copy-of select="$Start/wsdlPfx:requestPOST/part1/ns:author"/>
</root>
</pd:inputBindings>
</pd:activity>

View File

@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Created by TIBCO WSDL-->
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://xmlns.example.com/1721743175984" xmlns:ns0="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema1.xsd" xmlns:ns2="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2" xmlns:ns1="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns3="http://www.demo.com/author" name="Untitled" targetNamespace="http://xmlns.example.com/1721743175984">
<wsdl:import namespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" location="../../schemas/getRequest.xsd"/>
<wsdl:types>
<xs:schema xmlns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="error" type="xs:string"/>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.1 KiB