Maximum Size Quota

Hello Team,

We have integrated one WCF application in Identity manager. Few of the methods are working fine. for getalluser method which list the all users, we are facing issue in debugger, 

"The maximum message size qouta for incoming messges (65536) has been exceeded. To increse the qouta, use the MaxReceivedMessageSize property on the appropriate binding element."

Can anyone please help me out here how can i increase the size of the incoming messages?

we are using identity manager 8.1.2

Thanks,

Prasad

Parents Reply
  • Former Member
    0 Former Member over 1 year ago in reply to prasad

    If the setting on your custom script didnt work and you need to override the VID_GetWcfWebService  script, just copy it but keep the function names. That wont interfere at all in your code. But all in all, make some testing in your development servers first Slight smile

    Protected Overridable Function GetWcfBinding(ByVal vpWebService As IValueProvider) As System.ServiceModel.Channels.Binding

    ' create the configuration objects
    Dim myBinding As BasicHttpBinding = New BasicHttpBinding()

    >>>> ADD: myBinding.MaxReceivedMessageSize = 1000000;

    Return myBinding
    End Function

    HtH !!

Children
No Data