Thanks Jon,
So I've done the following:
- Copied the xtk:session schema and made a cus:cusomtSession one
- Changed the logon method name to cus_api_Logon
- Added the library attribute cus:api.js in the method
- Copy/pasted the javascript code in the newly made cus:api.js
Now I'm getting the following error:
<faultstring xsi:type='xsd:string'>SOP-330011 Error while executing the method 'cus_api_Logon' of service 'cus:customSession'.</faultstring>
<detail xsi:type='xsd:string'>JST-310001 Error while evaluating a JavaScript code, line 1: (void 0) is not a function.</detail>
Even if I just put a log in the js file it doesn't seem to work. Anything I missed?
Thanks!