Call call = new Call("http://localhost:8080/jws/GlobalTypeTest.jws");
QName qname = new QName("http://globalTypeTest", "GlobalType");
call.registerTypeMapping(GlobalBean.class, qname,
new BeanSerializerFactory(GlobalBean.class, qname),
new BeanDeserializerFactory(GlobalBean.class, qname));
GlobalBean bean = new GlobalBean();
bean.setIntValue(4);
GlobalBean ret = (GlobalBean)call.invoke("echo", new Object [] { bean });
assertEquals(4, ret.getIntValue());