Your function defines an operation of the service.
A Web service function is a normal BDL function that uses the input and output records that you have defined.
Example add operation
PUBLIC FUNCTION add()
LET AddResponse.r = add.a + add.b
END FUNCTION