5

I am using the example below to do a cross-domain ajax call using .net web services and jquery. http://bloggingabout.net/blogs/adelkhalil/archive/2009/08/14/cross-domain-jsonp-with-jquery-call-step-by-step-guide.aspx

It works fine until I try to change my endpoint to https. I don't get any errors, just no response. My first question would be, is it even possible to do with jsonp? If so, I would appreciate some guidance on how to troubleshoot/fix the problem.

Thanks!

4
  • Do you get a response when you perform the https transaction manually? Commented Feb 8, 2010 at 17:25
  • 1
    Are you trying to access an account with a robot https (web)? Commented Sep 14, 2010 at 21:45
  • Thanks for the replies. I just tested this and it's working now. Unfortunately I can't explain why it wasn't before. Maybe a simple mistake that I missed somewhere. Commented Sep 15, 2010 at 21:47
  • That's to bad you don't have a definite solution. Commented Sep 16, 2010 at 20:03

1 Answer 1

3
+25

Jsonp works the same with http and https.

You might have lost Your session or modified the environment somehow else.

Sign up to request clarification or add additional context in comments.

2 Comments

Actually I think you may be right. I think maybe the call to the web service was over http while my authenticated session was https.
Or session cookie was not sent due to the protocol change. I'm not sure how it works. Would have to check. But if so - the problem might be more common.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.