Difference between revisions of "Bindings And Samples"

From LogicalDOC Community Wiki
Jump to navigationJump to search
(PHP Integration)
(JAVA Examples)
 
(12 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 fully compatibles with PHP 5.4.43 <br>A few days ago we released a set of example that shows the invocation of methods through the SoapClient (SOAP extension) for PHP.<br>As always you can download it from SourceForge.<br>  
+
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;"
Line 137: Line 142:
 
| 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>  
 
| 8.7.3<br>  
Line 236: Line 246:
  
 
== 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/>  
2.7.10 is the version of Python that we used to create and test these scripts.<br>  
+
3.11.4 is the version of Python that we used to create and test the latest scripts.<br/>  
The scripts can be run from the command line on Windows: python <SCRIPT_FILENAME><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 245: 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>  
 
| 8.7.3<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/