public void testRequestResponseOptimized() throws Exception {
DataHandler dh = new DataHandler("Another plain text attachment", "text/plain");
byte[] bytesIn = IOUtils.convertToBytes(dh);
PingMsgResponse value = getPort().ping(new PingMsg("1|1", bytesIn));
assertNotNull("Return value was null", value);
byte[] bytesOut = value.getXopContent();
assertNotNull("Returned xopContent was null", bytesOut);
assertEquals("Content length doesn't match", bytesIn.length, bytesOut.length);
}