tags:

views:

101

answers:

0

Hello,

We have a web service on https://secure.site.com/service.asmx it works fine from https://secure.site.com/consumer.html

but when we try to use it from https://www.site.com/consumer.html we can't do it. Getting 403 error.

I'ts probably something related to webservice security (because of different subdomains) but I can't figure out what. How to make https://secure.site.com/service.asmx be accessible from https://www.site.com/consumer.html?

Update: Calling webserivce using JQuery Ajax.

  $.ajax({
        type: "POST",
        url: "https://secure.site.com/service.asmx/method",
        data: {},
        dataType: "xml",
        success: method_result,
        error: AjaxFailed
    })

;

Thanks.