Note that there are some explanatory texts on larger screens.

plurals
  1. POAmazon Elastic Cloud and Silverlight Deployment
    text
    copied!<p>We are experimenting with hosting a silverlight application on Amazons EC2.</p> <p>I can get it to serve up the .xap file, but I'm having some trouble with using the webservices that the silverlight application requires.</p> <p>Usually I would add a service reference in visual studio and enter the URL for the webservice, something like <a href="http://url.com/ServiceName.svc" rel="nofollow noreferrer">http://url.com/ServiceName.svc</a> and a proxy would be generated for me.</p> <p>However with the Amazon Elastic Cloud instance entering the url</p> <p><a href="http://ec2-174-129-139-48.compute-1.amazonaws.com/AuthService.svc" rel="nofollow noreferrer">http://ec2-174-129-139-48.compute-1.amazonaws.com/AuthService.svc</a></p> <p>Gives the error "is not recognised as a known document type"</p> <p>And if I enter</p> <p><a href="http://ec2-174-129-139-48.compute-1.amazonaws.com/AuthService.svc?wsdl" rel="nofollow noreferrer">http://ec2-174-129-139-48.compute-1.amazonaws.com/AuthService.svc?wsdl</a> </p> <p>Into the internet explorer address bar I get a wsdl description - but it has this part in the config which seems a bit odd</p> <pre><code>&lt;wsdl:types&gt; &lt;xsd:schema targetNamespace="http://asp.net/ApplicationServices/v200/Imports"&gt; &lt;xsd:import schemaLocation="http://ip-0af8db15/AuthService.svc?xsd=xsd0" namespace="http://asp.net/ApplicationServices/v200" /&gt; &lt;xsd:import schemaLocation="http://ip-0af8db15/AuthService.svc?xsd=xsd1" namespace="http://schemas.microsoft.com/2003/10/Serialization/" /&gt; &lt;/xsd:schema&gt; &lt;/wsdl:types&gt; </code></pre> <p>The schemaLocation <a href="http://ip-0af8db15/AuthService.svc" rel="nofollow noreferrer">http://ip-0af8db15/AuthService.svc</a>? doesn't look like the right address to me?</p> <p>Anyone know if I need to configure something or change something to access WCF webservices on Amazon EC2?</p> <p>Edit: Should note : Windows Server 2003, IIS 6.0</p> <p>Edit: Looks like ip-0af8db15 is the machine name</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload