} catch(IOException ioe) {
throw new WebServiceException(ioe);
}
InputStream in = mpp.getRootPart().asInputStream();
assert in != null;
delegate = new PayloadSourceMessage(headerList, new StreamSource(in), new MimeAttachmentSet(mpp), SOAPVersion.SOAP_11);
}
return delegate;
}