current version

This commit is contained in:
wojciech
2024-07-24 17:04:39 +02:00
parent a64e35466a
commit 392ffd1dd6
60 changed files with 4148 additions and 0 deletions

35
.folder Normal file
View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002">
<folder resourceType="ae.rootfolder" name="httpRequest" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false">
<fixedChildren>AESchemas</fixedChildren>
<projectProperties>
<property key="ae.palette.SOAPpalette.version" value="5.15.0"/>
<property key="ae.palette.parsepalette.version" value="5.15.0"/>
<property key="ae.palette.Mail.palette.version" value="5.15.0"/>
<property key="turbo.palette.version" value="5.6.1"/>
<property key="ae.palette.Policy.version" value="5.15.0"/>
<property key="ae.repo.palette.version" value="5.3.0"/>
<property key="ae.process.palette.version" value="5.15.0"/>
<property key="httppalette.httpplugins.version" value="5.15.0"/>
<property key="ae.aepalette.ae.palette.version" value="5.15.0"/>
<property key="palette.generalpalette.version" value="5.3.0"/>
<property key="ae.palette.GeneralPalette.version" value="5.15.0"/>
<property key="service.palette.version" value="5.15.0"/>
<property key="ae.palette.transaction.palette.version" value="5.15.0"/>
<property key="ae.palette.JMS.palette.version" value="5.15.0"/>
<property key="wsdlresource.palette.version" value="5.15.0"/>
<property key="palette.ae.metadata.version" value="5.3.0"/>
<property key="aa.adapteradministrator.palette.version" value="5.3.0"/>
<property key="ae.palette.jrmi.palette.version" value="5.15.0"/>
<property key="ae.palette.Filepalette.version" value="5.15.0"/>
<property key="ae.palette.java.palette.version" value="5.15.0"/>
<property key="ae.designerapp.version" value="5.12.1.7"/>
<property key="ae.pallette.tcp.pallette.version" value="5.15.0"/>
<property key="ae.palette.xml.palette.version" value="5.15.0"/>
<property key="ae.palette.JDBCpalette.version" value="5.15.0"/>
<property key="ae.palette.rvpalette.version" value="5.15.0"/>
<property key="ae.palette.FTPpalette.version" value="5.15.0"/>
<property key="projectName" value="httpRequest"/>
</projectProperties>
</folder>
</Repository:repository>

6
AESchemas/.folder Normal file
View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002">
<folder resourceType="ae.designerfolder" name="AESchemas" propLocks="name,description" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false">
<fixedChildren/>
</folder>
</Repository:repository>

88
AESchemas/ae.aeschema Normal file
View File

@@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns="http://www.tibco.com/xmlns/aemeta/types/2002" xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="any">
<dataTypeName>any</dataTypeName>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="assocList">
<dataTypeName>assocList</dataTypeName>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="binary">
<dataTypeName>binary</dataTypeName>
<javaClass>java.lang.Byte[]</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="boolean">
<dataTypeName>boolean</dataTypeName>
<javaClass>java.lang.Boolean</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="char">
<dataTypeName>char</dataTypeName>
<javaClass>java.lang.Character</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="date">
<dataTypeName>date</dataTypeName>
<javaClass>java.util.Date</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="dateTime">
<dataTypeName>dateTime</dataTypeName>
<javaClass>java.util.Date</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="i1">
<dataTypeName>i1</dataTypeName>
<javaClass>java.lang.Byte</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="i2">
<dataTypeName>i2</dataTypeName>
<javaClass>java.lang.Short</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="i4">
<dataTypeName>i4</dataTypeName>
<javaClass>java.lang.Integer</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="i8">
<dataTypeName>i8</dataTypeName>
<javaClass>java.lang.Long</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="interval">
<dataTypeName>interval</dataTypeName>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="r4">
<dataTypeName>r4</dataTypeName>
<javaClass>java.lang.Float</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="r8">
<dataTypeName>r8</dataTypeName>
<javaClass>java.lang.Double</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="string">
<dataTypeName>string</dataTypeName>
<javaClass>java.lang.String</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="time">
<dataTypeName>time</dataTypeName>
<javaClass>java.util.Date</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="ui1">
<dataTypeName>ui1</dataTypeName>
<javaClass>java.lang.Short</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="ui2">
<dataTypeName>ui2</dataTypeName>
<javaClass>java.lang.Integer</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="ui4">
<dataTypeName>ui4</dataTypeName>
<javaClass>java.lang.Long</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="ui8">
<dataTypeName>ui8</dataTypeName>
<javaClass>java.lang.Long</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="void">
<dataTypeName>void</dataTypeName>
</scalar>
<designer>
<lockedProperties/>
<fixedChildren/>
<resourceDescriptions/>
</designer>
</Repository:repository>

7
AESchemas/ae/.folder Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002">
<folder resourceType="ae.designerfolder" name="ae" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false">
<description/>
<fixedChildren/>
</folder>
</Repository:repository>

View File

@@ -0,0 +1,224 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns="http://www.tibco.com/xmlns/aemeta/types/2002" xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<class xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="MBusinessDocument">
<superclass isRef="true">/AESchemas/ae/baseDocument.aeschema#class.baseBusinessDocument</superclass>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>DataSection</name>
<attributeType isRef="true">/AESchemas/ae/baseDocument.aeschema#sequence.sequence[MDataSection]</attributeType>
</attribute>
</class>
<class xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="MDataSection">
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>VerbCode</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.i4</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>Data</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.any</attributeType>
</attribute>
</class>
<class xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="MAdvisoryDocument">
<superclass isRef="true">/AESchemas/ae/baseDocument.aeschema#class.baseAdvisoryDocument</superclass>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>Data</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.any</attributeType>
</attribute>
</class>
<class xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="baseAdvisoryDocument">
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>ApplicationInstanceId</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.string</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>ReferenceId</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.string</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>Description</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.string</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>Class</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.string</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>Severity</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.i4</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>DateTimeStamp</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.dateTime</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>Subject</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.string</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>Name</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.string</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>ApplicationContext</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.any</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>Version</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.i4</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>Analysis</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.string</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>ApplicationId</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.string</attributeType>
</attribute>
</class>
<class xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="aeAdvisoryDocument">
<superclass isRef="true">/AESchemas/ae/baseDocument.aeschema#class.baseAdvisoryDocument</superclass>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>Data</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.any</attributeType>
</attribute>
</class>
<class xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="baseBusinessDocument">
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>VerbCode</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.i4</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>ApplicationInstanceId</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.string</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>ReferenceId</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.string</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>Encrypted</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.boolean</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>DateTimeStamp</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.dateTime</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>ReplyAddress</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.string</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>LotEnd</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.boolean</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>LotId</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.string</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>ConfirmCode</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.i4</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>ComponentId</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.string</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>Name</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.string</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>ApplicationContext</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.any</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>Version</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.i4</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>LotItem</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.i4</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>ErrorAddress</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.string</attributeType>
</attribute>
<attribute>
<isReadable>true</isReadable>
<isWriteable>true</isWriteable>
<name>ApplicationId</name>
<attributeType isRef="true">/AESchemas/ae.aeschema#scalar.string</attributeType>
</attribute>
</class>
<sequence xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="sequence[MDataSection]">
<elementType isRef="true">/AESchemas/ae/baseDocument.aeschema#class.MDataSection</elementType>
</sequence>
<designer>
<lockedProperties/>
<fixedChildren/>
<resourceDescriptions/>
</designer>
</Repository:repository>

67
AESchemas/corba.aeschema Normal file
View File

@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns="http://www.tibco.com/xmlns/aemeta/types/2002" xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="any">
<dataTypeName>any</dataTypeName>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="boolean">
<dataTypeName>boolean</dataTypeName>
<javaClass>java.lang.Boolean</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="char">
<dataTypeName>char</dataTypeName>
<javaClass>java.lang.Character</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="double">
<dataTypeName>double</dataTypeName>
<javaClass>java.lang.Double</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="float">
<dataTypeName>float</dataTypeName>
<javaClass>java.lang.Float</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="long">
<dataTypeName>long</dataTypeName>
<javaClass>java.lang.Integer</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="longlong">
<dataTypeName>longlong</dataTypeName>
<javaClass>java.lang.Long</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="octet">
<dataTypeName>octet</dataTypeName>
<javaClass>java.lang.Byte</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="short">
<dataTypeName>short</dataTypeName>
<javaClass>java.lang.Short</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="string">
<dataTypeName>string</dataTypeName>
<javaClass>java.lang.String</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="ulong">
<dataTypeName>ulong</dataTypeName>
<javaClass>java.lang.Long</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="ulonglong">
<dataTypeName>ulonglong</dataTypeName>
<javaClass>java.lang.Long</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="ushort">
<dataTypeName>ushort</dataTypeName>
<javaClass>java.lang.Integer</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="wchar">
<dataTypeName>wchar</dataTypeName>
<javaClass>java.lang.Character</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="wstring">
<dataTypeName>wstring</dataTypeName>
<javaClass>java.lang.String</javaClass>
</scalar>
<designer>
<lockedProperties/>
<fixedChildren/>
<resourceDescriptions/>
</designer>
</Repository:repository>

40
AESchemas/java.aeschema Normal file
View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns="http://www.tibco.com/xmlns/aemeta/types/2002" xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="boolean">
<dataTypeName>boolean</dataTypeName>
<javaClass>java.lang.Boolean</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="char">
<dataTypeName>char</dataTypeName>
<javaClass>java.lang.Character</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="double">
<dataTypeName>double</dataTypeName>
<javaClass>java.lang.Double</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="float">
<dataTypeName>float</dataTypeName>
<javaClass>java.lang.Float</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="int">
<dataTypeName>int</dataTypeName>
<javaClass>java.lang.Integer</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="long">
<dataTypeName>long</dataTypeName>
<javaClass>java.lang.Long</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="short">
<dataTypeName>short</dataTypeName>
<javaClass>java.lang.Short</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="string">
<dataTypeName>string</dataTypeName>
<javaClass>java.lang.String</javaClass>
</scalar>
<designer>
<lockedProperties/>
<fixedChildren/>
<resourceDescriptions/>
</designer>
</Repository:repository>

68
AESchemas/sql.aeschema Normal file
View File

@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns="http://www.tibco.com/xmlns/aemeta/types/2002" xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="BIGINT">
<dataTypeName>BIGINT</dataTypeName>
<javaClass>java.lang.Long</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="BIT">
<dataTypeName>BIT</dataTypeName>
<javaClass>java.lang.Boolean</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="DATE">
<dataTypeName>DATE</dataTypeName>
<javaClass>java.sql.Date</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="DOUBLE PRECISION">
<dataTypeName>DOUBLE PRECISION</dataTypeName>
<javaClass>java.lang.Double</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="FLOAT">
<dataTypeName>FLOAT</dataTypeName>
<javaClass>java.lang.Float</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="INTEGER">
<dataTypeName>INTEGER</dataTypeName>
<javaClass>java.lang.Integer</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="LONGVARBINARY">
<dataTypeName>LONGVARBINARY</dataTypeName>
<javaClass>java.lang.Byte[]</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="LONGVARCHAR">
<dataTypeName>LONGVARCHAR</dataTypeName>
<javaClass>java.lang.String</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="REAL">
<dataTypeName>REAL</dataTypeName>
<javaClass>java.lang.Float</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="SMALLINT">
<dataTypeName>SMALLINT</dataTypeName>
<javaClass>java.lang.Short</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="TIME">
<dataTypeName>TIME</dataTypeName>
<javaClass>java.sql.Time</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="TIMESTAMP">
<dataTypeName>TIMESTAMP</dataTypeName>
<javaClass>java.sql.Timestamp</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="TINYINT">
<dataTypeName>TINYINT</dataTypeName>
<javaClass>java.lang.Short</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="VARBINARY">
<dataTypeName>VARBINARY</dataTypeName>
<javaClass>java.lang.Byte[]</javaClass>
</scalar>
<scalar xmlns:AESchema="http://www.tibco.com/xmlns/aemeta/types/2002" name="VARCHAR">
<dataTypeName>VARCHAR</dataTypeName>
<javaClass>java.lang.String</javaClass>
</scalar>
<designer>
<lockedProperties/>
<fixedChildren/>
<resourceDescriptions/>
</designer>
</Repository:repository>

7
Processes/.folder Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002">
<folder resourceType="ae.designerfolder" name="Processes" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false">
<description/>
<fixedChildren/>
</folder>
</Repository:repository>

7
Processes/rest/.folder Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002">
<folder resourceType="ae.designerfolder" name="rest" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false">
<description/>
<fixedChildren/>
</folder>
</Repository:repository>

View File

