Bonjour,

J'ai créé un jar avec Maven Spring et Apache CXF qui consomme un Web Service fait en .net.

Le Web Service est sécurisé avec un certificat et un user/password.

L'appel au serveur se fait correctement lorsque j'envoie de petits messages XML stockés dans un String. Lorsque cet XML est plus gros, j'ai cette erreur.
Caused by: org.apache.cxf.binding.soap.SoapFault: The formatter threw an exception while trying to deserialize the message: Error in deserializing body of request message for operation 'SetDossier'. The maximum string content length quota (8192) has been exceeded while reading XML data. This quota may be increased by changing the MaxStringContentLength property on the XmlDictionaryReaderQuotas object used when creating the XML reader. Line 1, position 11040.
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:75)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:46)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:35)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
J'ai cherché sur le net où configurer la propriété MaxStringContentLength dans les fichiers de configuration de Spring et Apache CXF, sans succès.

A quel endroit peut-on augmenter la valeur de cette propriété ?

Merci d'avance.