final RequestBuilder builder = createRequestBuilder();
return builder.toBytes();
}
private RequestBuilder createRequestBuilder() {
final RequestBuilder builder = new ByteArrayRequestBuilder();
builder.append(OutgoingMessageId.FINANCIAL_ADVISOR_REPLACE_CONFIGURATION_REQUEST.getId());
builder.append(VERSION);
builder.append(dataType.getValue());
builder.append(xml);
return builder;
}