XmlCatalogResolver resolver=new XmlCatalogResolver(new ResourceLoader()); options=new XmlOptions(); options.setEntityResolver(resolver);
    protected void setUp() throws Exception {        super.setUp();        portal = new PortalEndpoint();        XmlCatalogResolver resolver=new XmlCatalogResolver(new ResourceLoader());        options=new XmlOptions();        options.setEntityResolver(resolver);    }