xquery2soap: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/xquery2soap - from package: galax-extra

You may install the required package with command apt-get install {package}
Error in other languages:
xquery2soap: bevel nie gevind nie
xquery2soap: comandă negăsită
xquery2soap: comando não encontrado
xquery2soap: commande introuvable
xquery2soap: command not found
xquery2soap: käsku ei ole
xquery2soap: không tìm thấy lệnh
xquery2soap: komanda nerasta
xquery2soap: Kommando nicht gefunden.
xquery2soap: kommandot finns inte
xquery2soap: komut yok
xquery2soap: nie znaleziono polecenia
xquery2soap: níor aimsíodh an t-ordú
xquery2soap: no se encontró la orden
xquery2soap: no s'ha trobat l'ordre
xquery2soap: opdracht niet gevonden
xquery2soap: parancs nem található
xquery2soap: perintah tidak ditemukan
xquery2soap: príkaz nenájdený
xquery2soap: příkaz nenalezen
xquery2soap: команда не найдена
xquery2soap: командата не е открита
xquery2soap: 命令找不到
xquery2soap: コマンドが見つかりません