Difference between revisions of "Web Services"

From LogicalDOC Community Wiki
Jump to navigationJump to search
(PHP Integration)
Line 9: Line 9:
 
The complete [[Web_Services_Reference|'''Web-Service Reference''' is available on this wiki.]]
 
The complete [[Web_Services_Reference|'''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<br>
 
 
{| cellspacing="1" cellpadding="1" border="1" style="width: 407px; height: 117px;"
 
|-
 
| align="center" | '''LogicalDOC version'''
 
| align="center" | '''Sample'''
 
|-
 
| 6.4
 
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.4/Java-WebServicesTests-6.4.zip/download Java-WebServicesTests-6.4.zip]
 
|-
 
| 6.2
 
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.2/Java-WebServicesTests-6.2.zip/download Java-WebServicesTests-6.2.zip]
 
|-
 
| 6.0
 
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.0/Java-webserviceTests-6.0.zip/download Java-WebServicesTests-6.0.zip]
 
|-
 
| 5.0/5.1
 
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-5.1/Java-webserviceTests-5.1.zip/download Java-WebServicesTests-5.1.zip]
 
|-
 
| 4.5
 
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-4.5/Java-webserviceTests-4.5.zip/download Java-WebServicesTests-4.5.zip<br>]
 
|}
 
 
== .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>
 
 
{| cellspacing="1" cellpadding="1" border="1" style="width: 508px; height: 102px;"
 
|-
 
| align="center" | '''LD&nbsp;version'''
 
| align="center" | '''Sample package'''
 
|-
 
| 6.4
 
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.4/dotNET-webservice-client-6.4.zip/download dotNET-webservice-client-6.4.zip]<br>
 
|-
 
| 6.0
 
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-6.0/dotNET2WSClient-6.0.zip/download dotNET2WSClient-6.0.zip]<br>
 
|-
 
| 5.2.1
 
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-5.2/dotNET2WSClient-5.2.1.zip/download dotNET2WSClient-5.2.1.zip]<br>
 
|-
 
| 5.0
 
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-5.0/dotNET2WSClient-5.0.zip/download dotNET2WSClient-5.0.zip]<br>
 
|}
 
 
== 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>
 
 
{| cellspacing="1" cellpadding="1" border="1" style="width: 100%; height: 79px;"
 
|-
 
| align="center" | '''LD version'''
 
| align="center" | '''Download Url'''
 
| '''Notes'''
 
|-
 
| 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>
 
| 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>
 
| [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>
 
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-5.1/PHP-SOAP_webservice-5.1.zip/download PHP-SOAP_webservice-5.1.zip]<br>
 
|-
 
| 4.5<br>
 
| [http://sourceforge.net/projects/logicaldoc/files/samples/samples-4.5/PHP-SOAP_webservice-4.5.zip/download PHP-SOAP_webservice-4.5.zip]<br>
 
|}
 
  
 
<br>
 
<br>

Revision as of 12:47, 16 July 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.