I will do that - however the bizarre thing is that its fine when schema validation is disabled. Also the content of the file is streamed out when cxf:logging is enabled. I can see that its saved to a temporary file.
On Tue, Oct 9, 2012 at 9:47 PM, Glen Mazza <[email protected]> wrote: > Link #45 has my MTOM tutorial, in case it's the way you're coding (also > shows how to use Metro if you need a comparison), and link #34 shows how you > can debug a client and/or web service provider using Eclipse: > http://www.jroller.com/gmazza/entry/blog_article_index > > To rule out the problem being the large filesize (as opposed to just some > quirk in the data causing CXF to go haywire), you might want to split that > 4MB into 2 - 2MB transmissions, and if the problem occurs in only one of the > two transmissions, divide the problematic transmission into two (and so on) > until you zero in on what is causing the problem. Offhand, I would guess > it's a filesize matter though. > > HTH, > Glen > > > On 10/09/2012 06:12 AM, Jason Pell wrote: >> >> Hi, >> >> If I upload a file 75k in size with Schema Validation enabled everything >> works. >> If I upload a file 4 MB in size with Schema Validation enabled - I >> don't get any errors but the DataHandler.getInputStream is empty >> If I upload a file 4 MB in size with Schema Validation DISABLED - I >> get my input stream as expected. >> >> I am going to have a look at this myself but any pointers would be >> greatly appreciated >> >> I am running against latest trunk maven deps (2.7.0-SNAPSHOT) > > > > -- > Glen Mazza > Talend Community Coders - coders.talend.com > blog: www.jroller.com/gmazza >
