Service service = new Service();
Call call = (Call)service.createCall();
call.registerTypeMapping(ComplexBean3.class,
new QName("foo2", "bar2"),
BeanSerializerFactory.class,
BeanDeserializerFactory.class,
false);
TypeDesc desc= TypeDesc.getTypeDescForClass(ComplexBean3.class);
assertEquals(4, desc.getFields().length);