Reputation: 487
I am facing Issue When Making A request paragraph hum of a method Determined Web Service ( SOAP ) but This method accepted How hum parameter matrix , in which case this very large and Returns hum error when trying to call this method , the error in this case is : "Request Entity Too Large (413)"
I'm using Delphi XE2 and this follows my code
htprPrinc := THTTPRIO.Create(Self);
htprPrinc.WSDLLocation := Trim(WSDL);
htprPrinc.Service := SERVICE;
htprPrinc.Port := PORT;
SNDApi := (htprPrinc As IServiceAPILayer);
htprPrinc.HTTPWebNode.ConnectTimeout := 10000 * 120;
htprPrinc.HTTPWebNode.SendTimeout := 10000 * 15;
htprPrinc.HTTPWebNode.ReceiveTimeout := 10000 * 120;
htprPrinc.HTTPWebNode.MaxSinglePostSize := 99999999;
Upvotes: 0
Views: 5770
Reputation: 36
A 413 error occurs when the request body is larger than the server is configured to allow. I'm not sure what server you are trying to connect to but here is another stack exchange post the covers some steps to resolve this issue: https://craftcms.stackexchange.com/a/2330
Upvotes: 1