I'm using Coldfusion 10 to build a SOAP webservice, I am running on IIS 7.5, Coldfusion connects to a standalone Java Tomcat server via the AJP 1.3 connector.
I'm hitting what seems to be a 4-8KB limit on the size of SOAP requests that my server will accept, if it goes over that limit the connection is reset - no error is shown.
But in my CF log I get:
The fault returned when invoking the web service operation is:<br> <pre>org.apache.axis2.AxisFault: Connection reset at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430) at org.apache.axis2.transport.http.HTTPSender.sendViaPost(HTTPSender.java:197) at org.apache.axis2.transport.http.HTTPSender.send(HTTPSender.java:75) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.writeMessageWithCommons(CommonsHTTPTransportSender.java:402) at org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(CommonsHTTPTransportSender.java:231) at org.apache.axis2.engine.AxisEngine.send(AxisEngine.java:443) at org.apache.axis2.description.OutInAxisOperationClient.send(OutInAxisOperation.java:406) at org.apache.axis2.description.OutInAxisOperationClient.executeImpl(OutInAxisOperation.java:229) at org.apache.axis2.client.OperationClient.execute(OperationClient.java:165) at reverserisk_ncm.Reverserisk_ncmStub.dumpHeader(Reverserisk_ncmStub... The specific sequence of files included or processed is: C:\rr1.5\Clarence\webservice\test_ncm.cfm, line: 36
I've tried a few things, first I ensured it was a size limit, adding a sleep for 30s yielded the same results so then I tried:
- Coldfusion Max POST size data set to a high value
- IIS server configuration - system.web/httpRuntime.maxRequestLength -> maxInt and security.requestFilter.maxAllowedContentLength
- Apache Tomcat: conf/server.xml - AJP 1.3 Connector maxPostSize/maxSavePostSize value -> 2MB
- Changing the Axis2.xml from HTTP/1.1 to HTTP/1.0 to force disabling of transfer-encoding "chunked" - I read this may be a security feature against DDOS attacks
If anyone has run into a similar issue that'd be great, I know this may be a ServerFault question too - but hopefully someone doing SOAP on CF has seen something similar, thanks!