Difference between revisions of "Module Web Services API SOAP (developer)"
m |
m (moved Web Services to Module Web Services) |
(No difference)
|
Revision as of 17:03, 30 November 2009
Web services | |
---|---|
Numero/ID of module | 2600 |
User doc. of module | Not applicable |
Developer doc. of module | This page |
Function
When enabling this module, you enable usage of web services provided by Dolibarr server. You can then make SOAP call of different web services provided by Dolibarr.
Dolibarr web services server
This server use embended php Nusoap library (no need to add PHP module) modified to work with PHP4 and PHP5. You can send your own SOAP request to relative URL /webservices/server.php
For example on Dolibarr demo, send your SOAP requests to http://demo.dolibarr.org/webservices/server.php
Only few services are available. You can see full list of Dolibarr Webservices provided, by calling the URL with no POST parameters.
For example, to see all Webservices functions available on Dolibarr demo, just call the following URL with no parameters:
http://demo.dolibarr.org/webservices/server.php
To get the WSDL file that describe webservices contracts, you can call:
http://demo.dolibarr.org/webservices/server.php?wsdl
Dolibarr web services client
Note that you can see an example of code for a PHP client calling this relative URL /webservices/server.php For example on Dolibarr demo, call
http://demo.dolibarr.org/webservices/client.php
List of provided services
To complete.