assertEquals(new QName("urn:Echo", "Echo"), name);
Collection operations = service.getServiceInfo().getOperations();
assertEquals(1, operations.size());
OperationInfo opInfo = (OperationInfo) operations.iterator().next();
assertEquals("echo", opInfo.getName());
// Check the input message
MessageInfo message = opInfo.getInputMessage();
assertNotNull(message);
Collection parts = message.getMessageParts();
assertEquals(1, parts.size());
MessagePartInfo part = (MessagePartInfo) parts.iterator().next();
assertEquals(new QName("urn:Echo", "echoRequest"), part.getName());
// Check the output message
message = opInfo.getOutputMessage();
assertNotNull(message);
parts = message.getMessageParts();
assertEquals(1, parts.size());