outMTOMFile = getTestResourceFile(outFileName);
outBase64File = getTestResourceFile(outBase64FileName);
OMOutput mtomOutput = new OMOutput(new FileOutputStream(outMTOMFile),true);
OMOutput baseOutput = new OMOutput(new FileOutputStream(outBase64File),false);
OMNamespaceImpl soap = new OMNamespaceImpl(
"http://schemas.xmlsoap.org/soap/envelope/", "soap");
OMElement envelope = new OMElementImpl("Envelope", soap);
OMElement body = new OMElementImpl("Body", soap);
OMNamespaceImpl dataName = new OMNamespaceImpl(
"http://www.example.org/stuff", "m");
OMElement data = new OMElementImpl("data", dataName);
expectedImage = new JDK13IO().loadImage(new FileInputStream(
getTestResourceFile(imageInFileName)));