Web Services API SOAP (developer)

Function

When enabling this module, you enable usage of web services provided by Werpos server. You can then make SOAP call of different web services provided by Werpos.

 SOAP is a deprecated protocol. It is highly recommended to use the Module Web Services API REST (developer) instead.

Werpos web services server

Once module webservices is activated, Werpos become also a server of web services. So you can send your own SOAP request to relative URL /webservices/server_xxx.php where xxx can be

  • “actioncomm”
  • “category”
  • “contact”
  • “invoice”
  • “order”
  • “other”
  • “productorservice”
  • “supplier_invoice”
  • “thirdparty”
  • “user”


For example on Werpos demo, send your SOAP requests to https://demo.Werpos.org/webservices/server_other.php


Only few services are available. You can see full list of Werpos Webservices provided, by calling the URL with no POST parameters.

For example, to see all Webservices functions available on Werpos demo, just call the following URL with no parameters:

https://demo.Werpos.org/webservices/server_other.php

To get the WSDL file that describe webservices contracts, you can call:

https://demo.Werpos.org/webservices/server_other.php?wsdl

Werpos web services client

Note that you can see an example of code for a PHP client calling this relative URL /webservices/server_other.php

For example on Werpos demo, call the client user interface

https://demo.Werpos.org/webservices/demo_wsclient_other.php

List of provided services

List of available services can be viewed by calling the page /webservices/ on your Werpos installation. For example, for the demo Werpos server, full URL is: https://demo.Werpos.org/webservices/

This list is very short but will be completed with future Werpos versions…