today a colleague mentioned the following generic issue:
I reproduced the error and the complete message looks like this:I ran into an issue with a customer where the 1.20 version of xMap can no longer handle big WKB string. You will get a error that the "Maximum attribute size limit (65536) exceeded".
Code: Select all
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<soap:Fault>
<faultcode>soap:Client</faultcode>
<faultstring>Unmarshalling Error: Maximum attribute size limit (65536) exceeded </faultstring>
</soap:Fault>
</soap:Body>
</soap:Envelope>
The workaround for this is quite simple:
Add the following key into the /conf/wrapper.conf and restart the service:
- wrapper.java.additional.21=-Dorg.apache.cxf.stax.maxAttributeSize=99999999
Thanks to Joost Claessen for the hint,
Best regards Bernd