HTTP Bad Request error when requesting a WCF service contract

前端 未结 5 1112
攒了一身酷
攒了一身酷 2020-12-10 04:01

I have a WCF service with the following configuration:


    
        
            

        
5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-10 04:28

    Generally this is a problem with the size of the SOAP envelop. Check your binding configuration in order to change MaxBufferPoolSize, MaxReceivedMessageSize to allow huge contents. Remember, you must change both in client and server sides.

    Another issue is the MessageEnconding (another binding parameter), ensure that client and server side are using the same encoding.

    Finally, check the Reader Quotas Properties parameters.

提交回复
热议问题