We created a simple sample HTML page using a remote data source and listgrid component, based on some of the examples in BDN. We created a simple servlet which is running the new DatamoduleServlet recently released. Two problems:
1. In Firefox, we are getting a "permission denied error when calling XMLHttpRequest.open".
So, switching to IE, we now have the page loading in the browser and sending a POST request to the server (as seen in the BB debugger):
request=%7B%22read%22%3A%7B%22attributes%22%3A%7B%22page%22%3A%221%22%2C%22rows%22%3A%2210%22%7D%7D%7D
However, the server side (in the servlet?) is returning this error:
GENERIC: XML Parsing Error: Invalid at the top level of the document.Location:
Line Number 1, Column 1:
Text:Exception org.xml.sax.SAXParseException: Content is not allowed in prolog.
-^. sourceText1.
So now we're stuck.
Questions:
1. Why will this not work in Firefox???
2. What are we doing wrong with our request to the servlet?
and, most importantly:
3. Where is the source code for the Data Services? It would greatly help in understanding how to use this component, since the documentation is very very thin.
Thanks...

error dataModule code
14 July, 2008 - 10:38 — andysHi dudehook,
The problem that you post is clearly vague for me. Would you like to send a simplified test case? or maybe, you would like to send the war file or something like that?
There are two documentations about DataServices. You can find the documentations in this url
http://bdn.backbase.com/java/dataservices/documentation
Currently, we are still working on DataServices epage.
Andys
Re: Need help using new data binding
23 July, 2008 - 12:34 — v_peterHi dudehook,
The reason of error (for your 2nd question) is that you use JSON format but Data Services supports only XML for now (we have the task for JSON support for next release). Please add following to you client side data source:
The "requestType" attribute defines request format from client dataSource to server.
To answer your first question it would be better to have some code snippet.
Hope it will help,
Peter