My thoughts on Web Services and .NET development
Since the Gotdot.net site disappeared along with the code of this implementation, my friend Jason Hogg has kindly published the code on his blog.
Thanks Jason!!!
No problems! And feel free to ask Pablo any questions at all about the solution! :-)
Seriously though, I know you made some enhancements (token caching etc) - any chance of you providing an overview since we probably lost that thread with GDN's demise (etc)...
Pablo... I can't run the sample, I keep getting the following error when debugging. Is it a rights issue or something? I followed the installation instructions multiple times on 2 different computers and keep getting the same error.
txtResponse.Text "Microsoft.Web.Services3.AsynchronousOperationException: WSE101: An asynchronous operation raised an exception. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.\r\n\r\nServer stack trace: \r\n at System.Net.HttpWebRequest.GetResponse()\r\n at Microsoft.Web.Services3.Messaging.SoapHttpTransport.Send(SoapEnvelope message, EndpointReference destination, SoapHttpChannelOptions options)\r\n at Microsoft.Web.Services3.Messaging.SoapHttpOutputChannel.Send(SoapEnvelope message)\r\n at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)\r\n at System.Runtime.Remoting.Messaging.StackBuilderSink.PrivateProcessMessage(RuntimeMethodHandle md, Object[] args, Object server, Int32 methodPtr, Boolean fExecuteInContext, Object[]& outArgs)\r\n at System.Runtime.Remoting.Messaging.StackBuilderSink.AsyncProcessMessage(IMessage msg, IMessageSink replySink)\r\n\r\nException rethrown at [0]: \r\n at System.Runtime.Remoting.Proxies.RealProxy.EndInvokeHelper(Message reqMsg, Boolean bProxyCase)\r\n at System.Runtime.Remoting.Proxies.RemotingProxy.Invoke(Object NotUsed, MessageData& msgData)\r\n at Microsoft.Web.Services3.Messaging.SoapOutputChannel.SendDelegate.EndInvoke(IAsyncResult result)\r\n at Microsoft.Web.Services3.Messaging.SoapOutputChannel.EndSend(IAsyncResult result)\r\n at Microsoft.Web.Services3.Messaging.SoapSender.EndSend(IAsyncResult result)\r\n at Microsoft.Web.Services3.Messaging.SoapClient.SoapClientAsyncResult.OnSendComplete(IAsyncResult result)\r\n --- End of inner exception stack trace ---\r\n at Microsoft.Web.Services3.AsyncResult.End(IAsyncResult result)\r\n at Microsoft.Web.Services3.Messaging.SoapClient.SendRequestResponse(String methodname, SoapEnvelope envelope)\r\n at Microsoft.Web.Services3.Security.SecurityTokenServiceClient.RequestSecurityToken(SecurityTokenMessage request, String methodName)\r\n at Microsoft.Practices.WSSP.WSE3.QuickStart.SamlAssertion.SamlTokenServiceClient.RequestSamlToken(AppliesTo appliesTo, Entropy entropy) in C:\\Projects\\ZDW Next Gen POC\\SAML_STS_for_WSE3_Jan06\\WseSaml\\SamlTokenServiceClient.cs:line 115\r\n at Microsoft.Practices.WSSP.WSE3.QuickStart.SamlAssertion.SamlTokenServiceClient.IssueSamlToken(AppliesTo appliesTo, Entropy entropy) in C:\\Projects\\ZDW Next Gen POC\\SAML_STS_for_WSE3_Jan06\\WseSaml\\SamlTokenServiceClient.cs:line 100\r\n at Microsoft.Practices.WSSP.WSE3.QuickStart.SamlAssertion.ExplicitClient.MainForm.GetSamlToken() in C:\\Projects\\ZDW Next Gen POC\\SAML_STS_for_WSE3_Jan06\\ExplicitClient\\MainForm.cs:line 76\r\n at Microsoft.Practices.WSSP.WSE3.QuickStart.SamlAssertion.ExplicitClient.MainForm.btnConsume_Click(Object sender, EventArgs e) in C:\\Projects\\ZDW Next Gen POC\\SAML_STS_for_WSE3_Jan06\\ExplicitClient\\MainForm.cs:line 38" string