cancel
Showing results for 
Search instead for 
Did you mean: 

IE7 doesn't open the webscripts response in json format

anusk
Champ in-the-making
Champ in-the-making
Hi all!
I tried to call a JSON webscript with IE7 and I always getting this error

"Internet explorer cannot download file from server "
"Internet explorer was not able to open this Internet site.The requested site is either unavailable or cannot be found. Please, try again later"

In Mozilla firefox the webscript calls works perfect!
Is this a problem of the IE??Maybe a bug??

Regards,
Ana
4 REPLIES 4

mrogers
Star Contributor
Star Contributor
More details please, no-one can help with that level of detail.   For a start what URL are you using?

anusk
Champ in-the-making
Champ in-the-making
Sorry,
At first I am using a custom webscript, but then tried with the api/people/{userName} webscript

when I called the URL like this in the IE7

http://localhost:8083/alfresco/service/api/people/Cris?alf_method=GET

I get the error.

EDIT: goes through this link, I can save it the file at my local machine. But putting the address in the IE get the error.

anusk
Champ in-the-making
Champ in-the-making
It seems that IE7 doesn't recognize the application/json mime-type.
To fix this , you have to update the Windows registry according to this:
http://adallow.wordpress.com/2008/10/13/viewing-applicationjson-mime-type-docs-in-your-browser/

Regards,
Ana

kevinr
Star Contributor
Star Contributor
Yes it's IE that is not being helpful. I suggest you debug your webscripts using FireFox and FireBug!