Project

General

Profile

Webservices usage » History » Revision 14

Revision 13 (Mickael Cabanas, 08/17/2011 06:29 PM) → Revision 14/15 (Mickael Cabanas, 08/17/2011 06:30 PM)

h1. Webservices usage 

 SOAP Webservices are only avalaible in Virtuemart 2. To enable it go to Virtuemart configuration panel. 
 There are 6 WSDL contracts which contains more than 100 webservices. 

 - Categories 
 - Products 
 - Users 
 - Orders 
 - SQLQueries 
 - Customized 

 h2. Requierements 

 You need PHP 5.2 or higher and PHP SOAP modules enabled on your server. 

 h2. Configuration 

 - Default configuration is all webservices are disabled. 
 - All webervices need authentication with super user right. 
 - You can enable/disable authentication for some methods. 

 h2. WSDL access 

 WSDL are reachable at : 

 http://<hostname>/<joomladir>/administrator/components/com_virtuemart/services/VM_CategoriesWSDL.php 

 http://<hostname>/<joomladir>/administrator/components/com_virtuemart/services/VM_ProductWSDL.php 

 http://<hostname>/<joomladir>/administrator/components/com_virtuemart/services/VM_OrderWSDL.php 

 http://<hostname>/<joomladir>/administrator/components/com_virtuemart/services/VM_UsersWSDL.php 

 http://<hostname>/<joomladir>/administrator/components/com_virtuemart/services/VM_SQLQueriesWSDL.php 

 http://<hostname>/<joomladir>/administrator/components/com_virtuemart/services/VM_CustomizedWSDL.php 


 h2. Webservices tests 

 You can use a tool like "SOAPui":http://www.soapui.org/ to test webservices. webservice 
 Create new project and add url to your WSDL. 
 Request is build automaticaly. Populate field like login/password and send request.