Difference between revisions of "Module Web Services API SOAP (developer)"

From Dolibarr ERP CRM Wiki
Jump to navigation Jump to search
m (Created page with '{{TemplateDocDevEn}} Dolibarr provide a server and a client for web services in directory htdocs/webservices. This server use embended php Nusoap library (no need to add PHP modu...')
 
m
Line 1: Line 1:
 
{{TemplateDocDevEn}}
 
{{TemplateDocDevEn}}
 
Dolibarr provide a server and a client for web services in directory htdocs/webservices. This server use embended php Nusoap library (no need to add PHP module) modified to work with PHP4 and PHP5.
 
Dolibarr provide a server and a client for web services in directory htdocs/webservices. 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 thi server at URL
+
You can send your own SOAP request to relative URL
  http://yourdolibarrvirtualhost/webservices/server.php
+
/webservices/server.php
 +
For example on Dolibarr demo, call
 +
  http://demo.dolibarr.org/webservices/server.php
  
 
Only few services are available.
 
Only few services are available.
Line 8: Line 10:
 
You can see list of Dolibarr Webservices provided by calling the URL with no POST parameters. So just call the URL '''http://yourdolibarrvirtualhost/webservices/server.php''' to see list of available functions.
 
You can see list of Dolibarr Webservices provided by calling the URL with no POST parameters. So just call the URL '''http://yourdolibarrvirtualhost/webservices/server.php''' to see list of available functions.
  
Note that you can see an example of a PHP client calling this URL in page
+
Note that you can see an example of a PHP client calling this relative URL
  http://yourdolibarrvirtualhost/webservices/server.php
+
/webservices/server.php
 +
For example on Dolibarr demo, call
 +
  http://demo.dolibarr.org/webservices/client.php

Revision as of 16:24, 10 April 2009

Dolibarr provide a server and a client for web services in directory htdocs/webservices. 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, call

http://demo.dolibarr.org/webservices/server.php

Only few services are available.

You can see list of Dolibarr Webservices provided by calling the URL with no POST parameters. So just call the URL http://yourdolibarrvirtualhost/webservices/server.php to see list of available functions.

Note that you can see an example of a PHP client calling this relative URL

/webservices/server.php

For example on Dolibarr demo, call

http://demo.dolibarr.org/webservices/client.php