public void testInvokeDifferentBinding() throws Exception
{
Element root = new Element("root", "a", "urn:a");
root.addContent("hello");
Service serviceModel = new ObjectServiceFactory(new MessageBindingProvider()).create(Echo.class);
XFireProxyFactory factory = new XFireProxyFactory(getXFire());
Echo echo = (Echo) factory.create(serviceModel, "xfire.local://Echo");
Element e = echo.echo(root);
assertEquals(root.getName(), e.getName());