@@ -0,0 +1,135 @@
<?xml version="1.0" encoding="UTF-8"?>
<pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://www.tibco.com/pe/DeployedVarsType" 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">
<pd:name>Processes/rest/rest request.process</pd:name>
<pd:startName>HTTP Receiver</pd:startName>
<pd:startX>0</pd:startX>
<pd:startY>0</pd:startY>
<pd:returnBindings/>
<pd:starter name="HTTP Receiver">
<pd:type>com.tibco.plugin.http.HTTPEventSource</pd:type>
<pd:resourceType>httppalette.httpEventSource</pd:resourceType>
<pd:x>168</pd:x>
<pd:y>256</pd:y>
<config>
<outputMode>String</outputMode>
<defaultEncoding>ISO8859_1</defaultEncoding>
<inputOutputVersion>5.3.0</inputOutputVersion>
<newMimeSupport>true</newMimeSupport>
<sharedChannel>/Resources/configurations/HTTP Connection.sharedhttp</sharedChannel>
<Headers>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="Accept" type="xsd:string" minOccurs="0"/>
<xsd:element name="Accept-Charset" type="xsd:string" minOccurs="0"/>
<xsd:element name="Accept-Encoding" type="xsd:string" minOccurs="0"/>
<xsd:element name="Content-Type" type="xsd:string" minOccurs="0"/>
<xsd:element name="Content-Length" type="xsd:string" minOccurs="0"/>
<xsd:element name="Connection" type="xsd:string" minOccurs="0"/>
<xsd:element name="Cookie" type="xsd:string" minOccurs="0"/>
<xsd:element name="Pragma" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</Headers>
</config>
<pd:inputBindings/>
</pd:starter>
<pd:endName>End</pd:endName>
<pd:endX>780</pd:endX>
<pd:endY>259</pd:endY>
<pd:errorSchemas/>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719474540368</pd:targetNamespace>
<pd:activity name="select database type">
<pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
<pd:resourceType>ae.process.subprocess</pd:resourceType>
<pd:x>348</pd:x>
<pd:y>263</pd:y>
<config>
<processName>/Processes/sql/sql.process</processName>
<processNameXPath>if ($_globalVariables/pfx:GlobalVariables/processType='sql') then '/Processes/sql.process' else '/Processes/xml.process'</processNameXPath>
<spawn>false</spawn>
</config>
<pd:inputBindings>
<root>
<method>
<xsl:value-of select="$HTTP-Receiver/ProcessStarterOutput/Method"/>
</method>
<data>
<xsl:value-of select="if ($HTTP-Receiver/ProcessStarterOutput/Method = 'DELETE' or $HTTP-Receiver/ProcessStarterOutput/Method = 'GET' ) then $HTTP-Receiver/ProcessStarterOutput/RequestURI else $HTTP-Receiver/ProcessStarterOutput/PostData"/>
</data>
</root>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Send HTTP Response">
<pd:type>com.tibco.plugin.http.HTTPResponseActivity</pd:type>
<pd:resourceType>httppalette.httpWebResponse</pd:resourceType>
<pd:x>660</pd:x>
<pd:y>260</pd:y>
<config>
<closeConnection>true</closeConnection>
<eventSource>HTTP Receiver</eventSource>
<Headers>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="StatusLine" type="xsd:string" minOccurs="0"/>
<xsd:element name="Content-Type" type="xsd:string" minOccurs="0"/>
<xsd:element name="Set-Cookie" type="xsd:string" minOccurs="0"/>
<xsd:element name="Pragma" type="xsd:string" minOccurs="0"/>
<xsd:element name="Location" type="xsd:string" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</Headers>
</config>
<pd:inputBindings>
<ResponseActivityInput>
<asciiContent>
<xsl:value-of select="concat($Wait/root/id, $Wait/root/firstname, $Wait/root/lastname,$Wait/root/date-of-birth,$Wait/root/date-of-death,$Wait/root/age, $Wait/root/status)"/>
</asciiContent>
</ResponseActivityInput>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Wait">
<pd:type>com.tibco.plugin.waitnotify.WaitActivity</pd:type>
<pd:resourceType>ae.activities.waitActivity</pd:resourceType>
<pd:x>515</pd:x>
<pd:y>259</pd:y>
<config>
<sharedConfig>/Resources/configurations/Notify Configuration.sharednotify</sharedConfig>
</config>
<pd:inputBindings>
<input/>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>HTTP Receiver</pd:from>
<pd:to>select database type</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Send HTTP Response</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>select database type</pd:from>
<pd:to>Wait</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Wait</pd:from>
<pd:to>Send HTTP Response</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
</pd:ProcessDefinition>

7
Processes/sql/.folder Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002">
<folder resourceType="ae.designerfolder" name="sql" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false">
<description/>
<fixedChildren/>
</folder>
</Repository:repository>

View File

@@ -0,0 +1,119 @@
<?xml version="1.0" encoding="UTF-8"?>
<pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 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">
<pd:name>Processes/sql/SQLDELETE.process</pd:name>
<pd:startName>Start</pd:startName>
<pd:startType>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="data" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</pd:startType>
<pd:startX>150</pd:startX>
<pd:startY>64</pd:startY>
<pd:returnBindings/>
<pd:endName>End</pd:endName>
<pd:endX>681</pd:endX>
<pd:endY>62</pd:endY>
<pd:errorSchemas/>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719579163583</pd:targetNamespace>
<pd:activity name="Map Data">
<pd:type>com.tibco.plugin.mapper.MapperActivity</pd:type>
<pd:resourceType>ae.activities.MapperActivity</pd:resourceType>
<pd:x>268</pd:x>
<pd:y>63</pd:y>
<config>
<element>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="id" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</element>
</config>
<pd:inputBindings>
<root>
<id>
<xsl:value-of select="substring-after($Start/root/data, 'id=')"/>
</id>
</root>
</pd:inputBindings>
</pd:activity>
<pd:activity name="JDBC Update">
<pd:type>com.tibco.plugin.jdbc.JDBCUpdateActivity</pd:type>
<pd:resourceType>ae.activities.JDBCUpdateActivity</pd:resourceType>
<pd:x>424</pd:x>
<pd:y>61</pd:y>
<config>
<timeout>10</timeout>
<commit>false</commit>
<emptyStrAsNil>false</emptyStrAsNil>
<jdbcSharedConfig>/Resources/configurations/JDBC Connection.sharedjdbc</jdbcSharedConfig>
<statement>DELETE FROM author WHERE id=?;</statement>
<Prepared_Param_DataType>
<parameter>
<parameterName>param_id</parameterName>
<dataType>VARCHAR</dataType>
</parameter>
</Prepared_Param_DataType>
</config>
<pd:inputBindings>
<jdbcUpdateActivityInput>
<param_id>
<xsl:value-of select="$Map-Data/root/id"/>
</param_id>
</jdbcUpdateActivityInput>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Notify">
<pd:type>com.tibco.plugin.waitnotify.NotifyActivity</pd:type>
<pd:resourceType>ae.activities.notifyActivity</pd:resourceType>
<pd:x>555</pd:x>
<pd:y>61</pd:y>
<config>
<sharedConfig>/Resources/configurations/Notify Configuration.sharednotify</sharedConfig>
</config>
<pd:inputBindings>
<input>
<root>
<status>
<xsl:value-of select="'deleted'"/>
</status>
</root>
</input>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>Start</pd:from>
<pd:to>Map Data</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Map Data</pd:from>
<pd:to>JDBC Update</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>JDBC Update</pd:from>
<pd:to>Notify</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Notify</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
</pd:ProcessDefinition>

View File

@@ -0,0 +1,197 @@
<?xml version="1.0" encoding="UTF-8"?>
<pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 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">
<pd:name>Processes/sql/SQLGET.process</pd:name>
<pd:startName>Start</pd:startName>
<pd:startType>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="data" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</pd:startType>
<pd:startX>152</pd:startX>
<pd:startY>111</pd:startY>
<pd:returnBindings>
<root>
<id>
<xsl:value-of select="$JDBC-Query/resultSet/Record[1]/id"/>
</id>
<firstname>
<xsl:value-of select="$JDBC-Query/resultSet/Record[1]/firstname"/>
</firstname>
<lastname>
<xsl:value-of select="$JDBC-Query/resultSet/Record[1]/lastname"/>
</lastname>
<date-of-birth>
<xsl:value-of select="$JDBC-Query/resultSet/Record[1]/date_of_birth"/>
</date-of-birth>
<date-of-death>
<xsl:value-of select="$JDBC-Query/resultSet/Record[1]/date_of_death"/>
</date-of-death>
<age>
<xsl:value-of select="$JDBC-Query/resultSet/Record[1]/age"/>
</age>
</root>
</pd:returnBindings>
<pd:endName>End</pd:endName>
<pd:endX>726</pd:endX>
<pd:endY>108</pd:endY>
<pd:errorSchemas/>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719579163583</pd:targetNamespace>
<pd:activity name="Map Data">
<pd:type>com.tibco.plugin.mapper.MapperActivity</pd:type>
<pd:resourceType>ae.activities.MapperActivity</pd:resourceType>
<pd:x>304</pd:x>
<pd:y>110</pd:y>
<config>
<element>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="id" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</element>
</config>
<pd:inputBindings>
<root>
<id>
<xsl:value-of select="substring-after($Start/root/data, 'id=')"/>
</id>
</root>
</pd:inputBindings>
</pd:activity>
<pd:activity name="JDBC Query">
<pd:type>com.tibco.plugin.jdbc.JDBCQueryActivity</pd:type>
<pd:resourceType>ae.activities.JDBCQueryActivity</pd:resourceType>
<pd:x>459</pd:x>
<pd:y>109</pd:y>
<config>
<timeout>10</timeout>
<commit>false</commit>
<maxRows>100</maxRows>
<emptyStrAsNil>false</emptyStrAsNil>
<jdbcSharedConfig>/Resources/configurations/JDBC Connection.sharedjdbc</jdbcSharedConfig>
<statement>select * from author where id=?</statement>
<Prepared_Param_DataType>
<parameter>
<parameterName>id</parameterName>
<dataType>VARCHAR</dataType>
</parameter>
</Prepared_Param_DataType>
<oraObjects/>
<oraTables/>
<QueryOutputCachedSchemaColumns>id</QueryOutputCachedSchemaColumns>
<QueryOutputCachedSchemaDataTypes>4</QueryOutputCachedSchemaDataTypes>
<QueryOutputCachedSchemaDataTypesName>INTEGER</QueryOutputCachedSchemaDataTypesName>
<QueryOutputCachedSchemaStatus>OptionalElement</QueryOutputCachedSchemaStatus>
<QueryOutputCachedSchemaColumns>firstname</QueryOutputCachedSchemaColumns>
<QueryOutputCachedSchemaDataTypes>12</QueryOutputCachedSchemaDataTypes>
<QueryOutputCachedSchemaDataTypesName>VARCHAR</QueryOutputCachedSchemaDataTypesName>
<QueryOutputCachedSchemaStatus>OptionalElement</QueryOutputCachedSchemaStatus>
<QueryOutputCachedSchemaColumns>lastname</QueryOutputCachedSchemaColumns>
<QueryOutputCachedSchemaDataTypes>12</QueryOutputCachedSchemaDataTypes>
<QueryOutputCachedSchemaDataTypesName>VARCHAR</QueryOutputCachedSchemaDataTypesName>
<QueryOutputCachedSchemaStatus>OptionalElement</QueryOutputCachedSchemaStatus>
<QueryOutputCachedSchemaColumns>date_of_birth</QueryOutputCachedSchemaColumns>
<QueryOutputCachedSchemaDataTypes>12</QueryOutputCachedSchemaDataTypes>
<QueryOutputCachedSchemaDataTypesName>TEXT</QueryOutputCachedSchemaDataTypesName>
<QueryOutputCachedSchemaStatus>OptionalElement</QueryOutputCachedSchemaStatus>
<QueryOutputCachedSchemaColumns>date_of_death</QueryOutputCachedSchemaColumns>
<QueryOutputCachedSchemaDataTypes>12</QueryOutputCachedSchemaDataTypes>
<QueryOutputCachedSchemaDataTypesName>TEXT</QueryOutputCachedSchemaDataTypesName>
<QueryOutputCachedSchemaStatus>OptionalElement</QueryOutputCachedSchemaStatus>
<QueryOutputCachedSchemaColumns>age</QueryOutputCachedSchemaColumns>
<QueryOutputCachedSchemaDataTypes>4</QueryOutputCachedSchemaDataTypes>
<QueryOutputCachedSchemaDataTypesName>INT</QueryOutputCachedSchemaDataTypesName>
<QueryOutputCachedSchemaStatus>OptionalElement</QueryOutputCachedSchemaStatus>
</config>
<pd:inputBindings>
<jdbcQueryActivityInput>
<id>
<xsl:value-of select="$Map-Data/root/id"/>
</id>
</jdbcQueryActivityInput>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Notify">
<pd:type>com.tibco.plugin.waitnotify.NotifyActivity</pd:type>
<pd:resourceType>ae.activities.notifyActivity</pd:resourceType>
<pd:x>596</pd:x>
<pd:y>105</pd:y>
<config>
<sharedConfig>/Resources/configurations/Notify Configuration.sharednotify</sharedConfig>
</config>
<pd:inputBindings>
<input>
<root>
<xsl:if test="$JDBC-Query/resultSet/Record[1]/id">
<id>
<xsl:value-of select="$JDBC-Query/resultSet/Record[1]/id"/>
</id>
</xsl:if>
<xsl:if test="$JDBC-Query/resultSet/Record[1]/firstname">
<firstname>
<xsl:value-of select="$JDBC-Query/resultSet/Record[1]/firstname"/>
</firstname>
</xsl:if>
<xsl:if test="$JDBC-Query/resultSet/Record[1]/lastname">
<lastname>
<xsl:value-of select="$JDBC-Query/resultSet/Record[1]/lastname"/>
</lastname>
</xsl:if>
<xsl:if test="$JDBC-Query/resultSet/Record[1]/date_of_birth">
<date-of-birth>
<xsl:value-of select="$JDBC-Query/resultSet/Record[1]/date_of_birth"/>
</date-of-birth>
</xsl:if>
<xsl:if test="$JDBC-Query/resultSet/Record[1]/date_of_death">
<date-of-death>
<xsl:value-of select="$JDBC-Query/resultSet/Record[1]/date_of_death"/>
</date-of-death>
</xsl:if>
<xsl:if test="$JDBC-Query/resultSet/Record[1]/age">
<age>
<xsl:value-of select="$JDBC-Query/resultSet/Record[1]/age"/>
</age>
</xsl:if>
<status>
<xsl:value-of select="'OK'"/>
</status>
</root>
</input>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>Map Data</pd:from>
<pd:to>JDBC Query</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Start</pd:from>
<pd:to>Map Data</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>JDBC Query</pd:from>
<pd:to>Notify</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Notify</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
</pd:ProcessDefinition>

View File

