I have a web-service I'm trying to call from within a Silverlight app. Running unencrypted (http) it works just fine. Over HTTPS, I simply don't get a response. The service is simple data retrieval, nothing more. Am I missing something here? I've never really
worked with HTTPS before.
As much as I'm grateful for your answer, it appears you did not read my initial post. My web-service works already, so that article is of no use to me.
My problem is that it's not responding over HTTPS, it works just as intended otherwise. Also, that article shows the most basic way of connecting to a webservice, while I used that as a start, my code for calling the webservice automatically calls back to
the issueing server as opposed to a hard coded one.
Can you open the link to the webservice in a browser? Do you get a response then? Might be that there is simply no binding for https on your webservice. Also a pretty good tool for testing your webservice:
http://www.eviware.com/soapUI/soapui-products-overview.html
I can call the service directly in my browser, but it won't give me any results, just placeholders, saying it has to be run locally. Which is the same thing I get when running it in browser over HTTP. I do have in my client access file the rules for allowing
https and http, but still nothing.
None
0 Points
15 Posts
ASMX web-service over HTTP and HTTPS
May 10, 2011 10:11 AM|Fortinbra|LINK
I have a web-service I'm trying to call from within a Silverlight app. Running unencrypted (http) it works just fine. Over HTTPS, I simply don't get a response. The service is simple data retrieval, nothing more. Am I missing something here? I've never really worked with HTTPS before.
All-Star
32861 Points
7877 Posts
Re: ASMX web-service over HTTP and HTTPS
May 10, 2011 12:05 PM|qwe123kids|LINK
Hi,
http://www.silverlightshow.net/items/Consuming-ASMX-Web-Services-with-Silverlight-2.aspx
have Seen the above link?
Avinash Tiwari
Remember to click “Mark as Answer” on the post, if it helps you.
None
0 Points
15 Posts
Re: ASMX web-service over HTTP and HTTPS
May 10, 2011 06:24 PM|Fortinbra|LINK
As much as I'm grateful for your answer, it appears you did not read my initial post. My web-service works already, so that article is of no use to me.
My problem is that it's not responding over HTTPS, it works just as intended otherwise. Also, that article shows the most basic way of connecting to a webservice, while I used that as a start, my code for calling the webservice automatically calls back to the issueing server as opposed to a hard coded one.
Member
231 Points
64 Posts
Re: ASMX web-service over HTTP and HTTPS
May 10, 2011 06:29 PM|zwartmark|LINK
Can you open the link to the webservice in a browser? Do you get a response then? Might be that there is simply no binding for https on your webservice. Also a pretty good tool for testing your webservice: http://www.eviware.com/soapUI/soapui-products-overview.html
All-Star
32861 Points
7877 Posts
Re: ASMX web-service over HTTP and HTTPS
May 11, 2011 11:49 AM|qwe123kids|LINK
Have You seen the Cross-Domain xml or tried?
<allow-from http-request-headers="SOAPAction">
<domain uri="http://*"/>
<domain uri="https://*" />
http://timheuer.com/blog/archive/2008/10/14/calling-secure-services-with-silverlight-2-ssl-https.aspx
http://channel9.msdn.com/Blogs/mtaulty/Silverlight-Calling-HTTPS-Web-Services
Avinash Tiwari
Remember to click “Mark as Answer” on the post, if it helps you.
None
0 Points
15 Posts
Re: ASMX web-service over HTTP and HTTPS
May 11, 2011 05:44 PM|Fortinbra|LINK
I can call the service directly in my browser, but it won't give me any results, just placeholders, saying it has to be run locally. Which is the same thing I get when running it in browser over HTTP. I do have in my client access file the rules for allowing https and http, but still nothing.
Star
12801 Points
1763 Posts
Re: ASMX web-service over HTTP and HTTPS
May 15, 2011 10:45 PM|Peter pi - MSFT|LINK
Hi,
You can try calling your ASMX web-service through console application. See whether it wokrs?
Best regards,
Peter
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework
None
0 Points
1 Post
Re: ASMX web-service over HTTP and HTTPS
May 19, 2020 12:25 PM|hdsimariya|LINK
Same problem.... Please give solution if you found already.