Webservices usage » History » Version 14
Mickael Cabanas, 08/17/2011 06:30 PM
| 1 | 1 | Mickael Cabanas | h1. Webservices usage |
|---|---|---|---|
| 2 | 2 | Mickael Cabanas | |
| 3 | 4 | Mickael Cabanas | SOAP Webservices are only avalaible in Virtuemart 2. To enable it go to Virtuemart configuration panel. |
| 4 | 9 | Mickael Cabanas | There are 6 WSDL contracts which contains more than 100 webservices. |
| 5 | 5 | Mickael Cabanas | |
| 6 | 9 | Mickael Cabanas | - Categories |
| 7 | - Products |
||
| 8 | - Users |
||
| 9 | - Orders |
||
| 10 | - SQLQueries |
||
| 11 | - Customized |
||
| 12 | |||
| 13 | 5 | Mickael Cabanas | h2. Requierements |
| 14 | 6 | Mickael Cabanas | |
| 15 | 7 | Mickael Cabanas | You need PHP 5.2 or higher and PHP SOAP modules enabled on your server. |
| 16 | |||
| 17 | h2. Configuration |
||
| 18 | |||
| 19 | - Default configuration is all webservices are disabled. |
||
| 20 | 8 | Mickael Cabanas | - All webervices need authentication with super user right. |
| 21 | - You can enable/disable authentication for some methods. |
||
| 22 | 9 | Mickael Cabanas | |
| 23 | h2. WSDL access |
||
| 24 | |||
| 25 | 10 | Mickael Cabanas | WSDL are reachable at : |
| 26 | |||
| 27 | http://<hostname>/<joomladir>/administrator/components/com_virtuemart/services/VM_CategoriesWSDL.php |
||
| 28 | |||
| 29 | http://<hostname>/<joomladir>/administrator/components/com_virtuemart/services/VM_ProductWSDL.php |
||
| 30 | |||
| 31 | http://<hostname>/<joomladir>/administrator/components/com_virtuemart/services/VM_OrderWSDL.php |
||
| 32 | |||
| 33 | http://<hostname>/<joomladir>/administrator/components/com_virtuemart/services/VM_UsersWSDL.php |
||
| 34 | |||
| 35 | http://<hostname>/<joomladir>/administrator/components/com_virtuemart/services/VM_SQLQueriesWSDL.php |
||
| 36 | |||
| 37 | http://<hostname>/<joomladir>/administrator/components/com_virtuemart/services/VM_CustomizedWSDL.php |
||
| 38 | |||
| 39 | |||
| 40 | 11 | Mickael Cabanas | h2. Webservices tests |
| 41 | |||
| 42 | 14 | Mickael Cabanas | You can use a tool like "SOAPui":http://www.soapui.org/ to test webservices. |
| 43 | 12 | Mickael Cabanas | Create new project and add url to your WSDL. |
| 44 | 13 | Mickael Cabanas | Request is build automaticaly. Populate field like login/password and send request. |
| 45 | 9 | Mickael Cabanas |