Unfortunately, does not work.

CXF version : *2.5.1*

spring conf relating properties :

                *<jaxws:properties>
                        <entry key="schema-validation-enabled" value="false" />
                        <entry key="attachment-max-size" value="1000" />
                        <entry key="mtom-enabled" value="true" />
                </jaxws:properties>*

http raw request (SOAP UI):

*POST http://................ HTTP/1.1
Accept-Encoding: gzip,deflate
SOAPAction: "............."
Content-Type: multipart/related; type="application/xop+xml";
start="<[email protected]>"; start-info="text/xml";
boundary="----=_Part_98_4789609.1330516166058"
MIME-Version: 1.0
User-Agent: Jakarta Commons-HttpClient/3.1
Host: localhost:8050
Content-Length: 25830182


------=_Part_98_4789609.1330516166058
Content-Type: application/xop+xml; charset=UTF-8; type="text/xml"
Content-Transfer-Encoding: 8bit
Content-ID: <[email protected]>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/";>
   <soapenv:Header/>
   <soapenv:Body>
.
.
.
.
.
   </soapenv:Body>
</soapenv:Envelope>
------=_Part_98_4789609.1330516166058
Content-Type: application/octet-stream
Content-Transfer-Encoding: binary
Content-ID: <xxxxx>

.
.
.
.
.
.
.
.
*


--
View this message in context: 
http://cxf.547215.n5.nabble.com/Is-it-possible-to-prevent-the-whole-content-to-be-uploaded-if-content-length-is-too-large-tp5522251p5524765.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to