@@ -0,0 +1,167 @@
<?xml version="1.0" encoding="UTF-8"?>
<pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 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">
<pd:name>Processes/sql/SQLPOST.process</pd:name>
<pd:startName>Start</pd:startName>
<pd:startType>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="data" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</pd:startType>
<pd:startX>152</pd:startX>
<pd:startY>112</pd:startY>
<pd:returnBindings/>
<pd:endName>End</pd:endName>
<pd:endX>793</pd:endX>
<pd:endY>85</pd:endY>
<pd:errorSchemas/>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719579163583</pd:targetNamespace>
<pd:activity name="Map Data">
<pd:type>com.tibco.plugin.mapper.MapperActivity</pd:type>
<pd:resourceType>ae.activities.MapperActivity</pd:resourceType>
<pd:x>367</pd:x>
<pd:y>66</pd:y>
<config>
<element>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="firstname" type="xsd:string"/>
<xsd:element name="lastname" type="xsd:string"/>
<xsd:element name="date-of-birth" type="xsd:string"/>
<xsd:element name="date-of-death" type="xsd:string"/>
<xsd:element name="id" type="xsd:string"/>
<xsd:element name="age" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</element>
</config>
<pd:inputBindings>
<root>
<firstname>
<xsl:value-of select="substring-before(substring-after($Start/root/data, '&quot;firstname&quot;:&quot;'), '&quot;')"/>
</firstname>
<lastname>
<xsl:value-of select="substring-before(substring-after($Start/root/data, '&quot;lastname&quot;:&quot;'), '&quot;')"/>
</lastname>
<date-of-birth>
<xsl:value-of select="substring-before(substring-after($Start/root/data, '&quot;day-of-birth&quot;:&quot;'), '&quot;')"/>
</date-of-birth>
<date-of-death>
<xsl:value-of select="substring-before(substring-after($Start/root/data, '&quot;day-of-death&quot;:&quot;'), '&quot;')"/>
</date-of-death>
<id>
<xsl:value-of select="substring-before(substring-after($Start/root/data, '&quot;id&quot;:&quot;'), '&quot;')"/>
</id>
<age>
<xsl:value-of select="substring-before(substring-after($Start/root/data, '&quot;age&quot;:&quot;'), '&quot;')"/>
</age>
</root>
</pd:inputBindings>
</pd:activity>
<pd:activity name="JDBC Update">
<pd:type>com.tibco.plugin.jdbc.JDBCUpdateActivity</pd:type>
<pd:resourceType>ae.activities.JDBCUpdateActivity</pd:resourceType>
<pd:x>561</pd:x>
<pd:y>66</pd:y>
<config>
<timeout>10</timeout>
<commit>false</commit>
<emptyStrAsNil>false</emptyStrAsNil>
<jdbcSharedConfig>/Resources/configurations/JDBC Connection.sharedjdbc</jdbcSharedConfig>
<statement>INSERT INTO author ( firstname, lastname, date_of_birth, date_of_death, age) VALUES (?,?,?,?,?);</statement>
<Prepared_Param_DataType>
<parameter>
<parameterName>param_firstname</parameterName>
<dataType>VARCHAR</dataType>
</parameter>
<parameter>
<parameterName>param_lastname</parameterName>
<dataType>VARCHAR</dataType>
</parameter>
<parameter>
<parameterName>param_date-of_birth</parameterName>
<dataType>VARCHAR</dataType>
</parameter>
<parameter>
<parameterName>param_date-of_death</parameterName>
<dataType>VARCHAR</dataType>
</parameter>
<parameter>
<parameterName>param_age</parameterName>
<dataType>VARCHAR</dataType>
</parameter>
</Prepared_Param_DataType>
</config>
<pd:inputBindings>
<jdbcUpdateActivityInput>
<param_firstname>
<xsl:value-of select="$Map-Data/root/firstname"/>
</param_firstname>
<param_lastname>
<xsl:value-of select="$Map-Data/root/lastname"/>
</param_lastname>
<param_date-of_birth>
<xsl:value-of select="$Map-Data/root/date-of-birth"/>
</param_date-of_birth>
<param_date-of_death>
<xsl:value-of select="$Map-Data/root/date-of-death"/>
</param_date-of_death>
<param_age>
<xsl:value-of select="$Map-Data/root/age"/>
</param_age>
</jdbcUpdateActivityInput>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Notify">
<pd:type>com.tibco.plugin.waitnotify.NotifyActivity</pd:type>
<pd:resourceType>ae.activities.notifyActivity</pd:resourceType>
<pd:x>671</pd:x>
<pd:y>68</pd:y>
<config>
<sharedConfig>/Resources/configurations/Notify Configuration.sharednotify</sharedConfig>
</config>
<pd:inputBindings>
<input>
<root>
<status>
<xsl:value-of select="'ok'"/>
</status>
</root>
</input>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>Map Data</pd:from>
<pd:to>JDBC Update</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Start</pd:from>
<pd:to>Map Data</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>JDBC Update</pd:from>
<pd:to>Notify</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Notify</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
</pd:ProcessDefinition>

View File

@@ -0,0 +1,184 @@
<?xml version="1.0" encoding="UTF-8"?>
<pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 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:xsi="http://www.w3.org/2001/XMLSchema-instance">
<pd:name>Processes/sql/SQLPUT.process</pd:name>
<pd:startName>Start</pd:startName>
<pd:startType>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="data" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</pd:startType>
<pd:startX>145</pd:startX>
<pd:startY>64</pd:startY>
<pd:returnBindings/>
<pd:endName>End</pd:endName>
<pd:endX>644</pd:endX>
<pd:endY>66</pd:endY>
<pd:errorSchemas/>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719579163583</pd:targetNamespace>
<pd:activity name="Map Data">
<pd:type>com.tibco.plugin.mapper.MapperActivity</pd:type>
<pd:resourceType>ae.activities.MapperActivity</pd:resourceType>
<pd:x>262</pd:x>
<pd:y>64</pd:y>
<config>
<element>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="firstname" type="xsd:string"/>
<xsd:element name="lastname" type="xsd:string"/>
<xsd:element name="date-of-birth" type="xsd:string"/>
<xsd:element name="date-of-death" type="xsd:string"/>
<xsd:element name="id" type="xsd:string"/>
<xsd:element name="age" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</element>
</config>
<pd:inputBindings>
<root>
<firstname>
<xsl:value-of select="substring-before(substring-after($Start/root/data, '&quot;firstname&quot;:&quot;'), '&quot;')"/>
</firstname>
<lastname>
<xsl:value-of select="substring-before(substring-after($Start/root/data, '&quot;lastname&quot;:&quot;'), '&quot;')"/>
</lastname>
<date-of-birth>
<xsl:value-of select="substring-before(substring-after($Start/root/data, '&quot;day-of-birth&quot;:&quot;'), '&quot;')"/>
</date-of-birth>
<date-of-death>
<xsl:value-of select="substring-before(substring-after($Start/root/data, '&quot;day-of-death&quot;:&quot;'), '&quot;')"/>
</date-of-death>
<id>
<xsl:value-of select="substring-before(substring-after($Start/root/data, '&quot;id&quot;:&quot;'), '&quot;')"/>
</id>
<age>
<xsl:value-of select="substring-before(substring-after($Start/root/data, '&quot;age&quot;:&quot;'), '&quot;')"/>
</age>
</root>
</pd:inputBindings>
</pd:activity>
<pd:activity name="JDBC Update">
<pd:type>com.tibco.plugin.jdbc.JDBCUpdateActivity</pd:type>
<pd:resourceType>ae.activities.JDBCUpdateActivity</pd:resourceType>
<pd:x>391</pd:x>
<pd:y>64</pd:y>
<config>
<timeout>10</timeout>
<commit>false</commit>
<emptyStrAsNil>false</emptyStrAsNil>
<jdbcSharedConfig>/Resources/configurations/JDBC Connection.sharedjdbc</jdbcSharedConfig>
<statement>UPDATE author
SET firstname = ?, lastname = ?, date_of_birth = ?, date_of_death = ?, age = ?
WHERE id = ?;
</statement>
<Prepared_Param_DataType>
<parameter>
<parameterName>param_firstname</parameterName>
<dataType>VARCHAR</dataType>
</parameter>
<parameter>
<parameterName>param_lastname</parameterName>
<dataType>VARCHAR</dataType>
</parameter>
<parameter>
<parameterName>param_date-of_birth</parameterName>
<dataType>VARCHAR</dataType>
</parameter>
<parameter>
<parameterName>param_date-of_death</parameterName>
<dataType>VARCHAR</dataType>
</parameter>
<parameter>
<parameterName>param_age</parameterName>
<dataType>VARCHAR</dataType>
</parameter>
<parameter>
<parameterName>param_id</parameterName>
<dataType>VARCHAR</dataType>
</parameter>
</Prepared_Param_DataType>
</config>
<pd:inputBindings>
<jdbcUpdateActivityInput>
<param_firstname>
<xsl:value-of select="$Map-Data/root/firstname"/>
</param_firstname>
<param_lastname>
<xsl:value-of select="$Map-Data/root/lastname"/>
</param_lastname>
<param_date-of_birth>
<xsl:value-of select="$Map-Data/root/date-of-birth"/>
</param_date-of_birth>
<param_date-of_death>
<xsl:value-of select="$Map-Data/root/date-of-death"/>
</param_date-of_death>
<param_age>
<xsl:value-of select="$Map-Data/root/age"/>
</param_age>
<param_id>
<xsl:choose>
<xsl:when test="exists($Map-Data/root/id)">
<xsl:value-of select="$Map-Data/root/id"/>
</xsl:when>
<xsl:otherwise>
<xsl:attribute name="xsi:nil">true</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</param_id>
</jdbcUpdateActivityInput>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Notify">
<pd:type>com.tibco.plugin.waitnotify.NotifyActivity</pd:type>
<pd:resourceType>ae.activities.notifyActivity</pd:resourceType>
<pd:x>524</pd:x>
<pd:y>65</pd:y>
<config>
<sharedConfig>/Resources/configurations/Notify Configuration.sharednotify</sharedConfig>
</config>
<pd:inputBindings>
<input>
<root>
<status>
<xsl:value-of xmlns:xsl="http://www.w3.org/1999/XSL/Transform" select="'ok'"/>
</status>
</root>
</input>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>Start</pd:from>
<pd:to>Map Data</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Map Data</pd:from>
<pd:to>JDBC Update</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>JDBC Update</pd:from>
<pd:to>Notify</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Notify</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
</pd:ProcessDefinition>

View File

@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 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">
<pd:name>Processes/sql/select operation.process</pd:name>
<pd:startName>Start</pd:startName>
<pd:startType>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="method" type="xsd:string"/>
<xsd:element name="data" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</pd:startType>
<pd:startX>95</pd:startX>
<pd:startY>76</pd:startY>
<pd:returnBindings/>
<pd:endName>End</pd:endName>
<pd:endX>718</pd:endX>
<pd:endY>81</pd:endY>
<pd:errorSchemas/>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719567794423</pd:targetNamespace>
<pd:activity name="Log">
<pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type>
<pd:resourceType>ae.activities.log</pd:resourceType>
<pd:x>400</pd:x>
<pd:y>78</pd:y>
<config>
<role>User</role>
</config>
<pd:inputBindings>
<ns:ActivityInput>
<message>
<xsl:value-of select="$Start/root/data"/>
</message>
</ns:ActivityInput>
</pd:inputBindings>
</pd:activity>
<pd:activity name="selected process">
<pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
<pd:resourceType>ae.process.subprocess</pd:resourceType>
<pd:x>245</pd:x>
<pd:y>77</pd:y>
<config>
<processName>/Processes/sql/SQLPOST.process</processName>
<processNameXPath>concat( '/Processes/SQL', $Start/root/method ,'.process' )</processNameXPath>
</config>
<pd:inputBindings>
<root>
<data>
<xsl:value-of select="$Start/root/data"/>
</data>
</root>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>Log</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Start</pd:from>
<pd:to>selected process</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>selected process</pd:from>
<pd:to>Log</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
</pd:ProcessDefinition>

83
Processes/sql/sql.process Normal file
View File

@@ -0,0 +1,83 @@
<?xml version="1.0" encoding="UTF-8"?>
<pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 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">
<pd:name>Processes/sql/sql.process</pd:name>
<pd:startName>Start</pd:startName>
<pd:startType>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="method" type="xsd:string"/>
<xsd:element name="data" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</pd:startType>
<pd:startX>54</pd:startX>
<pd:startY>121</pd:startY>
<pd:returnBindings/>
<pd:endName>End</pd:endName>
<pd:endX>828</pd:endX>
<pd:endY>111</pd:endY>
<pd:errorSchemas/>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719483377637</pd:targetNamespace>
<pd:activity name="initialize database">
<pd:type>com.tibco.plugin.jdbc.JDBCGeneralActivity</pd:type>
<pd:resourceType>ae.activities.JDBCGeneralActivity</pd:resourceType>
<pd:x>275</pd:x>
<pd:y>126</pd:y>
<config>
<timeout>10</timeout>
<commit>false</commit>
<maxRows>100</maxRows>
<jdbcSharedConfig>/Resources/configurations/JDBC Connection.sharedjdbc</jdbcSharedConfig>
</config>
<pd:inputBindings>
<jdbcGeneralActivityInput>
<statement>
<xsl:value-of select="'CREATE TABLE IF NOT EXISTS book ( id INTEGER PRIMARY KEY AUTOINCREMENT, name TEXT NOT NULL, date DATE NOT NULL, authorId INTEGER NOT NULL, availability BOOLEAN NOT NULL );'"/>
</statement>
</jdbcGeneralActivityInput>
</pd:inputBindings>
</pd:activity>
<pd:activity name="select operation">
<pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
<pd:resourceType>ae.process.subprocess</pd:resourceType>
<pd:x>468</pd:x>
<pd:y>110</pd:y>
<config>
<processName>/Processes/sql/select operation.process</processName>
</config>
<pd:inputBindings>
<root>
<method>
<xsl:value-of select="$Start/root/method"/>
</method>
<data>
<xsl:value-of select="$Start/root/data"/>
</data>
</root>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>Start</pd:from>
<pd:to>initialize database</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>initialize database</pd:from>
<pd:to>select operation</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>select operation</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
</pd:ProcessDefinition>

7
Processes/wsdl/.folder Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002">
<folder resourceType="ae.designerfolder" name="wsdl" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false">
<description/>
<fixedChildren/>
</folder>
</Repository:repository>

View File

@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="UTF-8"?>
<pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:pfx="http://xmlns.example.com/1721743175984" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:pd="http://xmlns.tibco.com/bw/process/2003">
<wsdl:import namespace="http://xmlns.example.com/1721743175984" location="/Resources/WSDL/concrete/author methods.wsdl"/>
<pd:name>Processes/wsdl/Process Definition.process</pd:name>
<pd:startName>SOAPEventSource</pd:startName>
<pd:startX>0</pd:startX>
<pd:startY>0</pd:startY>
<pd:returnBindings/>
<pd:starter name="SOAPEventSource">
<pd:type>com.tibco.plugin.soap.SOAPEventSource</pd:type>
<pd:resourceType>ae.activities.SOAPEventSourceUI</pd:resourceType>
<pd:x>113</pd:x>
<pd:y>84</pd:y>
<config>
<service>pfx:PortType</service>
<wsdlNamespaceRoot>http://xmlns.example.com/1721743175984/DeleteImpl</wsdlNamespaceRoot>
<operation>Delete</operation>
<portAddressPrefix/>
<operationStyle>document</operationStyle>
<soapUse>literal</soapUse>
<embedWsdlComponents>true</embedWsdlComponents>
<embedSchemaComponents>true</embedSchemaComponents>
<soapAction>/Processes/wsdl/Process%20Definition</soapAction>
<sharedChannel>/Resources/configurations/HTTP Connection.sharedhttp</sharedChannel>
<soapVersion>SOAP 1.2</soapVersion>
</config>
<pd:inputBindings/>
</pd:starter>
<pd:endName>End</pd:endName>
<pd:endX>450</pd:endX>
<pd:endY>64</pd:endY>
<pd:errorSchemas/>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1721820974742</pd:targetNamespace>
<pd:activity name="SOAPSendFault">
<pd:type>com.tibco.plugin.soap.SOAPSendFaultActivity</pd:type>
<pd:resourceType>ae.activities.SOAPSendFaultUI</pd:resourceType>
<pd:x>274</pd:x>
<pd:y>99</pd:y>
<config>
<faultMessage>&lt;Default&gt;</faultMessage>
<eventSource>SOAPEventSource</eventSource>
<sharedChannels>
<jmsChannel>
<JMSDeliveryMode>2</JMSDeliveryMode>
</jmsChannel>
</sharedChannels>
</config>
<pd:inputBindings>
<defaultFaultElement>
<faultcode>
<xsl:value-of select="997"/>
</faultcode>
<faultstring>
<xsl:value-of select="'wyjebao sie'"/>
</faultstring>
</defaultFaultElement>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>SOAPEventSource</pd:from>
<pd:to>SOAPSendFault</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>SOAPSendFault</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
</pd:ProcessDefinition>

