diff --git a/.folder b/.folder index b891fea..d76affa 100644 --- a/.folder +++ b/.folder @@ -1,6 +1,6 @@ - + AESchemas @@ -29,7 +29,7 @@ - + \ No newline at end of file diff --git a/Processes/wsdl/Process Definition.process b/Processes/wsdl/Process Definition.process deleted file mode 100644 index a983656..0000000 --- a/Processes/wsdl/Process Definition.process +++ /dev/null @@ -1,74 +0,0 @@ - - - - Processes/wsdl/Process Definition.process - SOAPEventSource - 0 - 0 - - - com.tibco.plugin.soap.SOAPEventSource - ae.activities.SOAPEventSourceUI - 113 - 84 - - pfx:PortType - http://xmlns.example.com/1721743175984/DeleteImpl - Delete - - document - literal - true - true - /Processes/wsdl/Process%20Definition - /Resources/configurations/HTTP Connection.sharedhttp - SOAP 1.2 - - - - End - 450 - 64 - - - http://xmlns.example.com/1721820974742 - - com.tibco.plugin.soap.SOAPSendFaultActivity - ae.activities.SOAPSendFaultUI - 274 - 99 - - <Default> - SOAPEventSource - - - 2 - - - - - - - - - - - - - - - - SOAPEventSource - SOAPSendFault - Default - -16777216 - always - - - SOAPSendFault - End - Default - -16777216 - always - - \ No newline at end of file diff --git a/Processes/xml/XMLDELETE.process b/Processes/xml/XMLDELETE.process index c6ab9d0..2d11f64 100644 --- a/Processes/xml/XMLDELETE.process +++ b/Processes/xml/XMLDELETE.process @@ -124,8 +124,8 @@ com.tibco.pe.core.GenerateErrorActivity ae.activities.throw - 664 - 114 + 676 + 116 diff --git a/Processes/xml/XMLPOST.process b/Processes/xml/XMLPOST.process index 2e1207e..3deceaf 100644 --- a/Processes/xml/XMLPOST.process +++ b/Processes/xml/XMLPOST.process @@ -1,5 +1,5 @@ - + Processes/xml/XMLPOST.process Start @@ -16,217 +16,78 @@ 212 End - 1496 - 206 + 940 + 218 http://xmlns.example.com/1719920186128 - - com.tibco.plugin.file.FileWriteActivity - ae.activities.FileWriteActivity - 1060 - 79 - - text - None - true - - - - - - - - - - - - - - com.tibco.plugin.xml.XMLRendererActivity - ae.activities.XMLRendererActivity - 531 - 86 - - text - true - false - UTF-8 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - com.tibco.plugin.file.FileReadActivity ae.activities.FileReadActivity - 303 - 211 + 194 + 212 text - + - - com.tibco.plugin.mapper.MapperActivity - ae.activities.MapperActivity - 522 - 337 + + com.tibco.plugin.xml.XMLParseActivity + ae.activities.XMLParseActivity + 340 + 215 - - - - - - - - - + text + default + true + - - - - - + + + - + + com.tibco.plugin.mapper.MapperActivity + ae.activities.MapperActivity + 509 + 216 + + + + + + + + + + + com.tibco.plugin.xml.XMLRendererActivity ae.activities.XMLRendererActivity - 687 - 336 + 669 + 216 text - true - false - UTF-8 - + false + - - - - - - - - - - - - - - - - - - - - - - - - - - + - - com.tibco.plugin.mapper.MapperActivity - ae.activities.MapperActivity - 815 - 349 - - - - - - - - - - - - - - - - - - - - - com.tibco.plugin.mapper.MapperActivity - ae.activities.MapperActivity - 986 - 334 - - - - - - - - - - - - - - - - - - - - + com.tibco.plugin.file.FileWriteActivity ae.activities.FileWriteActivity - 1117 - 336 + 802 + 216 text None @@ -234,106 +95,58 @@ - + - + - - com.tibco.plugin.waitnotify.NotifyActivity - ae.activities.notifyActivity - 1305 - 203 + + com.tibco.plugin.xml.XMLRendererActivity + ae.activities.XMLRendererActivity + 193 + 339 - /Resources/configurations/Notify Configuration.sharednotify + text + false + + + + + + com.tibco.plugin.file.FileWriteActivity + ae.activities.FileWriteActivity + 508 + 341 + + text + None - - - - - - - + + + + + + + + + + + + com.tibco.pe.core.GenerateErrorActivity + ae.activities.throw + 341 + 63 + + + + + - - Read File - Render-authors - file is empty - Default - -16777216 - xpath - string-length($Read-File/ns:ReadActivityOutputTextClass/fileContent/textContent)=0 - - - Render-authors - Write File - Default - -16777216 - always - - - Read File - remove closing tag - otherwise - Default - -16777216 - xpath - string-length($Read-File/ns:ReadActivityOutputTextClass/fileContent/textContent)>0 - - - remove closing tag - Render-author - Default - -16777216 - always - - - Render-author - remove configuration at the beggining - Default - -16777216 - always - - - remove configuration at the beggining - concat - Default - -16777216 - always - - - concat - Write-File-1 - Default - -16777216 - always - - - Write File - Notify - Default - -16777216 - always - - - Write-File-1 - Notify - Default - -16777216 - always - - - Notify - End - Default - -16777216 - always - Start Read File @@ -341,4 +154,71 @@ -16777216 always + + Read File + Parse XML + file not empty + Default + -16777216 + xpath + string-length($Read-File/ns:ReadActivityOutputTextClass/fileContent/textContent)>0 + + + Parse XML + Map Data + Default + -16777216 + otherwise + + + Map Data + Render XML + Default + -16777216 + always + + + Render XML + Write File + Default + -16777216 + always + + + Write File + End + Default + -16777216 + always + + + Read File + Render-XML-1 + Default + -16777216 + otherwise + + + Render-XML-1 + Write-File-1 + Default + -16777216 + always + + + Write-File-1 + Map Data + Default + -16777216 + always + + + Parse XML + Generate Error + author with given id already exist + Default + -16777216 + xpath + boolean($Parse-XML/pfx:authors/pfx:author[@id=$Start/root/pfx:author/@id]) + \ No newline at end of file diff --git a/Resources/databases/databaseXML.xml b/Resources/databases/databaseXML.xml index a6e415b..25f05be 100644 --- a/Resources/databases/databaseXML.xml +++ b/Resources/databases/databaseXML.xml @@ -1,40 +1,31 @@ - - - prubva - sfdgsg - 987 - 2000-02-01 - 2000-02-06 - - - - prubva - sfdgsg - 987 - 2000-02-01 - 2000-02-06 - - - prubva - sfdgsg - 987 - 2000-02-01 - 2000-02-06 - - - prubva - sfdgsg - 987 - 2000-02-01 - 2000-02-06 - - - - 69 - 69 - 69 - 1999-01-01 - 1999-01-01 - - \ No newline at end of file + + + piwo + harnas + 12 + 2000-12-12 + 2000-12-12 + + + piwo + harnas + 12 + 2000-12-12 + 2000-12-12 + + + piwo + harnas + 12 + 2000-12-12 + 2000-12-12 + + + piwo + harnas + 12 + 2000-12-12 + 2000-12-12 + + \ No newline at end of file