none
Azure HPC Scheduler: Running an SOA client outside of Azure

    Pregunta

  • 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?

     

    miércoles, 16 de noviembre de 2011 17:19

Todas las respuestas

  • you need to import the cert (you used when deploying the cluster) to your client, otherwise the server won't be translated.
    jueves, 17 de noviembre de 2011 7:49
  • I 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?
    jueves, 17 de noviembre de 2011 17:51
  • I've resolved this issue. Looking at the samples I needed to set the ServicePointManager.ServerCertificateValidationCallback property. Thanks for your help.
    viernes, 18 de noviembre de 2011 22:21
  • Besides the way of setting ServicePointManager.ServerCertificateValidationCallback, you can also import the cert (.pfx) into Trusted People store.
    jueves, 24 de noviembre de 2011 3:22