Hi David,
this error is related to your package hierarchy. The xshttpdest object has to be in the same package or subpackage as your xsjs. In your case the xsjs is located in fts.test, whereas your xshttpdest is located in fts.request. If you move your xsjs to the same package fts.request the error will vanish.
Best regards,
Karsten