Resolved the issue, The user has to have logged into the Moodle before so the account is copied into the Moodle user table
Web services
External Database User - Web Services
This discussion has been locked so you can no longer reply to it.