7
Processes/xml/.folder Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002">
<folder resourceType="ae.designerfolder" name="xml" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false">
<description/>
<fixedChildren/>
</folder>
</Repository:repository>

View File

@@ -0,0 +1,186 @@
<?xml version="1.0" encoding="UTF-8"?>
<pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 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:ns3="http://www.tibco.com/pe/GenerateErrorActivity/InputSchema">
<pd:name>Processes/xml/XMLDELETE.process</pd:name>
<pd:startName>Start</pd:startName>
<pd:startType>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="id" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</pd:startType>
<pd:startX>149</pd:startX>
<pd:startY>258</pd:startY>
<pd:returnBindings>
<book>
<id>
<xsl:value-of select="-2"/>
</id>
<name>
<xsl:value-of select="' '"/>
</name>
<date>
<xsl:value-of select="-1"/>
</date>
<authorId>
<xsl:value-of select="-1"/>
</authorId>
<availability>
<xsl:value-of select="-1"/>
</availability>
</book>
</pd:returnBindings>
<pd:endName>End</pd:endName>
<pd:endX>1414</pd:endX>
<pd:endY>260</pd:endY>
<pd:errorSchemas/>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719483544323</pd:targetNamespace>
<pd:activity name="Transform XML">
<pd:type>com.tibco.plugin.xml.XMLTransformActivity</pd:type>
<pd:resourceType>ae.activities.XMLTransformActivity</pd:resourceType>
<pd:x>673</pd:x>
<pd:y>260</pd:y>
<config>
<inputStyle>binary</inputStyle>
<engine>TibcoXML</engine>
<stylesheet>/Resources/xslt transformers/xsltDelete.xslt</stylesheet>
</config>
<pd:inputBindings>
<bytesInput>
<xmlBytesIn>
<xsl:value-of select="$Read-File/ns2:ReadActivityOutputBinaryClass/fileContent/binaryContent"/>
</xmlBytesIn>
<parameter>
<name>
<xsl:value-of select="'id'"/>
</name>
<value>
<xsl:value-of select="string($Start/root/id)"/>
</value>
<isXMLDocument>
<xsl:value-of select="'false'"/>
</isXMLDocument>
</parameter>
</bytesInput>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Read File">
<pd:type>com.tibco.plugin.file.FileReadActivity</pd:type>
<pd:resourceType>ae.activities.FileReadActivity</pd:resourceType>
<pd:x>394</pd:x>
<pd:y>259</pd:y>
<config>
<encoding>binary</encoding>
</config>
<pd:inputBindings>
<ns2:ReadActivityInputClass>
<fileName>
<xsl:value-of select="'/tibco/designer/5.12/projects/httpRequest/Resources/databases/databaseXML.xml'"/>
</fileName>
</ns2:ReadActivityInputClass>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Write File">
<pd:type>com.tibco.plugin.file.FileWriteActivity</pd:type>
<pd:resourceType>ae.activities.FileWriteActivity</pd:resourceType>
<pd:x>956</pd:x>
<pd:y>258</pd:y>
<config>
<encoding>binary</encoding>
<compressFile>None</compressFile>
</config>
<pd:inputBindings>
<ns2:WriteActivityInputBinaryClass>
<fileName>
<xsl:value-of select="'/tibco/designer/5.12/projects/httpRequest/Resources/databases/databaseXML.xml'"/>
</fileName>
<binaryContent>
<xsl:value-of select="$Transform-XML/xmlBytes/xmlOutput"/>
</binaryContent>
</ns2:WriteActivityInputBinaryClass>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Notify">
<pd:type>com.tibco.plugin.waitnotify.NotifyActivity</pd:type>
<pd:resourceType>ae.activities.notifyActivity</pd:resourceType>
<pd:x>1236</pd:x>
<pd:y>258</pd:y>
<config>
<sharedConfig>/Resources/configurations/Notify Configuration.sharednotify</sharedConfig>
</config>
<pd:inputBindings>
<input>
<root>
<status>
<xsl:value-of select="'delete'"/>
</status>
</root>
</input>
</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>664</pd:x>
<pd:y>114</pd:y>
<config>
<faultName/>
</config>
<pd:inputBindings>
<ns3:ActivityInput>
<message>
<xsl:value-of select="'author with given id does not exist'"/>
</message>
</ns3:ActivityInput>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>Transform XML</pd:from>
<pd:to>Write File</pd:to>
<pd:xpathDescription>is file shorter</pd:xpathDescription>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>xpath</pd:conditionType>
<pd:xpath>string-length($Read-File/ns2:ReadActivityOutputBinaryClass/fileContent/binaryContent)&gt;string-length($Transform-XML/xmlBytes/xmlOutput)</pd:xpath>
</pd:transition>
<pd:transition>
<pd:from>Read File</pd:from>
<pd:to>Transform XML</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Write File</pd:from>
<pd:to>Notify</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Notify</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Start</pd:from>
<pd:to>Read File</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Transform XML</pd:from>
<pd:to>Generate Error</pd:to>
<pd:xpathDescription>file is not changed </pd:xpathDescription>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>xpath</pd:conditionType>
<pd:xpath>string-length($Read-File/ns2:ReadActivityOutputBinaryClass/fileContent/binaryContent)&lt;=string-length($Transform-XML/xmlBytes/xmlOutput)</pd:xpath>
</pd:transition>
</pd:ProcessDefinition>

View File

@@ -0,0 +1,226 @@
<?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: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: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">
<xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/putRequest.xsd"/>
<pd:name>Processes/xml/XMLGET.process</pd:name>
<pd:startName>Start</pd:startName>
<pd:startType>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="id" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</pd:startType>
<pd:startX>125</pd:startX>
<pd:startY>76</pd:startY>
<pd:returnBindings/>
<pd:endName>End</pd:endName>
<pd:endX>1051</pd:endX>
<pd:endY>75</pd:endY>
<pd:errorSchemas/>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719920186128</pd:targetNamespace>
<pd:activity name="Parse XML">
<pd:type>com.tibco.plugin.xml.XMLParseActivity</pd:type>
<pd:resourceType>ae.activities.XMLParseActivity</pd:resourceType>
<pd:x>507</pd:x>
<pd:y>79</pd:y>
<config>
<inputStyle>text</inputStyle>
<xsdVersion>default</xsdVersion>
<validateOutput>true</validateOutput>
<term>
<xsd:element name="authors">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="pfx2:author" minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</term>
</config>
<pd:inputBindings>
<xmlString>
<xsl:value-of select="$Read-File/ns:ReadActivityOutputTextClass/fileContent/textContent"/>
</xmlString>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Read File">
<pd:type>com.tibco.plugin.file.FileReadActivity</pd:type>
<pd:resourceType>ae.activities.FileReadActivity</pd:resourceType>
<pd:x>330</pd:x>
<pd:y>78</pd:y>
<config>
<encoding>text</encoding>
</config>
<pd:inputBindings>
<pfx:ReadActivityInputClass>
<fileName>
<xsl:value-of select="'/tibco/designer/5.12/projects/httpRequest/Resources/databases/databaseXML.xml'"/>
</fileName>
</pfx:ReadActivityInputClass>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Map-Data-2">
<pd:type>com.tibco.plugin.mapper.MapperActivity</pd:type>
<pd:resourceType>ae.activities.MapperActivity</pd:resourceType>
<pd:x>706</pd:x>
<pd:y>83</pd:y>
<config>
<element>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="author" minOccurs="0" maxOccurs="unbounded">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="firstname" type="xsd:string"/>
<xsd:element name="lastname" type="xsd:string"/>
<xsd:element name="date-of-birth" type="xsd:string"/>
<xsd:element name="date-of-death" type="xsd:string"/>
<xsd:element name="id" type="xsd:string"/>
<xsd:element name="age" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</element>
</config>
<pd:inputBindings>
<root>
<xsl:for-each select="$Parse-XML/authors/pfx2:author">
<xsl:if test="@id=$Start/root/id">
<author>
<firstname>
<xsl:value-of select="pfx2:firstName"/>
</firstname>
<lastname>
<xsl:value-of select="pfx2:lastName"/>
</lastname>
<date-of-birth>
<xsl:value-of select="pfx2:dateOfBirth"/>
</date-of-birth>
<date-of-death>
<xsl:value-of select="pfx2:dateOfDeath"/>
</date-of-death>
<id>
<xsl:value-of select="pfx2:age"/>
</id>
<age>
<xsl:value-of select="pfx2:age"/>
</age>
</author>
</xsl:if>
</xsl:for-each>
</root>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Notify">
<pd:type>com.tibco.plugin.waitnotify.NotifyActivity</pd:type>
<pd:resourceType>ae.activities.notifyActivity</pd:resourceType>
<pd:x>888</pd:x>
<pd:y>81</pd:y>
<config>
<sharedConfig>/Resources/configurations/Notify Configuration.sharednotify</sharedConfig>
</config>
<pd:inputBindings>
<input>
<root>
<xsl:if test="$Map-Data-2/root/author[1]/firstname">
<firstname>
<xsl:value-of select="$Map-Data-2/root/author[1]/firstname"/>
</firstname>
</xsl:if>
<xsl:if test="$Map-Data-2/root/author[1]/lastname">
<lastname>
<xsl:value-of select="$Map-Data-2/root/author[1]/lastname"/>
</lastname>
</xsl:if>
<xsl:if test="$Map-Data-2/root/author[1]/date-of-birth">
<date-of-birth>
<xsl:value-of select="$Map-Data-2/root/author[1]/date-of-birth"/>
</date-of-birth>
</xsl:if>
<xsl:if test="$Map-Data-2/root/author[1]/date-of-death">
<date-of-death>
<xsl:value-of select="$Map-Data-2/root/author[1]/date-of-death"/>
</date-of-death>
</xsl:if>
<xsl:if test="$Map-Data-2/root/author[1]/age">
<age>
<xsl:value-of select="$Map-Data-2/root/author[1]/age"/>
</age>
</xsl:if>
<status>
<xsl:value-of select="'jest git'"/>
</status>
</root>
</input>
</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>705</pd:x>
<pd:y>277</pd:y>
<config>
<faultName/>
</config>
<pd:inputBindings>
<ns2:ActivityInput>
<message>
<xsl:value-of select="'dany author nie istnieje'"/>
</message>
</ns2:ActivityInput>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>Parse XML</pd:from>
<pd:to>Map-Data-2</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Notify</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Map-Data-2</pd:from>
<pd:to>Notify</pd:to>
<pd:xpathDescription>author exist</pd:xpathDescription>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>xpath</pd:conditionType>
<pd:xpath>boolean($Map-Data-2/root/author)</pd:xpath>
</pd:transition>
<pd:transition>
<pd:from>Read File</pd:from>
<pd:to>Parse XML</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Start</pd:from>
<pd:to>Read File</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Map-Data-2</pd:from>
<pd:to>Generate Error</pd:to>
<pd:xpathDescription>author does not exist</pd:xpathDescription>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>xpath</pd:conditionType>
<pd:xpath>not(boolean($Map-Data-2/root/author))</pd:xpath>
</pd:transition>
</pd:ProcessDefinition>

View File

