// Check the input message
MessageInfo message = opInfo.getInputMessage();
List parts = message.getMessageParts();
assertEquals(1, parts.size());
MessagePartInfo part = (MessagePartInfo) parts.iterator().next();
assertEquals(new QName("urn:Echo", "echo2"), part.getName());
// Check the output message
message = opInfo.getOutputMessage();
assertNotNull(message);
parts = message.getMessageParts();
assertEquals(1, parts.size());
part = (MessagePartInfo) parts.iterator().next();
assertEquals(new QName("urn:Echo", "echo2Response"), part.getName());
// Is the SOAP binding stuff around?
AbstractSoapBinding binding = (AbstractSoapBinding) service.getBinding(new QName("urn:Echo", "EchoHttpBinding"));
assertNotNull(binding);
assertEquals("literal", binding.getUse());