Thursday, March 15, 2012 9:12 PM
The above diagram is what I am trying to achieve.
The scenario is:
- Within a worker role I have a WCF service hosted on an internal endpoint.
- This WCF service communicates with another WCF service hosted on a separate Azure deployment hosted on an external endpoint. This external WCF service is secured using ACS (I followed the sample at the MSDN site http://msdn.microsoft.com/en-us/library/windowsazure/gg185954.aspx)
- As the sample demonstrates I am authenticating using a Username and Password - certificates are local in the project I have not used the Azure Certificate Store.
- Finally I have a Console Application which simply calls the WCF service on the internal endpoint using a net.tcp binding.
- When I call the service I get the following error:
An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail.
ACS10002: An error occurred while processing the SOAP body. ACS50000: There was an error issuing a token. ACS50001: Requested relying party realm
The interesting thing is if I copy the code from the internal WCF service implementation and execute it direct from within the Console Application (i.e. call the external endpoint direct) everything works.
Can anyone help please
Friday, March 16, 2012 12:57 AM
It's sounds configuration related within the worker role for it's endpoint. Can you share the config you used for it?
Developer Security MVP | www.syfuhs.net
- Marked As Answer by Architectural Cat Friday, March 16, 2012 9:18 AM
Friday, March 16, 2012 9:20 AMIts was a daft typo in my config...thanks for making me look there :)