How to register a webservice function in your module installation - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Development (https://discussions.corebos.org/forumdisplay.php?fid=18) +--- Forum: coreBOS Development (https://discussions.corebos.org/forumdisplay.php?fid=4) +--- Thread: How to register a webservice function in your module installation (/showthread.php?tid=525) |
How to register a webservice function in your module installation - Guido1982 - 12-13-2016 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? RE: How to register a webservice function in your module installation - joebordes - 12-13-2016 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 RE: How to register a webservice function in your module installation - Guido1982 - 12-13-2016 Cool, thanks! I'll take a look and come back if I have any questions.. |