WsdlMockOperation mockOperation = mockService.getMockOperation(me.getOperation());
if (mockOperation == null) {
mockOperation = (WsdlMockOperation) mockService.addNewMockOperation(me.getOperation());
}
WsdlMockResponse mockResponse = mockOperation
.addNewMockResponse("Monitor Response " + (++cnt), false);
mockResponse.setResponseContent(me.getResponseContent());
Attachment[] requestAttachments = me.getResponseAttachments();
if (requestAttachments != null) {