Icon
Join thousands of Atlassian users for an unforgettable week of knowledge sharing, product training, networking, and fun. Atlassian Summit is Oct 10 - 13 in San Jose, CA – Register soon before tickets sell out.
Icon
Maintenance Notice: answers.atlassian.com will undergo maintenance on 24 Sep 2016, from 22:00 - 07:00 UTC. During this maintenance window, the service may be intermittently unavailable. See our status page for details.
 
1
0
-1

Hi,

I'm calling SOAP functions from C#. I request a list of users. This was working fine in my early tests, but now that I have 160+ users, I get an exception that:

An unhandled exception of type 'System.ServiceModel.CommunicationException' occurred in mscorlib.dll

Additional information: The maximum message size quota for incoming messages (65536) has been exceeded. To increase the quota, use the MaxReceivedMessageSize property on the appropriate binding element.

From a quick search, it appears that some xml (perhaps the soap interface definition at rpc/soap/jirasoapservice-v2?wsdl) needs to have larger values.
Can anyone point me in the right direction of how to get past this 64Kb limit?
Thanks,
Mark.
    CommentAdd your comment...

    1 answer

    1.  
      3
      2
      1

      In the link you've posted, the XML configuration in question appears to be the WCF binding information. This information should be embedded within the app.config or web.config of your client application.

      Look for the <system.serviceModel> section.

      1. Mark Pope

        Thanks, yes, it was in app.config. I've thrown a few zeroes on the maxBufferSize and maxReceivedMessageSize values, and now it works a treat.

        Thanks!

      CommentAdd your comment...