Is there a way to obtain the server binding parameters configuration from the client?So, here I am in Silverlight, I am creating my binding and I want to set my MaxReceivedMessageSize to the max set supported by the server.<br/><br/>How do I create a query to get the server to send me that information?<br/><br/>As a last resort, I'll create a dummy service that only reads the current WCF configuration and passes the parameter information, but I really don't want to do that.<br/><br/>There must be a better way.<br/><br/>What do you think?<br/><br/>TIA,<br/>-Baron© 2009 Microsoft Corporation. All rights reserved.Tue, 07 Jul 2009 00:39:45 Z5af97df8-180a-4fde-a8f0-3d6e0dfb425bhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/5af97df8-180a-4fde-a8f0-3d6e0dfb425b#5af97df8-180a-4fde-a8f0-3d6e0dfb425bhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/5af97df8-180a-4fde-a8f0-3d6e0dfb425b#5af97df8-180a-4fde-a8f0-3d6e0dfb425bBaronFreemanhttp://social.msdn.microsoft.com/Profile/en-US/?user=BaronFreemanIs there a way to obtain the server binding parameters configuration from the client?So, here I am in Silverlight, I am creating my binding and I want to set my MaxReceivedMessageSize to the max set supported by the server.<br/><br/>How do I create a query to get the server to send me that information?<br/><br/>As a last resort, I'll create a dummy service that only reads the current WCF configuration and passes the parameter information, but I really don't want to do that.<br/><br/>There must be a better way.<br/><br/>What do you think?<br/><br/>TIA,<br/>-BaronThu, 02 Jul 2009 21:29:26 Z2009-07-02T21:29:26Zhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/5af97df8-180a-4fde-a8f0-3d6e0dfb425b#3ad81e30-6705-46d7-8d17-1a5babeee202http://social.msdn.microsoft.com/Forums/en-US/wcf/thread/5af97df8-180a-4fde-a8f0-3d6e0dfb425b#3ad81e30-6705-46d7-8d17-1a5babeee202Lars Wilhelmsenhttp://social.msdn.microsoft.com/Profile/en-US/?user=Lars%20WilhelmsenIs there a way to obtain the server binding parameters configuration from the client?Hi,<br/> <br/>  Since Silverlight only supports WS-I Basic Profile 1.0 (plain SOAP 1.1 over HTTP w/o any support for WS-* standards) WS-Policy information is not<br/>  embedded in the WSDL generated for the service. Because of this, you are not able to pull information about the server-side binding configuration.<br/> <br/>  So, if you want to be able to dynamically adjust the configuration parameters, you would have to do it out-of-band (a separate configuration metadata service might be a feasible solution).<br/> <br/>  --larsw<hr class="sig">Lars Wilhelmsen | Senior Consultant | <a href="http://www.miles.no/">Miles</a>, Norway | <a href="https://mvp.support.microsoft.com/profile/Lars">Connected Systems MVP</a> | <a href="http://larswilhelmsen.com/">http://larswilhelmsen.com/</a>Fri, 03 Jul 2009 20:48:18 Z2009-07-03T20:48:18Zhttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/5af97df8-180a-4fde-a8f0-3d6e0dfb425b#47848d0f-26ff-491e-8952-c8063b4b268chttp://social.msdn.microsoft.com/Forums/en-US/wcf/thread/5af97df8-180a-4fde-a8f0-3d6e0dfb425b#47848d0f-26ff-491e-8952-c8063b4b268cBaronFreemanhttp://social.msdn.microsoft.com/Profile/en-US/?user=BaronFreemanIs there a way to obtain the server binding parameters configuration from the client?Hey Lars, <br/><br/>Thanks a bunch. I thought that might be the case, but I wanted to be sure.<br/><br/>-BaronTue, 07 Jul 2009 00:39:45 Z2009-07-07T00:39:45Z