@@ -0,0 +1,344 @@
<?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/namespaces/tnt/plugins/file" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="http://xmlns.tibco.com/bw/activity/xml/render/bytesEnvelope/2003/05" xmlns:tib="http://www.tibco.com/bw/xslt/custom-functions" xmlns:ns3="http://www.tibco.com/namespaces/tnt/plugins/file/v2">
<xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/putRequest.xsd"/>
<pd:name>Processes/xml/XMLPOST.process</pd:name>
<pd:startName>Start</pd:startName>
<pd:startType>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="pfx:author"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</pd:startType>
<pd:startX>51</pd:startX>
<pd:startY>212</pd:startY>
<pd:returnBindings/>
<pd:endName>End</pd:endName>
<pd:endX>1496</pd:endX>
<pd:endY>206</pd:endY>
<pd:errorSchemas/>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719920186128</pd:targetNamespace>
<pd:activity name="Write File">
<pd:type>com.tibco.plugin.file.FileWriteActivity</pd:type>
<pd:resourceType>ae.activities.FileWriteActivity</pd:resourceType>
<pd:x>1060</pd:x>
<pd:y>79</pd:y>
<config>
<encoding>text</encoding>
<compressFile>None</compressFile>
<append>true</append>
</config>
<pd:inputBindings>
<ns:WriteActivityInputTextClass>
<fileName>
<xsl:value-of select="'/tibco/designer/5.12/projects/httpRequest/Resources/databases/databaseXML.xml'"/>
</fileName>
<textContent>
<xsl:value-of select="$Render-authors/xmlString"/>
</textContent>
</ns:WriteActivityInputTextClass>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Render-authors">
<pd:type>com.tibco.plugin.xml.XMLRendererActivity</pd:type>
<pd:resourceType>ae.activities.XMLRendererActivity</pd:resourceType>
<pd:x>531</pd:x>
<pd:y>86</pd:y>
<config>
<renderAsText>text</renderAsText>
<validateInput>true</validateInput>
<renderDefaultPrefix>false</renderDefaultPrefix>
<textEncoding>UTF-8</textEncoding>
<term>
<xsd:element name="authors">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="pfx:author"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</term>
</config>
<pd:inputBindings>
<authors>
<pfx:author>
<xsl:if test="$Start/root/pfx:author/@id">
<xsl:attribute name="id">
<xsl:value-of select="$Start/root/pfx:author/@id"/>
</xsl:attribute>
</xsl:if>
<pfx:firstName>
<xsl:value-of select="$Start/root/pfx:author/pfx:firstName"/>
</pfx:firstName>
<pfx:lastName>
<xsl:value-of select="$Start/root/pfx:author/pfx:lastName"/>
</pfx:lastName>
<xsl:if test="$Start/root/pfx:author/pfx:age">
<pfx:age>
<xsl:value-of select="$Start/root/pfx:author/pfx:age"/>
</pfx:age>
</xsl:if>
<pfx:dateOfBirth>
<xsl:value-of select="$Start/root/pfx:author/pfx:dateOfBirth"/>
</pfx:dateOfBirth>
<xsl:if test="$Start/root/pfx:author/pfx:dateOfDeath">
<pfx:dateOfDeath>
<xsl:value-of select="$Start/root/pfx:author/pfx:dateOfDeath"/>
</pfx:dateOfDeath>
</xsl:if>
</pfx:author>
</authors>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Read File">
<pd:type>com.tibco.plugin.file.FileReadActivity</pd:type>
<pd:resourceType>ae.activities.FileReadActivity</pd:resourceType>
<pd:x>303</pd:x>
<pd:y>211</pd:y>
<config>
<encoding>text</encoding>
</config>
<pd:inputBindings>
<ns3:ReadActivityInputClass>
<fileName>
<xsl:value-of select="'/tibco/designer/5.12/projects/httpRequest/Resources/databases/databaseXML.xml'"/>
</fileName>
</ns3:ReadActivityInputClass>
</pd:inputBindings>
</pd:activity>
<pd:activity name="remove closing tag">
<pd:type>com.tibco.plugin.mapper.MapperActivity</pd:type>
<pd:resourceType>ae.activities.MapperActivity</pd:resourceType>
<pd:x>522</pd:x>
<pd:y>337</pd:y>
<config>
<element>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="XMLstring" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</element>
</config>
<pd:inputBindings>
<root>
<XMLstring>
<xsl:value-of select="tib:substring-before-last($Read-File/ns:ReadActivityOutputTextClass/fileContent/textContent, '&lt;/authors>')"/>
</XMLstring>
</root>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Render-author">
<pd:type>com.tibco.plugin.xml.XMLRendererActivity</pd:type>
<pd:resourceType>ae.activities.XMLRendererActivity</pd:resourceType>
<pd:x>687</pd:x>
<pd:y>336</pd:y>
<config>
<renderAsText>text</renderAsText>
<validateInput>true</validateInput>
<renderDefaultPrefix>false</renderDefaultPrefix>
<textEncoding>UTF-8</textEncoding>
<term ref="pfx:author"/>
</config>
<pd:inputBindings>
<pfx:author>
<xsl:if test="$Start/root/pfx:author/@id">
<xsl:attribute name="id">
<xsl:value-of select="$Start/root/pfx:author/@id"/>
</xsl:attribute>
</xsl:if>
<pfx:firstName>
<xsl:value-of select="$Start/root/pfx:author/pfx:firstName"/>
</pfx:firstName>
<pfx:lastName>
<xsl:value-of select="$Start/root/pfx:author/pfx:lastName"/>
</pfx:lastName>
<xsl:if test="$Start/root/pfx:author/pfx:age">
<pfx:age>
<xsl:value-of select="$Start/root/pfx:author/pfx:age"/>
</pfx:age>
</xsl:if>
<pfx:dateOfBirth>
<xsl:value-of select="$Start/root/pfx:author/pfx:dateOfBirth"/>
</pfx:dateOfBirth>
<xsl:if test="$Start/root/pfx:author/pfx:dateOfDeath">
<pfx:dateOfDeath>
<xsl:value-of select="$Start/root/pfx:author/pfx:dateOfDeath"/>
</pfx:dateOfDeath>
</xsl:if>
</pfx:author>
</pd:inputBindings>
</pd:activity>
<pd:activity name="remove configuration at the beggining">
<pd:type>com.tibco.plugin.mapper.MapperActivity</pd:type>
<pd:resourceType>ae.activities.MapperActivity</pd:resourceType>
<pd:x>815</pd:x>
<pd:y>349</pd:y>
<config>
<element>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="XMLstring" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</element>
</config>
<pd:inputBindings>
<root>
<XMLstring>
<xsl:value-of select="substring-after($Render-author/xmlString,'&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?>')"/>
</XMLstring>
</root>
</pd:inputBindings>
</pd:activity>
<pd:activity name="concat">
<pd:type>com.tibco.plugin.mapper.MapperActivity</pd:type>
<pd:resourceType>ae.activities.MapperActivity</pd:resourceType>
<pd:x>986</pd:x>
<pd:y>334</pd:y>
<config>
<element>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="param" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</element>
</config>
<pd:inputBindings>
<root>
<param>
<xsl:value-of select="concat($remove-closing-tag/root/XMLstring, $remove-configuration-at-the-beggining/root/XMLstring, '&lt;/authors>')"/>
</param>
</root>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Write-File-1">
<pd:type>com.tibco.plugin.file.FileWriteActivity</pd:type>
<pd:resourceType>ae.activities.FileWriteActivity</pd:resourceType>
<pd:x>1117</pd:x>
<pd:y>336</pd:y>
<config>
<encoding>text</encoding>
<compressFile>None</compressFile>
</config>
<pd:inputBindings>
<ns:WriteActivityInputTextClass>
<fileName>
<xsl:value-of select="'/tibco/designer/5.12/projects/httpRequest/Resources/databases/databaseXML.xml'"/>
</fileName>
<textContent>
<xsl:value-of select="$concat/root/param"/>
</textContent>
</ns:WriteActivityInputTextClass>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Notify">
<pd:type>com.tibco.plugin.waitnotify.NotifyActivity</pd:type>
<pd:resourceType>ae.activities.notifyActivity</pd:resourceType>
<pd:x>1305</pd:x>
<pd:y>203</pd:y>
<config>
<sharedConfig>/Resources/configurations/Notify Configuration.sharednotify</sharedConfig>
</config>
<pd:inputBindings>
<input>
<root>
<status>
<xsl:value-of select="'działa'"/>
</status>
</root>
</input>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>Read File</pd:from>
<pd:to>Render-authors</pd:to>
<pd:xpathDescription>file is empty</pd:xpathDescription>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>xpath</pd:conditionType>
<pd:xpath>string-length($Read-File/ns:ReadActivityOutputTextClass/fileContent/textContent)=0</pd:xpath>
</pd:transition>
<pd:transition>
<pd:from>Render-authors</pd:from>
<pd:to>Write File</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Read File</pd:from>
<pd:to>remove closing tag</pd:to>
<pd:xpathDescription>otherwise</pd:xpathDescription>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>xpath</pd:conditionType>
<pd:xpath>string-length($Read-File/ns:ReadActivityOutputTextClass/fileContent/textContent)&gt;0</pd:xpath>
</pd:transition>
<pd:transition>
<pd:from>remove closing tag</pd:from>
<pd:to>Render-author</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Render-author</pd:from>
<pd:to>remove configuration at the beggining</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>remove configuration at the beggining</pd:from>
<pd:to>concat</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>concat</pd:from>
<pd:to>Write-File-1</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Write File</pd:from>
<pd:to>Notify</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Write-File-1</pd:from>
<pd:to>Notify</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Notify</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Start</pd:from>
<pd:to>Read File</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
</pd:ProcessDefinition>

View File

@@ -0,0 +1,197 @@
<?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/namespaces/tnt/plugins/file" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://www.demo.com/author" schemaLocation="/Resources/schemas/putRequest.xsd"/>
<pd:name>Processes/xml/XMLPUT.process</pd:name>
<pd:startName>Start</pd:startName>
<pd:startType>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element ref="pfx:author"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</pd:startType>
<pd:startX>35</pd:startX>
<pd:startY>148</pd:startY>
<pd:returnBindings/>
<pd:endName>End</pd:endName>
<pd:endX>848</pd:endX>
<pd:endY>151</pd:endY>
<pd:errorSchemas/>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719920186128</pd:targetNamespace>
<pd:activity name="Transform-XML-1">
<pd:type>com.tibco.plugin.xml.XMLTransformActivity</pd:type>
<pd:resourceType>ae.activities.XMLTransformActivity</pd:resourceType>
<pd:x>422</pd:x>
<pd:y>151</pd:y>
<config>
<inputStyle>binary</inputStyle>
<engine>TibcoXML</engine>
<stylesheet>/Resources/xslt transformers/XSLT File.xslt</stylesheet>
</config>
<pd:inputBindings>
<bytesInput>
<xmlBytesIn>
<xsl:value-of select="$Read-File-1/ns:ReadActivityOutputBinaryClass/fileContent/binaryContent"/>
</xmlBytesIn>
<parameter>
<name>
<xsl:value-of select="'id'"/>
</name>
<value>
<xsl:value-of select="$Start/root/pfx:author/@id"/>
</value>
<isXMLDocument>
<xsl:value-of select="'false'"/>
</isXMLDocument>
</parameter>
<parameter>
<name>
<xsl:value-of select="'firstname'"/>
</name>
<value>
<xsl:value-of select="$Start/root/pfx:author/pfx:firstName"/>
</value>
<isXMLDocument>
<xsl:value-of select="'false'"/>
</isXMLDocument>
</parameter>
<parameter>
<name>
<xsl:value-of select="'secondname'"/>
</name>
<value>
<xsl:value-of select="$Start/root/pfx:author/pfx:lastName"/>
</value>
<isXMLDocument>
<xsl:value-of select="'false'"/>
</isXMLDocument>
</parameter>
<parameter>
<name>
<xsl:value-of select="'date-of-birth'"/>
</name>
<value>
<xsl:value-of select="$Start/root/pfx:author/pfx:dateOfBirth"/>
</value>
<isXMLDocument>
<xsl:value-of select="'false'"/>
</isXMLDocument>
</parameter>
<parameter>
<name>
<xsl:value-of select="'date-of-death'"/>
</name>
<value>
<xsl:value-of select="$Start/root/pfx:author/pfx:dateOfDeath"/>
</value>
<isXMLDocument>
<xsl:value-of select="'false'"/>
</isXMLDocument>
</parameter>
<parameter>
<name>
<xsl:value-of select="'age'"/>
</name>
<value>
<xsl:value-of select="$Start/root/pfx:author/pfx:age"/>
</value>
<isXMLDocument>
<xsl:value-of select="'false'"/>
</isXMLDocument>
</parameter>
</bytesInput>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Read-File-1">
<pd:type>com.tibco.plugin.file.FileReadActivity</pd:type>
<pd:resourceType>ae.activities.FileReadActivity</pd:resourceType>
<pd:x>239</pd:x>
<pd:y>148</pd:y>
<config>
<encoding>binary</encoding>
</config>
<pd:inputBindings>
<ns:ReadActivityInputClass>
<fileName>
<xsl:value-of select="'/tibco/designer/5.12/projects/httpRequest/Resources/databases/databaseXML.xml'"/>
</fileName>
</ns:ReadActivityInputClass>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Write-File-1">
<pd:type>com.tibco.plugin.file.FileWriteActivity</pd:type>
<pd:resourceType>ae.activities.FileWriteActivity</pd:resourceType>
<pd:x>613</pd:x>
<pd:y>152</pd:y>
<config>
<encoding>binary</encoding>
<compressFile>None</compressFile>
</config>
<pd:inputBindings>
<ns:WriteActivityInputBinaryClass>
<fileName>
<xsl:value-of select="'/tibco/designer/5.12/projects/httpRequest/Resources/databases/databaseXML.xml'"/>
</fileName>
<binaryContent>
<xsl:value-of select="$Transform-XML-1/xmlBytes/xmlOutput"/>
</binaryContent>
</ns:WriteActivityInputBinaryClass>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Notify">
<pd:type>com.tibco.plugin.waitnotify.NotifyActivity</pd:type>
<pd:resourceType>ae.activities.notifyActivity</pd:resourceType>
<pd:x>729</pd:x>
<pd:y>151</pd:y>
<config>
<sharedConfig>/Resources/configurations/Notify Configuration.sharednotify</sharedConfig>
</config>
<pd:inputBindings>
<input>
<root>
<status>
<xsl:value-of select="'put'"/>
</status>
</root>
</input>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>Read-File-1</pd:from>
<pd:to>Transform-XML-1</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Transform-XML-1</pd:from>
<pd:to>Write-File-1</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Write-File-1</pd:from>
<pd:to>Notify</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Notify</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Start</pd:from>
<pd:to>Read-File-1</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
</pd:ProcessDefinition>

181
Processes/xml/xml.process Normal file
View File

