Difference between revisions of "Bindings And Samples"

From LogicalDOC Community Wiki
Jump to navigationJump to search
m (PHP Integration)
(Python)
 
(31 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'''
 +
|-
 +
| 8.3.4
 +
| [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%208.3/logicaldoc-webservicesamples-8.3.4.zip/download logicaldoc-webservicesamples-8.3.4.zip]
 +
|-
 +
| 8.3
 +
| [https://sourceforge.net/projects/logicaldoc/files/samples/examples-8.3/Java-webserviceTests-8.3.zip/download Java-webserviceTests-8.3.zip]
 +
|-
 +
| 8.0.0
 +
| [https://sourceforge.net/projects/logicaldoc/files/samples/examples-8.0/Java-webserviceTests-8.0.0.zip/download Java-webserviceTests-8.0.0.zip]
 +
|-
 +
| 7.6.3
 +
| [https://sourceforge.net/projects/logicaldoc/files/samples/examples-7.6/webserviceTests-Java.zip/download webserviceTests-Java.zip]
 +
|-
 +
| 7.5.2
 +
| [https://sourceforge.net/projects/logicaldoc/files/samples/samples-7.5/Java-webserviceTests-7.5.2.zip/download Java-webserviceTests-7.5.2.zip]
 +
|-
 +
| 7.4.0
 +
| [http://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.4/Java-webserviceTests-7.4.zip/download Java-webserviceTests-7.4.zip]
 +
|-
 +
| 7.1.0
 +
| [http://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.1/Java-webserviceTests-7.1.0.zip/download Java-webserviceTests-7.1.0.zip]
 
|-
 
|-
 
| 6.8.0
 
| 6.8.0
Line 35: Line 56:
 
== .NET Integration  ==
 
== .NET Integration  ==
  
This is a sample Visual Studio 2008 project created to illustrate some C# .NET 2.0 invocations of the LogicalDOC web-services<br>  
+
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<br>  
  
 
{| cellspacing="1" cellpadding="1" border="1" style="width: 508px; height: 102px;"
 
{| cellspacing="1" cellpadding="1" border="1" style="width: 508px; height: 102px;"
Line 41: Line 62:
 
| align="center" | '''LD&nbsp;version'''  
 
| align="center" | '''LD&nbsp;version'''  
 
| align="center" | '''Sample package'''
 
| align="center" | '''Sample package'''
 +
| align="center" | '''Visual Studio'''
 +
| align="center" | '''Notes'''
 +
|-
 +
| 8.3
 +
| [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%208.3/dotNET2WSClient4-8.3.zip/download dotNET2WSClient4-8.3.zip]
 +
| VS 2013
 +
| Includes an example of creating AttributeSets and Templates
 +
|-
 +
| 8.2.1
 +
| [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%208.2/dotNET2WSClient4-8.2.1.zip/download dotNET2WSClient4-8.2.1.zip]
 +
| VS 2013
 +
| Complete example of full-text search with custom attributes
 +
|-
 +
| 8.1.1
 +
| [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%208.1/dotNET2WSClient4-8.1.1.zip/download dotNET2WSClient4-8.1.1.zip]
 +
| VS 2013
 +
| Full-text search with search in sub-folder
 +
|-
 +
| 7.7.3
 +
| [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.7/dotNET2WSClient4-7.7.3.zip/download dotNET2WSClient4-7.7.3.zip]
 +
| VS 2013
 +
| (.NET 4.0) Upload document REST example
 +
|-
 +
| 7.5
 +
| [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.5/dotNET4_WSClient-7.5.zip/download dotNET4_WSClient-7.5.zip]
 +
| VS 2013
 +
| (.NET 4.0) Upload document REST example
 +
|-
 +
| 7.1
 +
| [http://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.1/dotNET-WSExamples-7.1.zip/download dotNET-WSExamples-7.1.zip]
 +
| VS 2010
 
|-
 
|-
 
| 6.8.4
 
| 6.8.4
Line 72: Line 124:
 
== PHP Integration  ==
 
== PHP Integration  ==
  
The Web-Services of LogicalDOC are fully compatibles with PHP 5.3.3 <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 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>  
  
 
{| cellspacing="1" cellpadding="1" border="1" style="width: 100%; height: 79px;"
 
{| cellspacing="1" cellpadding="1" border="1" style="width: 100%; height: 79px;"
Line 79: Line 131:
 
| align="center" | '''Download Url'''
 
| align="center" | '''Download Url'''
 
| '''Notes'''
 
| '''Notes'''
 +
|-
 +
| 8.4.2<br>
 +
| [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
 +
|-
 +
| 8.2.1<br>
 +
| [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>
 +
| [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
 +
|-
 +
| 8.0<br>
 +
| [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>
 +
| [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
 +
|-
 +
| 7.5/7.5.1<br>
 +
| [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
 +
|-
 +
| 7.4<br>
 +
| [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)
 +
|-
 +
| 7.2<br>
 +
| [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
 +
|-
 +
| 7.0.0<br>
 +
| [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
 
|-
 
|-
 
| 6.8.4<br>  
 
| 6.8.4<br>  
Line 117: Line 203:
 
| 5.0/5.1<br>  
 
| 5.0/5.1<br>  
 
| [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  ==
 +
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>
 +
The scripts can be run from the command line on Windows: python <SCRIPT_FILENAME><br>
 +
<br>
 +
{| cellspacing="1" cellpadding="1" border="1" style="width: 100%; height: 79px;"
 +
|-
 +
| align="center" | '''LD version'''
 +
| align="center" | '''Download Url'''
 +
| '''Notes'''
 +
|-
 +
| 8.4.2<br>
 +
| [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%208.4/Python-samples-842.zip/download Python-samples-842.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]
 +
|-
 +
| 7.7<br>
 +
| [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.7/Python-samples-77.zip/download Python-samples-77.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]
 +
|-
 +
| 7.5/7.5.1<br>
 +
| [https://sourceforge.net/projects/logicaldoc/files/distribution/LogicalDOC%20CE%207.5/Python-samples-751.zip/download Python-samples-751.zip]
 +
| Interactive Documentation about the RESTful APIs is available at [http://wiki.logicaldoc.com/rest/ http://wiki.logicaldoc.com/rest/]
 
|}
 
|}

Latest revision as of 09:28, 26 June 2020

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
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.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 fully compatibles with PHP 5.4.43
A few days ago we released a set of example that shows the invocation of methods through the SoapClient (SOAP extension) for PHP.
As always you can download it from SourceForge.

LD version Download Url Notes
8.4.2
PHP-SOAP_webservice-842.zip Changes: REST methods invocations
8.2.1
PHP-SOAP_webservice-8.2.1.zip
8.1.1
PHP-SOAP_webservice-8.1.1.zip Changes: updated example for recursive download
8.0
PHP-SOAP_webservice-8.0.zip
7.7
PHP-SOAP_webservice-77.zip Changes: Removed field title in WSDocument
7.5/7.5.1
PHP-SOAP_webservice-7.5.zip Changes: Important changes in WSDocument fields (attributes), new REST examples
7.4
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
PHP-SOAP_webservice-7.2.zip Changes: Creating a folder from template with related metadata
7.0.0
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
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
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
PHP-SOAP_webservice-6.8.1.zip
6.7.1
PHP-SOAP_webservice-6.7.1.zip Changes in: Search_parametric.php and Folder_workspaces.php
6.6.2
PHP-SOAP_webservice-6.6.2.zip New examples: Search_parametric.php and Document_createBinaryWithTemplate.php
6.5.2
PHP-SOAP_webservice-6.5.2.zip
6.5.1
PHP-SOAP_webservice-6.5.1.zip
6.4
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
PHP-SOAP_webservice-6.0.zip
5.0/5.1
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
2.7.10 is the version of Python that we used to create and test these scripts.
The scripts can be run from the command line on Windows: python <SCRIPT_FILENAME>

LD version Download Url Notes
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/