Thank you for your response .
1. My widget tries to render an indoor map inside the thingworx mashup using jquery post function(probably a REST webservice call). The REST webservice is also running on the same Tomcat.
2. Yes,I've logged into my local thingworx platform server as an Administrator only.so,I should definitely have have enough privilages.