@@ -0,0 +1,181 @@
<?xml version="1.0" encoding="UTF-8"?>
<pd:ProcessDefinition xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 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.demo.com/author">
<pd:name>Processes/xml/xml.process</pd:name>
<pd:startName>Start</pd:startName>
<pd:startType>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="method" type="xsd:string"/>
<xsd:element name="data" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</pd:startType>
<pd:startX>67</pd:startX>
<pd:startY>77</pd:startY>
<pd:returnBindings/>
<pd:endName>End</pd:endName>
<pd:endX>732</pd:endX>
<pd:endY>85</pd:endY>
<pd:errorSchemas/>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1719484154608</pd:targetNamespace>
<pd:activity name="XMLPOST">
<pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
<pd:resourceType>ae.process.subprocess</pd:resourceType>
<pd:x>545</pd:x>
<pd:y>41</pd:y>
<config>
<processName>/Processes/xml/XMLPOST.process</processName>
<processNameXPath>concat('/Processes/xml/XML',$Start/root/method ,'.process')</processNameXPath>
</config>
<pd:inputBindings>
<root>
<ns2:author>
<xsl:attribute name="id">
<xsl:value-of select="number($Map-Data/root/id)"/>
</xsl:attribute>
<ns2:firstName>
<xsl:value-of select="$Map-Data/root/firstname"/>
</ns2:firstName>
<ns2:lastName>
<xsl:value-of select="$Map-Data/root/lastname"/>
</ns2:lastName>
<ns2:age>
<xsl:value-of select="number($Map-Data/root/age)"/>
</ns2:age>
<ns2:dateOfBirth>
<xsl:value-of select="$Map-Data/root/date-of-birth"/>
</ns2:dateOfBirth>
<ns2:dateOfDeath>
<xsl:value-of select="$Map-Data/root/date-of-death"/>
</ns2:dateOfDeath>
</ns2:author>
</root>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Map Data">
<pd:type>com.tibco.plugin.mapper.MapperActivity</pd:type>
<pd:resourceType>ae.activities.MapperActivity</pd:resourceType>
<pd:x>267</pd:x>
<pd:y>73</pd:y>
<config>
<element>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="firstname" type="xsd:string"/>
<xsd:element name="lastname" type="xsd:string"/>
<xsd:element name="date-of-birth" type="xsd:string"/>
<xsd:element name="date-of-death" type="xsd:string"/>
<xsd:element name="id" type="xsd:string"/>
<xsd:element name="age" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</element>
</config>
<pd:inputBindings>
<root>
<firstname>
<xsl:value-of select="substring-before(substring-after($Start/root/data, '&quot;firstname&quot;:&quot;'), '&quot;')"/>
</firstname>
<lastname>
<xsl:value-of select="substring-before(substring-after($Start/root/data, '&quot;lastname&quot;:&quot;'), '&quot;')"/>
</lastname>
<date-of-birth>
<xsl:value-of select="substring-before(substring-after($Start/root/data, '&quot;day-of-birth&quot;:&quot;'), '&quot;')"/>
</date-of-birth>
<date-of-death>
<xsl:value-of select="substring-before(substring-after($Start/root/data, '&quot;day-of-death&quot;:&quot;'), '&quot;')"/>
</date-of-death>
<id>
<xsl:value-of select="if ($Start/root/method = 'POST' or $Start/root/method = 'PUT' ) then substring-before(substring-after($Start/root/data, '&quot;id&quot;:&quot;'), '&quot;') else substring-after($Start/root/data, 'id=')"/>
</id>
<age>
<xsl:value-of select="number(substring-before(substring-after($Start/root/data, '&quot;age&quot;:&quot;'), '&quot;'))"/>
</age>
</root>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Log">
<pd:type>com.tibco.pe.core.WriteToLogActivity</pd:type>
<pd:resourceType>ae.activities.log</pd:resourceType>
<pd:x>156</pd:x>
<pd:y>73</pd:y>
<config>
<role>User</role>
</config>
<pd:inputBindings>
<ns:ActivityInput>
<message>
<xsl:value-of select="$Start/root/data"/>
</message>
</ns:ActivityInput>
</pd:inputBindings>
</pd:activity>
<pd:activity name="get or delete">
<pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
<pd:resourceType>ae.process.subprocess</pd:resourceType>
<pd:x>539</pd:x>
<pd:y>148</pd:y>
<config>
<processName>/Processes/xml/XMLGET.process</processName>
<processNameXPath>concat('/Processes/xml/XML',$Start/root/method ,'.process')</processNameXPath>
</config>
<pd:inputBindings>
<root>
<id>
<xsl:value-of select="number($Map-Data/root/id)"/>
</id>
</root>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>XMLPOST</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Map Data</pd:from>
<pd:to>XMLPOST</pd:to>
<pd:xpathDescription>post or put</pd:xpathDescription>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>xpath</pd:conditionType>
<pd:xpath>$Start/root/method = 'POST' or $Start/root/method = 'PUT'</pd:xpath>
</pd:transition>
<pd:transition>
<pd:from>Start</pd:from>
<pd:to>Log</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Log</pd:from>
<pd:to>Map Data</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Map Data</pd:from>
<pd:to>get or delete</pd:to>
<pd:xpathDescription>get or delete</pd:xpathDescription>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>xpath</pd:conditionType>
<pd:xpath>$Start/root/method = 'DELETE' or $Start/root/method = 'GET'</pd:xpath>
</pd:transition>
<pd:transition>
<pd:from>get or delete</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
</pd:ProcessDefinition>

7
Resources/.folder Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002">
<folder resourceType="ae.designerfolder" name="Resources" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false">
<description/>
<fixedChildren/>
</folder>
</Repository:repository>

7
Resources/WSDL/.folder Normal file
View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002">
<folder resourceType="ae.designerfolder" name="WSDL" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false">
<description/>
<fixedChildren/>
</folder>
</Repository:repository>

View File

@@ -0,0 +1,76 @@
<?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.tibco.com/schemas/httpRequest/Resources/schemas/Schema1.xsd" xmlns:wsdlPfx="http://xmlns.example.com/1721737885605" xmlns:ns2="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd">
<wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/>
<pd:name>Resources/WSDL/PortTypeDelete.process</pd:name>
<pd:startName>Start</pd:startName>
<pd:startType wsMsgRef="wsdlPfx:requestDelete"/>
<pd:startX>150</pd:startX>
<pd:startY>65</pd:startY>
<pd:returnBindings>
<wsdlPfx:responseDelete>
<part1>
<ns2:status>
<xsl:value-of select="$Wait/root/status"/>
</ns2:status>
</part1>
</wsdlPfx:responseDelete>
</pd:returnBindings>
<pd:endName>End</pd:endName>
<pd:endType wsMsgRef="wsdlPfx:responseDelete"/>
<pd:endX>486</pd:endX>
<pd:endY>65</pd:endY>
<pd:errorSchemas>
<Schema1 wsMsgRef="wsdlPfx:ErrorMessage"/>
</pd:errorSchemas>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1721743176236</pd:targetNamespace>
<pd:activity name="XMLDELETE">
<pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
<pd:resourceType>ae.process.subprocess</pd:resourceType>
<pd:x>290</pd:x>
<pd:y>66</pd:y>
<config>
<processName>/Processes/xml/XMLDELETE.process</processName>
</config>
<pd:inputBindings>
<root>
<id>
<xsl:value-of select="$Start/wsdlPfx:requestDelete/part1/ns:id"/>
</id>
</root>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Wait">
<pd:type>com.tibco.plugin.waitnotify.WaitActivity</pd:type>
<pd:resourceType>ae.activities.waitActivity</pd:resourceType>
<pd:x>393</pd:x>
<pd:y>66</pd:y>
<config>
<sharedConfig>/Resources/configurations/Notify Configuration.sharednotify</sharedConfig>
</config>
<pd:inputBindings>
<input/>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>Start</pd:from>
<pd:to>XMLDELETE</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>XMLDELETE</pd:from>
<pd:to>Wait</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Wait</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
</pd:ProcessDefinition>

View File

@@ -0,0 +1,101 @@
<?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">
<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/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/>
<pd:name>Resources/WSDL/PortTypeGet.process</pd:name>
<pd:startName>Start</pd:startName>
<pd:startType wsMsgRef="wsdlPfx:requestGet"/>
<pd:startX>111</pd:startX>
<pd:startY>64</pd:startY>
<pd:returnBindings>
<wsdlPfx:responseGet>
<part1>
<ns2:author>
<xsl:if test="$Wait/root/id">
<xsl:attribute name="id">
<xsl:value-of select="$Wait/root/id"/>
</xsl:attribute>
</xsl:if>
<ns2:firstName>
<xsl:value-of select="$Wait/root/firstname"/>
</ns2:firstName>
<ns2:lastName>
<xsl:value-of select="$Wait/root/lastname"/>
</ns2:lastName>
<xsl:if test="$Wait/root/age">
<ns2:age>
<xsl:value-of select="$Wait/root/age"/>
</ns2:age>
</xsl:if>
<ns2:dateOfBirth>
<xsl:value-of select="$Wait/root/date-of-birth"/>
</ns2:dateOfBirth>
<xsl:if test="$Wait/root/date-of-death">
<ns2:dateOfDeath>
<xsl:value-of select="$Wait/root/date-of-death"/>
</ns2:dateOfDeath>
</xsl:if>
</ns2:author>
</part1>
</wsdlPfx:responseGet>
</pd:returnBindings>
<pd:endName>End</pd:endName>
<pd:endType wsMsgRef="wsdlPfx:responseGet"/>
<pd:endX>542</pd:endX>
<pd:endY>67</pd:endY>
<pd:errorSchemas>
<Schema1 wsMsgRef="wsdlPfx:ErrorMessage"/>
</pd:errorSchemas>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1721743176122</pd:targetNamespace>
<pd:activity name="XMLGET">
<pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
<pd:resourceType>ae.process.subprocess</pd:resourceType>
<pd:x>281</pd:x>
<pd:y>65</pd:y>
<config>
<processName>/Processes/xml/XMLGET.process</processName>
</config>
<pd:inputBindings>
<root>
<id>
<xsl:value-of select="$Start/wsdlPfx:requestGet/part1/ns:id"/>
</id>
</root>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Wait">
<pd:type>com.tibco.plugin.waitnotify.WaitActivity</pd:type>
<pd:resourceType>ae.activities.waitActivity</pd:resourceType>
<pd:x>411</pd:x>
<pd:y>69</pd:y>
<config>
<sharedConfig>/Resources/configurations/Notify Configuration.sharednotify</sharedConfig>
</config>
<pd:inputBindings>
<input/>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>XMLGET</pd:from>
<pd:to>Wait</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Wait</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Start</pd:from>
<pd:to>XMLGET</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
</pd:ProcessDefinition>

View File

@@ -0,0 +1,99 @@
<?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">
<wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/>
<pd:name>Resources/WSDL/PortTypePost.process</pd:name>
<pd:startName>Start</pd:startName>
<pd:startType wsMsgRef="wsdlPfx:requestPOST"/>
<pd:startX>146</pd:startX>
<pd:startY>71</pd:startY>
<pd:returnBindings>
<wsdlPfx:responsePOST>
<part1>
<ns2:status>
<xsl:value-of select="$Wait/root/status"/>
</ns2:status>
</part1>
</wsdlPfx:responsePOST>
</pd:returnBindings>
<pd:endName>End</pd:endName>
<pd:endType wsMsgRef="wsdlPfx:responsePOST"/>
<pd:endX>529</pd:endX>
<pd:endY>73</pd:endY>
<pd:errorSchemas>
<Schema1 wsMsgRef="wsdlPfx:ErrorMessage"/>
</pd:errorSchemas>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1721743175988</pd:targetNamespace>
<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:y>70</pd:y>
<config>
<processName>/Processes/xml/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>
</root>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Wait">
<pd:type>com.tibco.plugin.waitnotify.WaitActivity</pd:type>
<pd:resourceType>ae.activities.waitActivity</pd:resourceType>
<pd:x>403</pd:x>
<pd:y>70</pd:y>
<config>
<sharedConfig>/Resources/configurations/Notify Configuration.sharednotify</sharedConfig>
</config>
<pd:inputBindings>
<input/>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>Start</pd:from>
<pd:to>XMLPOST</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>XMLPOST</pd:from>
<pd:to>Wait</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Wait</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
</pd:ProcessDefinition>

View File

@@ -0,0 +1,99 @@
<?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">
<wsdl:import namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/>
<pd:name>Resources/WSDL/PortTypePut.process</pd:name>
<pd:startName>Start</pd:startName>
<pd:startType wsMsgRef="wsdlPfx:requestPUT"/>
<pd:startX>150</pd:startX>
<pd:startY>65</pd:startY>
<pd:returnBindings>
<wsdlPfx:responsePUT>
<part1>
<ns2:status>
<xsl:value-of select="$Wait/root/status"/>
</ns2:status>
</part1>
</wsdlPfx:responsePUT>
</pd:returnBindings>
<pd:endName>End</pd:endName>
<pd:endType wsMsgRef="wsdlPfx:responsePUT"/>
<pd:endX>450</pd:endX>
<pd:endY>65</pd:endY>
<pd:errorSchemas>
<Schema1 wsMsgRef="wsdlPfx:ErrorMessage"/>
</pd:errorSchemas>
<pd:processVariables/>
<pd:targetNamespace>http://xmlns.example.com/1721743176182</pd:targetNamespace>
<pd:activity name="XMLPUT">
<pd:type>com.tibco.pe.core.CallProcessActivity</pd:type>
<pd:resourceType>ae.process.subprocess</pd:resourceType>
<pd:x>243</pd:x>
<pd:y>60</pd:y>
<config>
<processName>/Processes/xml/XMLPUT.process</processName>
</config>
<pd:inputBindings>
<root>
<ns:author>
<xsl:if test="$Start/wsdlPfx:requestPUT/part1/ns:author/@id">
<xsl:attribute name="id">
<xsl:value-of select="$Start/wsdlPfx:requestPUT/part1/ns:author/@id"/>
</xsl:attribute>
</xsl:if>
<ns:firstName>
<xsl:value-of select="$Start/wsdlPfx:requestPUT/part1/ns:author/ns:firstName"/>
</ns:firstName>
<ns:lastName>
<xsl:value-of select="$Start/wsdlPfx:requestPUT/part1/ns:author/ns:lastName"/>
</ns:lastName>
<xsl:if test="$Start/wsdlPfx:requestPUT/part1/ns:author/ns:age">
<ns:age>
<xsl:value-of select="$Start/wsdlPfx:requestPUT/part1/ns:author/ns:age"/>
</ns:age>
</xsl:if>
<ns:dateOfBirth>
<xsl:value-of select="$Start/wsdlPfx:requestPUT/part1/ns:author/ns:dateOfBirth"/>
</ns:dateOfBirth>
<xsl:if test="$Start/wsdlPfx:requestPUT/part1/ns:author/ns:dateOfDeath">
<ns:dateOfDeath>
<xsl:value-of select="$Start/wsdlPfx:requestPUT/part1/ns:author/ns:dateOfDeath"/>
</ns:dateOfDeath>
</xsl:if>
</ns:author>
</root>
</pd:inputBindings>
</pd:activity>
<pd:activity name="Wait">
<pd:type>com.tibco.plugin.waitnotify.WaitActivity</pd:type>
<pd:resourceType>ae.activities.waitActivity</pd:resourceType>
<pd:x>347</pd:x>
<pd:y>66</pd:y>
<config>
<sharedConfig>/Resources/configurations/Notify Configuration.sharednotify</sharedConfig>
</config>
<pd:inputBindings>
<input/>
</pd:inputBindings>
</pd:activity>
<pd:transition>
<pd:from>Start</pd:from>
<pd:to>XMLPUT</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>XMLPUT</pd:from>
<pd:to>Wait</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
<pd:transition>
<pd:from>Wait</pd:from>
<pd:to>End</pd:to>
<pd:lineType>Default</pd:lineType>
<pd:lineColor>-16777216</pd:lineColor>
<pd:conditionType>always</pd:conditionType>
</pd:transition>
</pd:ProcessDefinition>

View File

