Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to register a webservice function in your module installation
#1
I want to register a new webservice function that can be called from outside. It'll create a PDF with the values passed into it. This function belongs to a module, so I want to register the new webservice function on module installation. Are there any examples on how to do this?
Reply
#2
Here you have an example:
https://github.com/tsolucio/corebos/blob/master/modules/GlobalVariable/GlobalVariable.php#L473

The global variable module registers a WS call so you can get the values of global variables from the external applications

and here the profile of teh coreBOS PDF retrieving service:

https://github.com/tsolucio/corebos/blob/master/build/wsChanges/GetPDFDataWS.php
Joe
TSolucio
Reply
#3
Cool, thanks! I'll take a look and come back if I have any questions..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)