Greetings!
I'm having trouble binding the RadAutoCompleteBox to an external web service (ie one residing on a different domain).
I notice that when the AutoCompleteBox calls a local web service, it uses POST. But it seems to change that to a GET when the web service is on a different domain, which means that the call is being rejected when I try it to both an .asmx and a .svc.
I've tested this repeatedly and note that when I change from http://localdomain.com/service.asmx to http://otherdomain.com/service.asmx then Chrome's Developer Tools are reporting that the service call changes from POST to GET.
I've tried experimenting with getting the .asmx and .svc methods to support GET, but that's causing other problems, so my first approach is to see if it's possible to force a POST, which seems to work.
My questions are:
Please note that by "external web service", I do control that web service and can set it up any way required.
Thanks!
FRASER TUSTIAN
I'm having trouble binding the RadAutoCompleteBox to an external web service (ie one residing on a different domain).
I notice that when the AutoCompleteBox calls a local web service, it uses POST. But it seems to change that to a GET when the web service is on a different domain, which means that the call is being rejected when I try it to both an .asmx and a .svc.
I've tested this repeatedly and note that when I change from http://localdomain.com/service.asmx to http://otherdomain.com/service.asmx then Chrome's Developer Tools are reporting that the service call changes from POST to GET.
I've tried experimenting with getting the .asmx and .svc methods to support GET, but that's causing other problems, so my first approach is to see if it's possible to force a POST, which seems to work.
My questions are:
- Is it possible to support POST for external web service calls, or would that require JSONP (which I gather is not supported)?
- If not (or perhaps, either way), is there any way to connect to an external web service .asmx (for example) and - if so - could you post a small demo of it? When I try connecting to an external .asmx via GET, I'm getting an error 500 because the ASMX isn't liking the URL sent by the RadAutoCompleteBox (Request format is unrecognized for URL unexpectedly ending in '/GetResourcePickerAutoCompleteSearchResults'.)
Please note that by "external web service", I do control that web service and can set it up any way required.
Thanks!
FRASER TUSTIAN