alfredo - 2013-09-27

how can i return a table form a database?
i've been trying to make but the only thing i get is this error:

Response not of type text/xml: text/html

i was using the addComplexType but i guess i got it wrong