return new JAXBDataImpl(se, context.getNamespaceContext(), false);
}
} else if (body instanceof SOAPBody) {
SOAPBody soapBody = (SOAPBody) body;
if (uri.equals(soapBody.getId())) {
return new SSBData(soapBody, false, context.getNamespaceContext());
//write to streamwriter data and return
} else if (uri.equals(soapBody.getBodyContentId())) {
return new SSBData(soapBody, true, context.getNamespaceContext());
}
}
} catch (XWSSecurityException ex) {
logger.log(Level.SEVERE, LogStringsMessages.WSS_1704_ERROR_RESOLVING_ID(uri), ex);
throw new XWSSecurityException(ex);