* @return The created operation.
*/
public static DocOp createDocumentOperation(
final ProtocolDocumentOperation message, boolean checkWellFormed)
throws InvalidInputException {
return createDocumentOperation(new DocOpMessageProvider() {
@Override
public ProtocolDocumentOperation getContent() {
return message;
}
}, checkWellFormed);