Note: Forums will be making significant UX changes to address key usability improvements surrounding search, discoverability and navigation. To learn more about these changes please visit the announcement which can be found HERE.
Azure HPC Scheduler: Running an SOA client outside of Azure

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

  • miércoles, 16 de noviembre de 2011 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?

     

Todas las respuestas

  • jueves, 17 de noviembre de 2011 7:49
     
     
    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 17:51
     
     
    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?
  • viernes, 18 de noviembre de 2011 22:21
     
     Respuesta propuesta
    I've resolved this issue. Looking at the samples I needed to set the ServicePointManager.ServerCertificateValidationCallback property. Thanks for your help.
    • Propuesto como respuesta Jeremy Espenshade martes, 22 de noviembre de 2011 22:31
    •  
  • jueves, 24 de noviembre de 2011 3:22
     
     
    Besides the way of setting ServicePointManager.ServerCertificateValidationCallback, you can also import the cert (.pfx) into Trusted People store.