The problem was in the server webconfig. I had to add

&lt;binding name="webHttpBindingWithJsonP" crossDomainScriptAccessEnabled="true" /&gt;


Thanks for your suggestions guys, they probably solved some other problems I would have come across anyway. :)

Comsuming RESTful service in javascript
I have the following problem with Photoshop: When I open up a document (approx. 15MB), PhotoShop uses 5 to 7GB disk storage immediately.

When working with smaller documents it just takes more time but in every case my disk runs out of space in several hours.

Why does the application put SO MUCH stuff onto the hard drive?! Especially regarding the fact that I gave PhotoShop about 8GB of RAM.
