Hi, See the constants at the top if this class: http://svn.apache.org/repos/asf/cxf/trunk/api/src/main/java/org/apache/cxf/staxutils/StaxUtils.java
Cheers, Sergey On 19/07/13 05:16, baolang00 wrote:
Hi, I called a c# webservice, it could be return a response like this "<soap:Body><SetPDFResponse xmlns="http://edi.ucsus.com/WebService/Shipment1.1"><SetPDFResult><UCS xmlns="http://edi.ucsus.com/"><ReturnValue Description="pass" Code="100" Value="JVBERi0xLj......". The Value's length is 2800000. but in the eclipse,I got a exception: org.apache.cxf.interceptor.Fault: Unmarshalling Error: Maximum attribute size (65536) exceeded at [row,col {unknown-source}]: [1,118384] at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:808) at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:629) at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:157) at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:103) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271) at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:800) at ...... How can I set the Maximum attribute size? -- View this message in context: http://cxf.547215.n5.nabble.com/Unmarshalling-Issue-tp5731140.html Sent from the cxf-user mailing list archive at Nabble.com.
-- Sergey Beryozkin Talend Community Coders http://coders.talend.com/ Blog: http://sberyozkin.blogspot.com
