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

Requierements

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

Configuration

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

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

Webservices tests

You can use a tool like SOAPui to test webservices.
Create new project and add url to your WSDL.
Request is build automaticaly. Populate fields like login/password and send request.