What are you trying to create your service on? you are not giving the correct path for your demo table.
May be something like this below:
service namespace "Sample.services" {
"DemoSchema". "Sample.data::DemoTable" as "DemoXS" ;
}
Regards,
Krishna Tangudu