jms and http in one wsdl file

This commit is contained in:
wojciech
2024-08-27 17:21:30 +02:00
parent 96b1a57b06
commit c5ba243f13
28 changed files with 791 additions and 377 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: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">
<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" xmlns:ns4="http://www.tibco.com/schemas/httpRequest/Resources/schemas/PostResponse.xsd" xmlns:ns3="http://www.demo.com/PostRequest">
<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>
@@ -9,9 +9,9 @@
<pd:returnBindings>
<wsdlPfx:responsePOST>
<part1>
<ns2:status>
<ns4:status>
<xsl:value-of select="$XmlPOST/root/status"/>
</ns2:status>
</ns4:status>
</part1>
</wsdlPfx:responsePOST>
</pd:returnBindings>
@@ -34,7 +34,32 @@
</config>
<pd:inputBindings>
<root>
<xsl:copy-of select="$Start/wsdlPfx:requestPOST/part1/ns:author"/>
<ns:author>
<xsl:if test="$Start/wsdlPfx:requestPOST/part1/ns3:author/@id">
<xsl:attribute name="id">
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns3:author/@id"/>
</xsl:attribute>
</xsl:if>
<ns:firstName>
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns3:author/ns3:firstName"/>
</ns:firstName>
<ns:lastName>
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns3:author/ns3:lastName"/>
</ns:lastName>
<xsl:if test="$Start/wsdlPfx:requestPOST/part1/ns3:author/ns3:age">
<ns:age>
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns3:author/ns3:age"/>
</ns:age>
</xsl:if>
<ns:dateOfBirth>
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns3:author/ns3:dateOfBirth"/>
</ns:dateOfBirth>
<xsl:if test="$Start/wsdlPfx:requestPOST/part1/ns3:author/ns3:dateOfDeath">
<ns:dateOfDeath>
<xsl:value-of select="$Start/wsdlPfx:requestPOST/part1/ns3:author/ns3:dateOfDeath"/>
</ns:dateOfDeath>
</xsl:if>
</ns:author>
</root>
</pd:inputBindings>
</pd:activity>