204205206207208209210211212213214
if( is.markSupported() && request.getContentLength() > 0 ) { try { is.reset(); } catch( IOException e ) { SoapUI.logError( e ); }
149150151152153154155156157158159
ByteArrayOutputStream out = Tools.readAll(is, Tools.READ_ALL); byte[] data = out.toByteArray(); if (is.markSupported() && request.getContentLength() > 0) { try { is.reset(); } catch (IOException e) { SoapUI.logError(e); } }