Difference between revisions of "Web Services"

From LogicalDOC Community Wiki
Jump to navigationJump to search
(PHP Integration)
(PHP Integration)
Line 64: Line 64:
 
| align="center" | '''LD version'''  
 
| align="center" | '''LD version'''  
 
| align="center" | '''Download Url'''
 
| align="center" | '''Download Url'''
 +
| '''Notes'''
 
|-
 
|-
 
| 6.4<br>  
 
| 6.4<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>
 
| [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 a branch of the archive from a specific folder
 
|-
 
|-
 
| 6.0<br>  
 
| 6.0<br>  

Revision as of 12:56, 18 April 2012

Introduction

LogicalDOC can be used as middleware and can be integrated with other system by the use of the built-in Web Service.

The Web Service module is part of the LogicalDOC core distribution and is compliant with W3C specifications SOAP and MTOM. Using SOAP over HTTP allows for easier communication through proxies and firewalls than previous remote execution technology. MTOM is a method of efficiently sending binary data to and from web services; it allows more efficient sending of binary data in a SOAP request or response.

The layer of Web-Service of LogicalDOC is implemented using the framework Apache CXF (AKA XFire 2) version 2.2.x.
CXF implements the JAX-WS specifications, this makes the Web-Services of LogicalDOC extremely compatibles and adhering to the W3C's SOAP and MTOM standards.
Also allows to enable/disable the MTOM features, reducing lines of code needed to implement and deliver the web-services functionalities and increasing the maintainability of the program.

The LogicalDOC Web Services are divided in a number of specialized services, each one dedicated to a specific topic.

Web Services Reference

The complete Web-Service Reference is available on this wiki.

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
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
4.5 Java-WebServicesTests-4.5.zip

.NET Integration

This is a sample Visual Studio 2008 project created to illustrate some C# .NET 2.0 invocations of the LogicalDOC web-services

LD version Sample package
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.3.3
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
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 a branch of the archive from a specific folder
6.0
PHP-SOAP_webservice-6.0.zip
5.0/5.1
PHP-SOAP_webservice-5.1.zip
4.5
PHP-SOAP_webservice-4.5.zip