Hello, I'm a n00b at a lot of Web technologies and have created a domain in Winhost to come up to speed in those areas. BTW, I'm impressed with the quality of tools at Winhost! What I'm trying to do in my current experiment is implement an Enigma encryption simulation that's pretty snappy, probably by having Javascript pass a load of setting info + the input character to a Webservice written in C#, receiving back the output character and new rotor settings. I just spent an hour+ trying to get a Javascript client-side script on my home machine to call a Webservice using SOAP, & discovered that Javascript can't call that Winhost web service because it's on another domain (when I run the browser here at home). I was thinking that it's probably possible to have the Javascript call a PHP file on the web server, which could then call the web service an return its results. Wondering if: 1. There are gotchas that would make that impossible 2. That's inserting so many layers that response time would be ridiculous 3. This whole approach is profoundly goofy in various ways The main reason I'm going with C# in a Web service is that then I can have common object libraries for the encryption for both the web and built into desktop winforms. Comments? Thanks, Don
OK I'm a little confused. From what you said, it sounds like you want to make a web service call from your local machine to our server than have it call another web service on a different computer. Is that correct? Can you clarify what you are trying to do. You seem to be using javascript, C sharp, and PHP, I'm not sure if that is wise and maybe you may want to stay with one language for standardization.
Not exactly. The main goal is getting UI info from web browser's Javascript to business objects running on the server and returning result, either synchronously or asynchronously, with whatever is necessary in between. Was trying to make it a direct connection from local browser to server side web service but apparently that's blocked by security until Silverlight? Having the web services be C# is a goal because I'm experimenting with code in desktop form as well, using C#. I guess if this one project was the entire goal, the design could be a lot simpler... This was my early crude version using ASP.NET: http://crypto.donbcivil.net/crypto/Enigma.aspx