this.binding = binding;
}
private Message getMessage() {
if (delegate == null) {
MimeMultipartParser mpp;
try {
mpp = new MimeMultipartParser(dataSource.getInputStream(),
dataSource.getContentType(), feature);
} 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;
}