Azure HPC Scheduler: Running an SOA client outside of Azure
-
16 Kasım 2011 Çarşamba 17:19
This question is in regards to the recently released Windows Azure HPC Scheduler.
I've been able to deploy a simple SOA service within Azure using the AzureSampleService project. The included sample code (SOAHelloWorldAzureClient) is made to run from the head node. How would modify this code to run from outside of Azure? I've tried to use "mynamespace.cloudapp.net" as the head node when calling Session.CreateSession but I get the error "Fail to get the cluster name". I've specified the correct username and password. I've also tried setting the TransportScheme to TransportScheme.WebAPI.
My understanding is that CreateSession makes a call to a WebAPI exposed by the Azure Scheduler. Is it possible that this WebAPI isn't mounted by the AzureSampleService project by default?
Tüm Yanıtlar
-
17 Kasım 2011 Perşembe 07:49you need to import the cert (you used when deploying the cluster) to your client, otherwise the server won't be translated.
-
17 Kasım 2011 Perşembe 17:51I confirmed that the certificate is installed on the machine. Is there something I need to do in the code to get Session.CreateSession to use the certificate?
-
18 Kasım 2011 Cuma 22:21
I've resolved this issue. Looking at the samples I needed to set the ServicePointManager.ServerCertificateValidationCallback property. Thanks for your help.- Yanıt Olarak Öneren Jeremy Espenshade 22 Kasım 2011 Salı 22:31
-
24 Kasım 2011 Perşembe 03:22Besides the way of setting ServicePointManager.ServerCertificateValidationCallback, you can also import the cert (.pfx) into Trusted People store.