public WebServiceDef(Type wsType) { this.WSType = wsType; this.EnsureMethods(wsType); this._TypeResolver = new JsonTypeResolver(this); }