DDF-591: Updated to fix bug with resource reader.
Also updated remotewcs to use new trustedremotesource.