Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
445
Silverlight --> WCF
posted

I have ServiceReferences.ClientConfig file as below

<configuration>
    <system.serviceModel>
        <bindings>
            <basicHttpBinding>
                <binding name="BasicHttpBinding_ITCMDataService" maxBufferSize="2147483647"
                    maxReceivedMessageSize="2147483647">
                    <security mode="None" />
                </binding>
            </basicHttpBinding>
        </bindings>     
        <client>
            <endpoint address="http://localhost:8185/TCMDataService.svc"
                binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ITCMDataService"
                contract="WcfServiceReference.ITCMDataService" name="BasicHttpBinding_ITCMDataService" />
        </client>
    </system.serviceModel>
</configuration>

I am calling wcf method from silverlight

I am passing no. of parameters from silverlight to wcf method having list containing class object which has around 25 properties.I have added 6 item in that list but getting the error at the endinvoke of that method.

If I pass upto 5 items it works well.So I guess this is proplem of memory means wcf is not able to receive max data size.

Can anyone help is it the same issue I assume or may be different.

And if yes what I need to do ?

Thanks in Advance...

-Pankaj

Parents Reply Children