private void verifyService() {
Service service = rme.getService();
ServiceInfo si = service.getServiceInfos().get(0);
assertNotNull("service info is null", si);
InterfaceInfo intf = si.getInterface();
assertEquals(7, intf.getOperations().size());
String ns = si.getName().getNamespaceURI();
ns = RMConstants.getNamespace();
OperationInfo oi = intf.getOperation(new QName(ns, "CreateSequence"));
assertNotNull("No operation info.", oi);
assertTrue("Operation is oneway.", !oi.isOneWay());
assertTrue("Operation is unwrapped.", !oi.isUnwrapped());
assertTrue("Operation is unwrappedCapable.", !oi.isUnwrappedCapable());
assertNull("Unexpected unwrapped operation.", oi.getUnwrappedOperation());
oi = intf.getOperation(new QName(ns, "TerminateSequence"));
assertNotNull("No operation info.", oi);
assertTrue("Operation is toway.", oi.isOneWay());
oi = intf.getOperation(new QName(ns, "SequenceAcknowledgement"));
assertNotNull("No operation info.", oi);
assertTrue("Operation is toway.", oi.isOneWay());
oi = intf.getOperation(new QName(ns, "LastMessage"));
assertNotNull("No operation info.", oi);
assertTrue("Operation is toway.", oi.isOneWay());
oi = intf.getOperation(new QName(ns, "AckRequested"));
assertNotNull("No operation info.", oi);
assertTrue("Operation is toway.", oi.isOneWay());
oi = intf.getOperation(new QName(ns, "CreateSequenceOneway"));
assertNotNull("No operation info.", oi);
assertTrue("Operation is toway.", oi.isOneWay());
oi = intf.getOperation(new QName(ns, "CreateSequenceResponseOneway"));
assertNotNull("No operation info.", oi);
assertTrue("Operation is toway.", oi.isOneWay());
}