Project

General

Profile

Actions

Webservices usage » History » Revision 13

« Previous | Revision 13/15 (diff) | Next »
Mickael Cabanas, 08/17/2011 06:29 PM


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 webservice
Create new project and add url to your WSDL.
Request is build automaticaly. Populate field like login/password and send request.

Updated by Mickael Cabanas over 12 years ago · 13 revisions