throw new XFireRuntimeException("Could not find echo method on Echo class", e);
}
ServiceInfo serviceInfo = new ServiceInfo(new QName("http://test.xfire.codehaus.org", "EchoPortType"),
echoClass);
OperationInfo operation = serviceInfo.addOperation("echo", echoMethod);
MessageInfo inputMessage = operation.createMessage(new QName("echoRequest"));
operation.setInputMessage(inputMessage);
MessageInfo outputMessage = operation.createMessage(new QName("echoResponse"));
operation.setOutputMessage(outputMessage);
inputMessage.addMessagePart(new QName("echoRequestin0"), String.class);
outputMessage.addMessagePart(new QName("echoResponseout"), String.class);