This commit is contained in:
Laurent Destailleur 2008-07-11 23:33:16 +00:00
parent ca025dae94
commit d77b926d53
2 changed files with 28 additions and 7 deletions

View File

@ -1,7 +1,14 @@
This directory contains files that make Dolibarr a server of web services.
To see all Webservices provided by Dolibarr, just call following Url:
http://mydomain.com/dolibarr/webservices/server.php
This page will return the WSDL of Web services provided by Dolibarr.
Note, you can test this Webservices by calling the page client.php.
README (english)
---------------------------------------------------------
This directory contains files to make Dolibarr a server
of SOAP Web Services.
* To see all Webservices provided by Dolibarr, just call following Url:
http://mydomain.com/dolibarr/webservices/server.php
* WSDL file of Web services provided by Dolibarr can be obtained at:
http://mydomain.com/dolibarr/webservices/server.php?wsdl
and is also saved in file:
server.wsdl
Note, you can test this Webservices by calling the page client.php.

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<definitions xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:tns="dolibarr" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="dolibarr">
<types><xsd:schema targetNamespace="dolibarr"
>
<xsd:import namespace="http://schemas.xmlsoap.org/soap/encoding/" />
<xsd:import namespace="http://schemas.xmlsoap.org/wsdl/" />
</xsd:schema>
</types>
<message name="getVersionsRequest"></message>
<message name="getVersionsResponse"><part name="dolibarr" type="xsd:string" /><part name="mysql" type="xsd:string" /><part name="apache" type="xsd:string" /></message>
<portType name="WebServicesDolibarrPortType"><operation name="getVersions"><input message="tns:getVersionsRequest"/><output message="tns:getVersionsResponse"/></operation></portType>
<binding name="WebServicesDolibarrBinding" type="tns:WebServicesDolibarrPortType"><soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/><operation name="getVersions"><soap:operation soapAction="http://localhostdolibarr/webservices/server.php/getVersions" style="rpc"/><input><soap:body use="encoded" namespace="dolibarr" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></input><output><soap:body use="encoded" namespace="dolibarr" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/></output></operation></binding>
<service name="WebServicesDolibarr"><port name="WebServicesDolibarrPort" binding="tns:WebServicesDolibarrBinding"><soap:address location="http://localhostdolibarr/webservices/server.php"/></port></service>
</definitions>