{
// This should catch all cases due to the constraints that JAX-WS puts on the fault bean
// However, if issues arrise then switch this to a full jaxb reflection library
XmlAccessorType type = (XmlAccessorType)faultBean.getAnnotation(XmlAccessorType.class);
if (type != null && type.value() == XmlAccessType.FIELD)
return new ReflectiveFieldAccessorFactoryCreator().create(this);
return new ReflectiveMethodAccessorFactoryCreator().create(this);
}