@@ -0,0 +1,126 @@
<?xml version="1.0" encoding="UTF-8"?>
<serviceResource xmlns:wsdl="http://xmlns.example.com/1721737885605">
<ns0:import xmlns:ns0="http://schemas.xmlsoap.org/wsdl/" namespace="http://xmlns.example.com/1721737885605" location="/Resources/WSDL/WSDL.wsdl"/>
<config>
<wsdl namespace="http://xmlns.example.com/1721743175984" embedWsdlComponents="true" embedSchemaComponents="true" embedJndiProperties="false"/>
<class>com.tibco.bw.service.serviceAgent.ServiceServiceAgent</class>
<name>WSDL-service8</name>
<resourceType>service.definition</resourceType>
<implType>bw</implType>
<groups>
<row isDefault="true" groupName="Default"/>
</groups>
<interfaceImpl>
<tab>
<tabName>PortType</tabName>
<tabType>bw</tabType>
<config>
<wsdlDetail location="/Resources/WSDL/WSDL.wsdl" portType="PortType" ns="http://xmlns.example.com/1721737885605"/>
<detail>
<tab>
<tabName>service.definition.impl.tab.label</tabName>
<tabType>impl</tabType>
<config>
<operations>
<row opName="Post" opImpl="/Resources/WSDL/PortTypePost.process"/>
<row opName="Get" opImpl="/Resources/WSDL/PortTypeGet.process"/>
<row opName="Put" opImpl="/Resources/WSDL/PortTypePut.process"/>
<row opName="Delete" opImpl="/Resources/WSDL/PortTypeDelete.process"/>
</operations>
</config>
</tab>
<tab>
<tabName>service.definition.ep.tab.label</tabName>
<tabType>ep</tabType>
<config>
<epBindings>
<row epName="PortTypeEndpoint8" epType="soap">
<config>
<epDetail>
<tab>
<tabName>soap.service.transport.ui.transport.tab.label</tabName>
<tabType>transport</tabType>
<config>
<sharedChannel>/Resources/configurations/HTTP Connection.sharedhttp</sharedChannel>
<transport>
<config>
<useBasicAuthentication>false</useBasicAuthentication>
<httpURI>/Resources/WSDL/WSDL-service8.serviceagent/PortTypeEndpoint8</httpURI>
</config>
</transport>
</config>
</tab>
<tab>
<tabName>soap.service.transport.ui.details.tab.label</tabName>
<tabType>details</tabType>
<config>
<operationStyle>document</operationStyle>
<soapVersion>SOAP 1.1</soapVersion>
<soap>
<operation name="Post">
<general>
<config>
<soapAction>/Resources/WSDL/WSDL-service8.serviceagent/PortTypeEndpoint8/Post</soapAction>
<operationStyle/>
<soapUse>literal</soapUse>
<inputNamespace/>
<outputNamespace/>
<faultNamespace/>
<portAddressPrefix/>
</config>
</general>
</operation>
<operation name="Get">
<general>
<config>
<soapAction>/Resources/WSDL/WSDL-service8.serviceagent/PortTypeEndpoint8/Get</soapAction>
<operationStyle/>
<soapUse>literal</soapUse>
<inputNamespace/>
<outputNamespace/>
<faultNamespace/>
<portAddressPrefix/>
</config>
</general>
</operation>
<operation name="Put">
<general>
<config>
<soapAction>/Resources/WSDL/WSDL-service8.serviceagent/PortTypeEndpoint8/Put</soapAction>
<operationStyle/>
<soapUse>literal</soapUse>
<inputNamespace/>
<outputNamespace/>
<faultNamespace/>
<portAddressPrefix/>
</config>
</general>
</operation>
<operation name="Delete">
<general>
<config>
<soapAction>/Resources/WSDL/WSDL-service8.serviceagent/PortTypeEndpoint8/Delete</soapAction>
<operationStyle/>
<soapUse>literal</soapUse>
<inputNamespace/>
<outputNamespace/>
<faultNamespace/>
<portAddressPrefix/>
</config>
</general>
</operation>
</soap>
</config>
</tab>
</epDetail>
</config>
</row>
</epBindings>
</config>
</tab>
</detail>
</config>
</tab>
</interfaceImpl>
</config>
</serviceResource>

117
Resources/WSDL/WSDL.wsdl Normal file
View File

@@ -0,0 +1,117 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Created by TIBCO WSDL-->
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema1.xsd" xmlns:tns="http://xmlns.example.com/1721737885605" xmlns:ns0="http://www.demo.com/author" 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/" name="Untitled" targetNamespace="http://xmlns.example.com/1721737885605">
<wsdl:import namespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema1.xsd" location="../schemas/deleteRequest.xsd"/>
<wsdl:import namespace="http://www.demo.com/author" location="../schemas/postRequest.xsd"/>
<wsdl:import namespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2" location="../schemas/errorSchema.xsd"/>
<wsdl:import namespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" location="../schemas/getRequest.xsd"/>
<wsdl:types>
<xs:schema xmlns:p="http://www.demo.com/person" xmlns:a="http://www.demo.com/author" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.demo.com/author" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="http://www.demo.com/author"/>
<xs:complexType name="AuthorType">
<xs:complexContent>
<xs:extension base="a:PersonType">
<xs:sequence>
<xs:element name="dateOfBirth" type="xs:date"/>
<xs:element name="dateOfDeath" type="xs:date" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="AuthorsType">
<xs:sequence>
<xs:element ref="a:author" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PersonType">
<xs:sequence>
<xs:element name="firstName" type="xs:string"/>
<xs:element name="lastName" type="xs:string"/>
<xs:element name="age" type="xs:int" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="id" type="xs:int"/>
</xs:complexType>
<xs:element name="author" type="a:AuthorType"/>
<xs:element name="authors" type="a:AuthorsType"/>
</xs:schema>
<xs:schema xmlns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element ref="ns1:status"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="status" type="xs:string"/>
</xs:schema>
</wsdl:types>
<wsdl:message name="requestGet">
<wsdl:part name="part1" element="ns1:id"/>
</wsdl:message>
<wsdl:message name="responseGet">
<wsdl:part name="part1" element="ns0:author"/>
</wsdl:message>
<wsdl:message name="requestPUT">
<wsdl:part name="part1" element="ns0:author"/>
</wsdl:message>
<wsdl:message name="responsePUT">
<wsdl:part name="part1" element="ns1:status"/>
</wsdl:message>
<wsdl:message name="requestDelete">
<wsdl:part name="part1" element="ns:id"/>
</wsdl:message>
<wsdl:message name="responseDelete">
<wsdl:part name="part1" element="ns1:status"/>
</wsdl:message>
<wsdl:service name="WSDL-service2">
<wsdl:port name="PortTypeEndpoint2" binding="tns:PortTypeEndpoint2Binding">
<soap:address location="http://localhost:8888/Resources/WSDL/WSDL-service2.serviceagent/PortTypeEndpoint2"/>
</wsdl:port>
</wsdl:service>
<wsdl:portType name="PortType">
<wsdl:operation name="Post">
<wsdl:input message="tns:requestPOST"/>
<wsdl:output message="tns:responsePOST"/>
<wsdl:fault name="fault1" message="tns:ErrorMessage"/>
</wsdl:operation>
<wsdl:operation name="Get">
<wsdl:input message="tns:requestGet"/>
<wsdl:output message="tns:responseGet"/>
<wsdl:fault name="fault1" message="tns:ErrorMessage"/>
</wsdl:operation>
<wsdl:operation name="Put">
<wsdl:input message="tns:requestPUT"/>
<wsdl:output message="tns:responsePUT"/>
<wsdl:fault name="fault1" message="tns:ErrorMessage"/>
</wsdl:operation>
<wsdl:operation name="Delete">
<wsdl:input message="tns:requestDelete"/>
<wsdl:output message="tns:responseDelete"/>
<wsdl:fault name="fault1" message="tns:ErrorMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="PortTypeEndpoint2Binding" type="tns:PortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="Post">
<soap:operation style="document" soapAction="/Resources/WSDL/WSDL-service2.serviceagent/PortTypeEndpoint2/Post"/>
<wsdl:input>
<soap:body use="literal" parts="part1"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal" parts="part1"/>
</wsdl:output>
<wsdl:fault name="fault1">
<soap:fault use="literal" name="fault1"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:message name="requestPOST">
<wsdl:part name="part1" element="ns0:author"/>
</wsdl:message>
<wsdl:message name="responsePOST">
<wsdl:part name="part1" element="ns1:status"/>
</wsdl:message>
<wsdl:message name="ErrorMessage">
<wsdl:part name="part1" element="ns2:error"/>
</wsdl:message>
</wsdl:definitions>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002">
<folder resourceType="ae.designerfolder" name="concrete" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false">
<description/>
<fixedChildren/>
</folder>
</Repository:repository>

View File

@@ -0,0 +1,171 @@
<?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: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"/>
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element ref="ns2:error"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="http://www.demo.com/author"/>
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element ref="ns1:status"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="status" type="xs:string"/>
</xs:schema>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.demo.com/author" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="http://www.demo.com/author"/>
<xs:import namespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd"/>
<xs:complexType name="AuthorType">
<xs:complexContent>
<xs:extension base="ns3:PersonType">
<xs:sequence>
<xs:element name="dateOfBirth" type="xs:date"/>
<xs:element name="dateOfDeath" type="xs:date" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="AuthorsType">
<xs:sequence>
<xs:element ref="ns3:author" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PersonType">
<xs:sequence>
<xs:element name="firstName" type="xs:string"/>
<xs:element name="lastName" type="xs:string"/>
<xs:element name="age" type="xs:int" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="id" type="xs:int"/>
</xs:complexType>
<xs:element name="author" type="ns3:AuthorType"/>
<xs:element name="authors" type="ns3:AuthorsType"/>
</xs:schema>
<xs:schema xmlns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema1.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema1.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="id" type="xs:int"/>
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element ref="ns0:id"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>
</wsdl:types>
<wsdl:service name="WSDL-service8">
<wsdl:port name="PortTypeEndpoint8" binding="tns:PortTypeEndpoint8Binding">
<soap:address location="http://localhost:8888/Resources/WSDL/WSDL-service8.serviceagent/PortTypeEndpoint8"/>
</wsdl:port>
</wsdl:service>
<wsdl:portType name="PortType">
<wsdl:operation name="Delete">
<wsdl:input message="tns:requestDelete"/>
<wsdl:output message="tns:responseDelete"/>
<wsdl:fault name="fault1" message="tns:ErrorMessage"/>
</wsdl:operation>
<wsdl:operation name="Post">
<wsdl:input message="tns:requestPOST"/>
<wsdl:output message="tns:responsePOST"/>
<wsdl:fault name="fault1" message="tns:ErrorMessage"/>
</wsdl:operation>
<wsdl:operation name="Get">
<wsdl:input message="tns:requestGet"/>
<wsdl:output message="tns:responseGet"/>
<wsdl:fault name="fault1" message="tns:ErrorMessage"/>
</wsdl:operation>
<wsdl:operation name="Put">
<wsdl:input message="tns:requestPUT"/>
<wsdl:output message="tns:responsePUT"/>
<wsdl:fault name="fault1" message="tns:ErrorMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="PortTypeEndpoint8Binding" type="tns:PortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="Delete">
<soap:operation style="document" soapAction="/Resources/WSDL/WSDL-service8.serviceagent/PortTypeEndpoint8/Delete"/>
<wsdl:input>
<soap:body use="literal" parts="part1"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal" parts="part1"/>
</wsdl:output>
<wsdl:fault name="fault1">
<soap:fault use="literal" name="fault1"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="Post">
<soap:operation style="document" soapAction="/Resources/WSDL/WSDL-service8.serviceagent/PortTypeEndpoint8/Post"/>
<wsdl:input>
<soap:body use="literal" parts="part1"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal" parts="part1"/>
</wsdl:output>
<wsdl:fault name="fault1">
<soap:fault use="literal" name="fault1"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="Get">
<soap:operation style="document" soapAction="/Resources/WSDL/WSDL-service8.serviceagent/PortTypeEndpoint8/Get"/>
<wsdl:input>
<soap:body use="literal" parts="part1"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal" parts="part1"/>
</wsdl:output>
<wsdl:fault name="fault1">
<soap:fault use="literal" name="fault1"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="Put">
<soap:operation style="document" soapAction="/Resources/WSDL/WSDL-service8.serviceagent/PortTypeEndpoint8/Put"/>
<wsdl:input>
<soap:body use="literal" parts="part1"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal" parts="part1"/>
</wsdl:output>
<wsdl:fault name="fault1">
<soap:fault use="literal" name="fault1"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:message name="requestDelete">
<wsdl:part name="part1" element="ns0:id"/>
</wsdl:message>
<wsdl:message name="responseDelete">
<wsdl:part name="part1" element="ns1:status"/>
</wsdl:message>
<wsdl:message name="ErrorMessage">
<wsdl:part name="part1" element="ns2:error"/>
</wsdl:message>
<wsdl:message name="requestPOST">
<wsdl:part name="part1" element="ns3:author"/>
</wsdl:message>
<wsdl:message name="responsePOST">
<wsdl:part name="part1" element="ns1:status"/>
</wsdl:message>
<wsdl:message name="requestGet">
<wsdl:part name="part1" element="ns1:id"/>
</wsdl:message>
<wsdl:message name="responseGet">
<wsdl:part name="part1" element="ns3:author"/>
</wsdl:message>
<wsdl:message name="requestPUT">
<wsdl:part name="part1" element="ns3:author"/>
</wsdl:message>
<wsdl:message name="responsePUT">
<wsdl:part name="part1" element="ns1:status"/>
</wsdl:message>
</wsdl:definitions>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.1 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002">
<folder resourceType="ae.designerfolder" name="configurations" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false">
<description/>
<fixedChildren/>
</folder>
</Repository:repository>

View File

@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<ns0:httpSharedResource xmlns:ns0="www.tibco.com/shared/HTTPConnection">
<config>
<Host>localhost</Host>
<serverType>Tomcat</serverType>
<HttpConnectionProperties>
<row>
<PropertyName>maxPostSize (bytes)</PropertyName>
<PropertyValue/>
<PropertyDefaultValue>2097152</PropertyDefaultValue>
</row>
<row>
<PropertyName>maxSavePostSize (bytes)</PropertyName>
<PropertyValue/>
<PropertyDefaultValue>4096</PropertyDefaultValue>
</row>
<row>
<PropertyName>uriEncoding</PropertyName>
<PropertyValue/>
<PropertyDefaultValue/>
</row>
<row>
<PropertyName>acceptCount</PropertyName>
<PropertyValue/>
<PropertyDefaultValue/>
</row>
<row>
<PropertyName>compressableMimeType</PropertyName>
<PropertyValue/>
<PropertyDefaultValue>text/html,text/xml,text/plain</PropertyDefaultValue>
</row>
<row>
<PropertyName>compression</PropertyName>
<PropertyValue/>
<PropertyDefaultValue>off</PropertyDefaultValue>
</row>
<row>
<PropertyName>connectionTimeOut (ms)</PropertyName>
<PropertyValue/>
<PropertyDefaultValue>60000</PropertyDefaultValue>
</row>
</HttpConnectionProperties>
<Port>8888</Port>
</config>
</ns0:httpSharedResource>

