I have axis2 web service which receives xml. client and web service are located on the same machine.
When I publish large xml(near 1Mb) I receive StackOverflowError. I enabled debug of axis on jboss and see that my error happens every time after this:
Checking pre-condition for Phase "Security"
Invoking phase "Security"
Invoking Handler 'Apache Rampart inflow handler' in Phase 'Security'
I tried to search for axis 2 phases but didn't manage to figure out what to do with problem.
for server is arranged 4 Gb of Ram. I sent XML as part of SOAP body. But now I'm investigate how to archive it and send as attachment.
But on client I can't get MessageContext. I generate axis2 client stub by ant.