WebServicesTagNames.MESSAGE, messageDesc);
}
}
// request-protection
ProtectionDescriptor requestProtectionDesc =
messageSecurityDesc.getRequestProtectionDescriptor();
if (requestProtectionDesc != null) {
ProtectionNode requestProtectionNode = new ProtectionNode();
requestProtectionNode.writeDescriptor(messageSecurityNode,
WebServicesTagNames.REQUEST_PROTECTION, requestProtectionDesc);
}
// response-protection
ProtectionDescriptor responseProtectionDesc =
messageSecurityDesc.getResponseProtectionDescriptor();
if (responseProtectionDesc != null) {
ProtectionNode responseProtectionNode = new ProtectionNode();
responseProtectionNode.writeDescriptor(messageSecurityNode,
WebServicesTagNames.RESPONSE_PROTECTION,