Difference between revisions of "Bindings And Samples"
(→.NET Integration) |
(→JAVA Examples) |
||
(19 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
| align="center" | '''LogicalDOC version''' | | align="center" | '''LogicalDOC version''' | ||
| align="center" | '''Sample''' | | align="center" | '''Sample''' | ||
+ | |- | ||
+ | | 9.0 | ||
+ | | [https://sourceforge.net/projects/logicaldoc/files/samples/examples-9.0/logicaldoc-webservicesamples-9.0.zip/download logicaldoc-webservicesamples-9.0.zip] | ||
|- | |- | ||
| 8.3.4 | | 8.3.4 | ||
Line 129: | Line 132: | ||
== PHP Integration == | == PHP Integration == | ||
− | The Web-Services of LogicalDOC are | + | The Web-Services of LogicalDOC are compatibles with PHP 8.2 <br> |
+ | The example package contains scripts for invoking the LogicalDOC API via SOAP and REST webservice.<br> | ||
+ | As always you can download it from SourceForge.<br> | ||
{| cellspacing="1" cellpadding="1" border="1" style="width: 100%; height: 79px;" | {| cellspacing="1" cellpadding="1" border="1" style="width: 100%; height: 79px;" | ||
|- | |- | ||
− | | align="center" | ''' | + | | align="center" | '''LogicalDOC version''' |
+ | | '''PHP version''' | ||
| align="center" | '''Download Url''' | | align="center" | '''Download Url''' | ||
| '''Notes''' | | '''Notes''' | ||
+ | |- | ||
+ | | 8.8.6<br> | ||
+ | |8.2 | ||
+ | | [https://sourceforge.net/projects/logicaldoc/files/samples/examples-8.8/PHP-logicaldoc-webservices-886.zip/download PHP-logicaldoc-webservices-886] | ||
+ | | Changes: fixed document creation via SOAP with LD 8.3 and higher | ||
+ | |- | ||
+ | | 8.7.3<br> | ||
+ | |7.4 | ||
+ | | [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%208.7/PHP-SOAP_webservice-873.zip/download PHP-SOAP_webservice-873.zip] | ||
+ | | Changes: Chunk upload for large files | ||
|- | |- | ||
| 8.4.2<br> | | 8.4.2<br> | ||
+ | |7.2 | ||
| [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%208.4/PHP-SOAP_webservice-842.zip/download PHP-SOAP_webservice-842.zip] | | [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%208.4/PHP-SOAP_webservice-842.zip/download PHP-SOAP_webservice-842.zip] | ||
| Changes: REST methods invocations | | Changes: REST methods invocations | ||
|- | |- | ||
| 8.2.1<br> | | 8.2.1<br> | ||
+ | |7.2 | ||
| [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%208.2/PHP-SOAP_webservice-8.2.1.zip/download PHP-SOAP_webservice-8.2.1.zip] | | [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%208.2/PHP-SOAP_webservice-8.2.1.zip/download PHP-SOAP_webservice-8.2.1.zip] | ||
|- | |- | ||
| 8.1.1<br> | | 8.1.1<br> | ||
+ | |7.0 | ||
| [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%208.1/PHP-SOAP_webservice-8.1.1.zip/download PHP-SOAP_webservice-8.1.1.zip] | | [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%208.1/PHP-SOAP_webservice-8.1.1.zip/download PHP-SOAP_webservice-8.1.1.zip] | ||
| Changes: updated example for recursive download | | Changes: updated example for recursive download | ||
|- | |- | ||
| 8.0<br> | | 8.0<br> | ||
+ | |7.0 | ||
| [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%208.0/PHP-SOAP_webservice-8.0.zip/download PHP-SOAP_webservice-8.0.zip] | | [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%208.0/PHP-SOAP_webservice-8.0.zip/download PHP-SOAP_webservice-8.0.zip] | ||
|- | |- | ||
| 7.7<br> | | 7.7<br> | ||
+ | |5.4.43 | ||
| [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.7/PHP-SOAP_webservice-77.zip/download PHP-SOAP_webservice-77.zip] | | [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.7/PHP-SOAP_webservice-77.zip/download PHP-SOAP_webservice-77.zip] | ||
| Changes: Removed field title in WSDocument | | Changes: Removed field title in WSDocument | ||
|- | |- | ||
| 7.5/7.5.1<br> | | 7.5/7.5.1<br> | ||
+ | |5.4.43 | ||
| [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.5/PHP-SOAP_webservice-7.5.zip/download PHP-SOAP_webservice-7.5.zip] | | [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.5/PHP-SOAP_webservice-7.5.zip/download PHP-SOAP_webservice-7.5.zip] | ||
| Changes: Important changes in WSDocument fields (attributes), new REST examples | | Changes: Important changes in WSDocument fields (attributes), new REST examples | ||
|- | |- | ||
| 7.4<br> | | 7.4<br> | ||
+ | |5.4.43 | ||
| [http://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.4/PHP-SOAP_webservice-7.4-R02.zip/download PHP-SOAP_webservice-7.4-R02.zip] | | [http://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.4/PHP-SOAP_webservice-7.4-R02.zip/download PHP-SOAP_webservice-7.4-R02.zip] | ||
| Changes: Some changes in the WSDocument and WSFolder fields, new REST examples, new samples of Enterprise Search (parametric search) | | Changes: Some changes in the WSDocument and WSFolder fields, new REST examples, new samples of Enterprise Search (parametric search) | ||
|- | |- | ||
| 7.2<br> | | 7.2<br> | ||
+ | |5.4.43 | ||
| [http://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.2/PHP-SOAP_webservice-7.2.zip/download PHP-SOAP_webservice-7.2.zip] | | [http://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.2/PHP-SOAP_webservice-7.2.zip/download PHP-SOAP_webservice-7.2.zip] | ||
| Changes: Creating a folder from template with related metadata | | Changes: Creating a folder from template with related metadata | ||
|- | |- | ||
| 7.0.0<br> | | 7.0.0<br> | ||
+ | |5.4.43 | ||
| [http://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.0/PHP-SOAP_webservice-7.0.zip/download PHP-SOAP_webservice-7.0.zip] | | [http://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.0/PHP-SOAP_webservice-7.0.zip/download PHP-SOAP_webservice-7.0.zip] | ||
| Changes: updated Search fullText examples, new Enterprise parametric search, Document download alias, Document download REST (big files), mini application in PHP, shows the latest document created/updated | | Changes: updated Search fullText examples, new Enterprise parametric search, Document download alias, Document download REST (big files), mini application in PHP, shows the latest document created/updated | ||
|- | |- | ||
| 6.8.4<br> | | 6.8.4<br> | ||
+ | |5.4.43 | ||
| [http://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%206.8/PHP-SOAP_webservice-6.8.4.zip/download PHP-SOAP_webservice-6.8.4.zip] | | [http://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%206.8/PHP-SOAP_webservice-6.8.4.zip/download PHP-SOAP_webservice-6.8.4.zip] | ||
| Changes: search by parameters (EnterpriseSearch), full-text search on template fields, getTemplate by name (DocumentMeta) | | Changes: search by parameters (EnterpriseSearch), full-text search on template fields, getTemplate by name (DocumentMeta) | ||
|- | |- | ||
| 6.8.3<br> | | 6.8.3<br> | ||
+ | |5.4.43 | ||
| [http://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%206.8/PHP-SOAP_webservice-6.8.3.zip/download PHP-SOAP_webservice-6.8.3.zip] | | [http://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%206.8/PHP-SOAP_webservice-6.8.3.zip/download PHP-SOAP_webservice-6.8.3.zip] | ||
| Changes: new mini application in PHP, performs the research and presents a list of results for download | | Changes: new mini application in PHP, performs the research and presents a list of results for download | ||
|- | |- | ||
| 6.8.1<br> | | 6.8.1<br> | ||
+ | |5.4.43 | ||
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.8/PHP-SOAP_webservice-6.8.1.zip/download PHP-SOAP_webservice-6.8.1.zip] | | [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.8/PHP-SOAP_webservice-6.8.1.zip/download PHP-SOAP_webservice-6.8.1.zip] | ||
| | | | ||
|- | |- | ||
| 6.7.1<br> | | 6.7.1<br> | ||
+ | |5.4.43 | ||
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.7/PHP-SOAP_webservice-6.7.1.zip/download PHP-SOAP_webservice-6.7.1.zip] | | [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.7/PHP-SOAP_webservice-6.7.1.zip/download PHP-SOAP_webservice-6.7.1.zip] | ||
| Changes in: Search_parametric.php and Folder_workspaces.php | | Changes in: Search_parametric.php and Folder_workspaces.php | ||
|- | |- | ||
| 6.6.2<br> | | 6.6.2<br> | ||
+ | |5.4.43 | ||
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.6/PHP-SOAP_webservice-6.6.2.zip/download PHP-SOAP_webservice-6.6.2.zip] | | [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.6/PHP-SOAP_webservice-6.6.2.zip/download PHP-SOAP_webservice-6.6.2.zip] | ||
| New examples: Search_parametric.php and Document_createBinaryWithTemplate.php | | New examples: Search_parametric.php and Document_createBinaryWithTemplate.php | ||
|- | |- | ||
| 6.5.2<br> | | 6.5.2<br> | ||
+ | |5.4.43 | ||
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.5/PHP-SOAP_webservice-6.5.2.zip/download PHP-SOAP_webservice-6.5.2.zip] | | [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.5/PHP-SOAP_webservice-6.5.2.zip/download PHP-SOAP_webservice-6.5.2.zip] | ||
| | | | ||
|- | |- | ||
| 6.5.1<br> | | 6.5.1<br> | ||
+ | |5.4.43 | ||
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.5/PHP-SOAP_webservice-6.5.1.zip/download PHP-SOAP_webservice-6.5.1.zip] | | [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.5/PHP-SOAP_webservice-6.5.1.zip/download PHP-SOAP_webservice-6.5.1.zip] | ||
| | | | ||
|- | |- | ||
| 6.4<br> | | 6.4<br> | ||
+ | |5.4.43 | ||
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.4/PHP-SOAP_webservice-6.4.zip/download PHP-SOAP_webservice-6.4.zip]<br> | | [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.4/PHP-SOAP_webservice-6.4.zip/download PHP-SOAP_webservice-6.4.zip]<br> | ||
| Of particular interest is the new example Folder_downloadRecursively.php that lets you perform full backup of the repository starting from a given folder | | Of particular interest is the new example Folder_downloadRecursively.php that lets you perform full backup of the repository starting from a given folder | ||
|- | |- | ||
| 6.0<br> | | 6.0<br> | ||
+ | |5.4.43 | ||
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.0/PHP-SOAP_webservice-6.0.zip/download PHP-SOAP_webservice-6.0.zip]<br> | | [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.0/PHP-SOAP_webservice-6.0.zip/download PHP-SOAP_webservice-6.0.zip]<br> | ||
|- | |- | ||
− | | 5.0/5.1<br> | + | | 5.0/5.1<br> |
+ | |5.4.43 | ||
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-5.1/PHP-SOAP_webservice-5.1.zip/download PHP-SOAP_webservice-5.1.zip] | | [http://sourceforge.net/projects/logicaldoc/files/samples/samples-5.1/PHP-SOAP_webservice-5.1.zip/download PHP-SOAP_webservice-5.1.zip] | ||
|} | |} | ||
== Python == | == Python == | ||
− | A set of examples in Python to use the new REST APIs available from LogicalDOC since version 7.5<br> | + | A set of examples in Python to use the new REST APIs available from LogicalDOC since version 7.5<br/> |
− | + | 3.11.4 is the version of Python that we used to create and test the latest scripts.<br/> | |
− | + | These can be run from the command line on Windows: python <SCRIPT_FILENAME><br/> | |
+ | Be aware that you might have to change the address and port of your LogicalDOC or the login credentials.<br/> | ||
<br> | <br> | ||
{| cellspacing="1" cellpadding="1" border="1" style="width: 100%; height: 79px;" | {| cellspacing="1" cellpadding="1" border="1" style="width: 100%; height: 79px;" | ||
Line 220: | Line 256: | ||
| align="center" | '''Download Url''' | | align="center" | '''Download Url''' | ||
| '''Notes''' | | '''Notes''' | ||
+ | |- | ||
+ | | 8.9.1<br> | ||
+ | | [https://sourceforge.net/projects/logicaldoc/files/samples/examples-8.9/Python-logicaldoc-webservices-891.zip/download Python-logicaldoc-webservices-891.zip] | ||
+ | | Added Reading Request SOAP and REST examples<br/>Added listUsers and StoreUser SOAP examples | ||
+ | |- | ||
+ | | 8.7.4<br> | ||
+ | | [https://sourceforge.net/projects/logicaldoc/files/samples/examples-8.7/Python-samples-8.7.4.zip/download Python-samples-8.7.4.zip] | ||
+ | | Added Enterprise Search REST examples | ||
+ | |- | ||
+ | | 8.7.3<br> | ||
+ | | [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%208.7/Python-samples-873.zip/download Python-samples-873.zip] | ||
+ | | Interactive Documentation about the RESTful APIs is available at [http://docs.logicaldoc.com/en/web-services-api http://docs.logicaldoc.com/en/web-services-api] | ||
|- | |- | ||
| 8.4.2<br> | | 8.4.2<br> |
Latest revision as of 08:46, 11 September 2024
JAVA Examples
On SourceForge we have released an example project that Tests the WS features of LD and simultaneously shows the WS invocations with JAVA
LogicalDOC version | Sample |
9.0 | logicaldoc-webservicesamples-9.0.zip |
8.3.4 | logicaldoc-webservicesamples-8.3.4.zip |
8.3 | Java-webserviceTests-8.3.zip |
8.0.0 | Java-webserviceTests-8.0.0.zip |
7.6.3 | webserviceTests-Java.zip |
7.5.2 | Java-webserviceTests-7.5.2.zip |
7.4.0 | Java-webserviceTests-7.4.zip |
7.1.0 | Java-webserviceTests-7.1.0.zip |
6.8.0 | Java-WebServicesTests-6.8.0.zip |
6.7.1 | Java-WebServicesTests-6.7.1.zip |
6.6.2 | Java-WebServicesTests-6.6.2.zip |
6.5.1 | Java-WebServicesTests-6.5.1.zip |
6.4 | Java-WebServicesTests-6.4.zip |
6.2 | Java-WebServicesTests-6.2.zip |
6.0 | Java-WebServicesTests-6.0.zip |
5.0/5.1 | Java-WebServicesTests-5.1.zip |
.NET Integration
This is a sample Visual Studio 2008/2010 project created to illustrate some C# .NET 4.0/2.0 invocations of the LogicalDOC web-services
LD version | Sample package | Visual Studio | Notes |
8.7.1 | dotNET2WSClient4-8.7.1.zip | VS 2017 | |
8.3 | dotNET2WSClient4-8.3.zip | VS 2013 | Includes an example of creating AttributeSets and Templates |
8.2.1 | dotNET2WSClient4-8.2.1.zip | VS 2013 | Complete example of full-text search with custom attributes |
8.1.1 | dotNET2WSClient4-8.1.1.zip | VS 2013 | Full-text search with search in sub-folder |
7.7.3 | dotNET2WSClient4-7.7.3.zip | VS 2013 | (.NET 4.0) Upload document REST example |
7.5 | dotNET4_WSClient-7.5.zip | VS 2013 | (.NET 4.0) Upload document REST example |
7.1 | dotNET-WSExamples-7.1.zip | VS 2010 | |
6.8.4 | dotNET2WSClient-6.8.4.zip | VS 2010 | |
6.7.1 | dotNET2WSClient-6.7.1.zip | VS 2010 | |
6.6.2 | dotNET-WSClient-6.6.2.zip | Visual Studio 2010 project | |
6.5.2 | dotNET-WSClient-6.5.2.zip | ||
6.4 | dotNET-webservice-client-6.4.zip | ||
6.0 | dotNET2WSClient-6.0.zip | ||
5.2.1 | dotNET2WSClient-5.2.1.zip | ||
5.0 | dotNET2WSClient-5.0.zip |
PHP Integration
The Web-Services of LogicalDOC are compatibles with PHP 8.2
The example package contains scripts for invoking the LogicalDOC API via SOAP and REST webservice.
As always you can download it from SourceForge.
LogicalDOC version | PHP version | Download Url | Notes |
8.8.6 |
8.2 | PHP-logicaldoc-webservices-886 | Changes: fixed document creation via SOAP with LD 8.3 and higher |
8.7.3 |
7.4 | PHP-SOAP_webservice-873.zip | Changes: Chunk upload for large files |
8.4.2 |
7.2 | PHP-SOAP_webservice-842.zip | Changes: REST methods invocations |
8.2.1 |
7.2 | PHP-SOAP_webservice-8.2.1.zip | |
8.1.1 |
7.0 | PHP-SOAP_webservice-8.1.1.zip | Changes: updated example for recursive download |
8.0 |
7.0 | PHP-SOAP_webservice-8.0.zip | |
7.7 |
5.4.43 | PHP-SOAP_webservice-77.zip | Changes: Removed field title in WSDocument |
7.5/7.5.1 |
5.4.43 | PHP-SOAP_webservice-7.5.zip | Changes: Important changes in WSDocument fields (attributes), new REST examples |
7.4 |
5.4.43 | PHP-SOAP_webservice-7.4-R02.zip | Changes: Some changes in the WSDocument and WSFolder fields, new REST examples, new samples of Enterprise Search (parametric search) |
7.2 |
5.4.43 | PHP-SOAP_webservice-7.2.zip | Changes: Creating a folder from template with related metadata |
7.0.0 |
5.4.43 | PHP-SOAP_webservice-7.0.zip | Changes: updated Search fullText examples, new Enterprise parametric search, Document download alias, Document download REST (big files), mini application in PHP, shows the latest document created/updated |
6.8.4 |
5.4.43 | PHP-SOAP_webservice-6.8.4.zip | Changes: search by parameters (EnterpriseSearch), full-text search on template fields, getTemplate by name (DocumentMeta) |
6.8.3 |
5.4.43 | PHP-SOAP_webservice-6.8.3.zip | Changes: new mini application in PHP, performs the research and presents a list of results for download |
6.8.1 |
5.4.43 | PHP-SOAP_webservice-6.8.1.zip | |
6.7.1 |
5.4.43 | PHP-SOAP_webservice-6.7.1.zip | Changes in: Search_parametric.php and Folder_workspaces.php |
6.6.2 |
5.4.43 | PHP-SOAP_webservice-6.6.2.zip | New examples: Search_parametric.php and Document_createBinaryWithTemplate.php |
6.5.2 |
5.4.43 | PHP-SOAP_webservice-6.5.2.zip | |
6.5.1 |
5.4.43 | PHP-SOAP_webservice-6.5.1.zip | |
6.4 |
5.4.43 | PHP-SOAP_webservice-6.4.zip |
Of particular interest is the new example Folder_downloadRecursively.php that lets you perform full backup of the repository starting from a given folder |
6.0 |
5.4.43 | PHP-SOAP_webservice-6.0.zip | |
5.0/5.1 |
5.4.43 | PHP-SOAP_webservice-5.1.zip |
Python
A set of examples in Python to use the new REST APIs available from LogicalDOC since version 7.5
3.11.4 is the version of Python that we used to create and test the latest scripts.
These can be run from the command line on Windows: python <SCRIPT_FILENAME>
Be aware that you might have to change the address and port of your LogicalDOC or the login credentials.
LD version | Download Url | Notes |
8.9.1 |
Python-logicaldoc-webservices-891.zip | Added Reading Request SOAP and REST examples Added listUsers and StoreUser SOAP examples |
8.7.4 |
Python-samples-8.7.4.zip | Added Enterprise Search REST examples |
8.7.3 |
Python-samples-873.zip | Interactive Documentation about the RESTful APIs is available at http://docs.logicaldoc.com/en/web-services-api |
8.4.2 |
Python-samples-842.zip | Interactive Documentation about the RESTful APIs is available at http://docs.logicaldoc.com/en/web-services-api |
7.7 |
Python-samples-77.zip | Interactive Documentation about the RESTful APIs is available at http://docs.logicaldoc.com/en/web-services-api |
7.5/7.5.1 |
Python-samples-751.zip | Interactive Documentation about the RESTful APIs is available at http://wiki.logicaldoc.com/rest/ |