Back-end server invocation

Configure the server information in the adapter xml

BTT provides one util JavaScript method to invoke BTT back end service, you can find this javascript file in BTT Content Package also.

This util JavaScript file provides two methods

BTT.establishSession(success)

- Used to establish the connection with BTT server at the first time, this method should be called before user login.

- “success” The callback method when the connection success

BTT.callOperation(opName, params, success, error)

- This method is used to call a back end BTT operation service

- ”opName” operation name you would like to invoke

- “params” parameters to submit to server

- “success” call back method when invocation success

- “error” call back method when invocation fail