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());
part = (MessagePartInfo) parts.iterator().next();
assertEquals(new QName("urn:Echo", "echoResponse"), part.getName());
// Is the SOAP binding stuff around?
AbstractSoapBinding soapBinding = (AbstractSoapBinding) service.getBindings().iterator().next();
assertNotNull(soapBinding);
assertEquals("literal", soapBinding.getUse());