View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<BWSharedResource>
<name>JDBC Connection</name>
<resourceType>ae.shared.JDBCSharedResource</resourceType>
<config>
<driver>org.sqlite.JDBC</driver>
<maxConnections>10</maxConnections>
<loginTimeout>0</loginTimeout>
<connectionType>JDBC</connectionType>
<UseSharedJndiConfig>false</UseSharedJndiConfig>
<location>jdbc:sqlite:/tibco/designer/5.12/projects/httpRequest/database.db</location>
</config>
</BWSharedResource>

View File

@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<BWSharedResource xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<name>Notify Configuration</name>
<resourceType>ae.shared.notifySharedConfig</resourceType>
<config xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsdString>
<xsd:element name="root">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="id" type="xsd:int" minOccurs="0"/>
<xsd:element name="firstname" type="xsd:string" minOccurs="0"/>
<xsd:element name="lastname" type="xsd:string" minOccurs="0"/>
<xsd:element name="date-of-birth" type="xsd:string" minOccurs="0"/>
<xsd:element name="date-of-death" type="xsd:string" minOccurs="0"/>
<xsd:element name="age" type="xsd:int" minOccurs="0"/>
<xsd:element name="status" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsdString>
</config>
</BWSharedResource>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002">
<folder resourceType="ae.designerfolder" name="databases" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false">
<description/>
<fixedChildren/>
</folder>
</Repository:repository>

Binary file not shown.

View File

@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<authors>
<ns0:author xmlns:ns0="http://www.demo.com/author" id="64">
<ns0:firstName>prubva</ns0:firstName>
<ns0:lastName>sfdgsg</ns0:lastName>
<ns0:age>987</ns0:age>
<ns0:dateOfBirth>2000-02-01</ns0:dateOfBirth>
<ns0:dateOfDeath>2000-02-06</ns0:dateOfDeath>
</ns0:author>
<ns0:author xmlns:ns0="http://www.demo.com/author" id="65">
<ns0:firstName>prubva</ns0:firstName>
<ns0:lastName>sfdgsg</ns0:lastName>
<ns0:age>987</ns0:age>
<ns0:dateOfBirth>2000-02-01</ns0:dateOfBirth>
<ns0:dateOfDeath>2000-02-06</ns0:dateOfDeath>
</ns0:author>
<ns0:author xmlns:ns0="http://www.demo.com/author" id="66">
<ns0:firstName>prubva</ns0:firstName>
<ns0:lastName>sfdgsg</ns0:lastName>
<ns0:age>987</ns0:age>
<ns0:dateOfBirth>2000-02-01</ns0:dateOfBirth>
<ns0:dateOfDeath>2000-02-06</ns0:dateOfDeath>
</ns0:author>
<ns0:author xmlns:ns0="http://www.demo.com/author" id="76">
<ns0:firstName>prubva</ns0:firstName>
<ns0:lastName>sfdgsg</ns0:lastName>
<ns0:age>987</ns0:age>
<ns0:dateOfBirth>2000-02-01</ns0:dateOfBirth>
<ns0:dateOfDeath>2000-02-06</ns0:dateOfDeath>
</ns0:author>
<ns0:author xmlns:ns0="http://www.demo.com/author" id="69">
<ns0:firstName>69</ns0:firstName>
<ns0:lastName>69</ns0:lastName>
<ns0:age>69</ns0:age>
<ns0:dateOfBirth>1999-01-01</ns0:dateOfBirth>
<ns0:dateOfDeath>1999-01-01</ns0:dateOfDeath>
</ns0:author>
</authors>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002">
<folder resourceType="ae.designerfolder" name="schemas" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false">
<description/>
<fixedChildren/>
</folder>
</Repository:repository>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema1.xsd"
targetNamespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema1.xsd"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element ref="id"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="id" type="xs:int"/>
</xs:schema>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd"
targetNamespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element ref="status"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="status" type="xs:string"/>
</xs:schema>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2"
targetNamespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element ref="error"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="error" type="xs:string"/>
</xs:schema>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd"
targetNamespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element ref="id"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="id" type="xs:int"/>
</xs:schema>

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Created with Liquid Studio 2018 (https://www.liquid-technologies.com) -->
<xs:schema xmlns:a="http://www.demo.com/author"
xmlns:p="http://www.demo.com/person"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ns0="http://www.demo.com/author"
targetNamespace="http://www.demo.com/author"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:complexType name="AuthorType">
<xs:complexContent>
<xs:extension base="ns0:PersonType">
<xs:sequence>
<xs:element name="dateOfBirth" type="xs:date"/>
<xs:element name="dateOfDeath" type="xs:date" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="author" type="ns0:AuthorType"/>
<xs:complexType name="AuthorsType">
<xs:sequence>
<xs:element ref="ns0:author" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PersonType">
<xs:sequence>
<xs:element name="firstName" type="xs:string"/>
<xs:element name="lastName" type="xs:string"/>
<xs:element name="age" type="xs:int" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="id" type="xs:int"/>
</xs:complexType>
<xs:element name="authors" type="ns0:AuthorsType"/>
</xs:schema>

View File

@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Created with Liquid Studio 2018 (https://www.liquid-technologies.com) -->
<xs:schema xmlns:a="http://www.demo.com/author1"
xmlns:p="http://www.demo.com/person"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ns0="http://www.demo.com/author"
targetNamespace="http://www.demo.com/author1"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:complexType name="AuthorType">
<xs:complexContent>
<xs:extension base="a:PersonType">
<xs:sequence>
<xs:element name="dateOfBirth" type="xs:date"/>
<xs:element name="dateOfDeath" type="xs:date" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="author" type="a:AuthorType"/>
<xs:complexType name="AuthorsType">
<xs:sequence>
<xs:element ref="a:author" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PersonType">
<xs:sequence>
<xs:element name="firstName" type="xs:string"/>
<xs:element name="lastName" type="xs:string"/>
<xs:element name="age" type="xs:int" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="id" type="xs:int"/>
</xs:complexType>
<xs:element name="authors" type="a:AuthorsType"/>
</xs:schema>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd"
targetNamespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element ref="status"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="status" type="xs:string"/>
</xs:schema>

View File

@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Created with Liquid Studio 2018 (https://www.liquid-technologies.com) -->
<xs:schema xmlns:a="http://www.demo.com/author"
xmlns:p="http://www.demo.com/person"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.demo.com/author"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:complexType name="AuthorType">
<xs:complexContent>
<xs:extension base="a:PersonType">
<xs:sequence>
<xs:element name="dateOfBirth" type="xs:date"/>
<xs:element name="dateOfDeath" type="xs:date" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="author" type="a:AuthorType"/>
<xs:complexType name="AuthorsType">
<xs:sequence>
<xs:element ref="a:author" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PersonType">
<xs:sequence>
<xs:element name="firstName" type="xs:string"/>
<xs:element name="lastName" type="xs:string"/>
<xs:element name="age" type="xs:int" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="id" type="xs:int"/>
</xs:complexType>
<xs:element name="authors" type="a:AuthorsType"/>
</xs:schema>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd"
targetNamespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd"
elementFormDefault="qualified"
attributeFormDefault="unqualified">
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element ref="status"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="status" type="xs:string"/>
</xs:schema>

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Repository:repository xmlns:Repository="http://www.tibco.com/xmlns/repo/types/2002">
<folder resourceType="ae.designerfolder" name="xslt transformers" propLocks="" allowUserToChangeIcon="false" sortContents="false" acceptsResources="true" allowDuplicates="false">
<description/>
<fixedChildren/>
</folder>
</Repository:repository>

View File

@@ -0,0 +1,31 @@
<?xml version="1.0"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ns0="http://www.demo.com/author"
version="1.0">
<xsl:param name="id"/>
<xsl:param name="firstname"/>
<xsl:param name="secondname"/>
<xsl:param name="date-of-birth"/>
<xsl:param name="date-of-death"/>
<xsl:param name="age"/>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="ns0:author[@id=$id]">
<ns0:author id="979">
<ns0:firstName><xsl:value-of select="$firstname"/></ns0:firstName>
<ns0:lastName><xsl:value-of select="$secondname"/></ns0:lastName>
<ns0:dateOfBirth><xsl:value-of select="$date-of-birth"/></ns0:dateOfBirth>
<ns0:dateOfDeath><xsl:value-of select="$date-of-death"/></ns0:dateOfDeath>
<ns0:age><xsl:value-of select="$age"/></ns0:age>
</ns0:author>
</xsl:template>
</xsl:stylesheet>

View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:ns0="http://www.demo.com/author"
version="1.0">
<xsl:param name="id"></xsl:param>
<!-- Identity template to copy everything by default -->
<xsl:template match="@* | node()">
<xsl:copy>
<xsl:apply-templates select="@* | node()"/>
</xsl:copy>
</xsl:template>
<!-- Template to match the author with the specific id and remove it -->
<xsl:template match="ns0:author[@id=$id]" />
</xsl:stylesheet>

46
databaseXML.xml Normal file
View File

@@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8"?>
<authors>
<ns0:author xmlns:ns0="http://www.demo.com/author" id="64">
<ns0:firstName>prubva</ns0:firstName>
<ns0:lastName>sfdgsg</ns0:lastName>
<ns0:age>987</ns0:age>
<ns0:dateOfBirth>2000-02-01</ns0:dateOfBirth>
<ns0:dateOfDeath>2000-02-06</ns0:dateOfDeath>
</ns0:author>
<ns0:author xmlns:ns0="http://www.demo.com/author" id="65">
<ns0:firstName>prubva</ns0:firstName>
<ns0:lastName>sfdgsg</ns0:lastName>
<ns0:age>987</ns0:age>
<ns0:dateOfBirth>2000-02-01</ns0:dateOfBirth>
<ns0:dateOfDeath>2000-02-06</ns0:dateOfDeath>
</ns0:author>
<ns0:author xmlns:ns0="http://www.demo.com/author" id="66">
<ns0:firstName>prubva</ns0:firstName>
<ns0:lastName>sfdgsg</ns0:lastName>
<ns0:age>987</ns0:age>
<ns0:dateOfBirth>2000-02-01</ns0:dateOfBirth>
<ns0:dateOfDeath>2000-02-06</ns0:dateOfDeath>
</ns0:author>
<ns0:author xmlns:ns0="http://www.demo.com/author" id="76">
<ns0:firstName>prubva</ns0:firstName>
<ns0:lastName>sfdgsg</ns0:lastName>
<ns0:age>987</ns0:age>
<ns0:dateOfBirth>2000-02-01</ns0:dateOfBirth>
<ns0:dateOfDeath>2000-02-06</ns0:dateOfDeath>
</ns0:author>
<ns0:author xmlns:ns0="http://www.demo.com/author" id="12">
<ns0:firstName>czesc</ns0:firstName>
<ns0:lastName>czesc</ns0:lastName>
<ns0:age>12</ns0:age>
<ns0:dateOfBirth>2000-01-01</ns0:dateOfBirth>
<ns0:dateOfDeath>2000-01-01</ns0:dateOfDeath>
</ns0:author>
<ns0:author xmlns:ns0="http://www.demo.com/author" id="69">
<ns0:firstName>69</ns0:firstName>
<ns0:lastName>69</ns0:lastName>
<ns0:age>69</ns0:age>
<ns0:dateOfBirth>1999-01-01</ns0:dateOfBirth>
<ns0:dateOfDeath>1999-01-01</ns0:dateOfDeath>
</ns0:author>
<ns0:author xmlns:ns0="http://www.demo.com/author" id="979"><ns0:firstName>69</ns0:firstName><ns0:lastName>69</ns0:lastName><ns0:dateOfBirth>1999-01-01</ns0:dateOfBirth><ns0:dateOfDeath>1999-01-01</ns0:dateOfDeath><ns0:age>69</ns0:age></ns0:author></authors>

View File

@@ -0,0 +1,141 @@
<?xml version = "1.0" encoding = "UTF-8"?>
<repository xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xmlns = "http://www.tibco.com/xmlns/repo/types/2002">
<globalVariables>
<globalVariable>
<name>Deployment</name>
<value>httpRequest</value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1719474686795</modTime>
</globalVariable>
<globalVariable>
<name>DirLedger</name>
<value>.</value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1719474686802</modTime>
</globalVariable>
<globalVariable>
<name>DirTrace</name>
<value>.</value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1719474686783</modTime>
</globalVariable>
<globalVariable>
<name>Domain</name>
<value>domain</value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1719474686815</modTime>
</globalVariable>
<globalVariable>
<name>HawkEnabled</name>
<value>false</value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1719474686803</modTime>
</globalVariable>
<globalVariable>
<name>JmsProviderUrl</name>
<value>tcp://localhost:7222</value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1719474686786</modTime>
</globalVariable>
<globalVariable>
<name>JmsSslProviderUrl</name>
<value>ssl://localhost:7243</value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1719474686809</modTime>
</globalVariable>
<globalVariable>
<name>RemoteRvDaemon</name>
<value></value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1719474686805</modTime>
</globalVariable>
<globalVariable>
<name>RvDaemon</name>
<value>tcp:7500</value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1719474686793</modTime>
</globalVariable>
<globalVariable>
<name>RvNetwork</name>
<value></value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1719474686813</modTime>
</globalVariable>
<globalVariable>
<name>RvService</name>
<value>7500</value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1719474686787</modTime>
</globalVariable>
<globalVariable>
<name>RvaHost</name>
<value>localhost</value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1719474686807</modTime>
</globalVariable>
<globalVariable>
<name>RvaPort</name>
<value>7600</value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1719474686797</modTime>
</globalVariable>
<globalVariable>
<name>TIBHawkDaemon</name>
<value>tcp:7474</value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1719474686811</modTime>
</globalVariable>
<globalVariable>
<name>TIBHawkNetwork</name>
<value></value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1719474686798</modTime>
</globalVariable>
<globalVariable>
<name>TIBHawkService</name>
<value>7474</value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1719474686789</modTime>
</globalVariable>
<globalVariable>
<name>processType</name>
<value>xml</value>
<deploymentSettable>true</deploymentSettable>
<serviceSettable>false</serviceSettable>
<type>String</type>
<modTime>1720104175471</modTime>
</globalVariable>
</globalVariables>
</repository>

12
vcrepo.dat Normal file
View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<repository version="2" commitCount="1">
<instanceInfo>
<instanceInfoProperty name="displayName" value="httpRequest"/>
<instanceInfoProperty name="version" value="5.12.1"/>
<instanceInfoProperty name="rootDir" value="."/>
<instanceInfoProperty name="instanceType" value="localFile"/>
<instanceInfoProperty name="fileType" value="VC"/>
<instanceInfoProperty name="creationTime" value="1719474686822"/>
<instanceInfoProperty name="encoding" value="ISO8859-1"/>
</instanceInfo>
</repository>