How To Handle 302 Response

Hi,
I am trying to connect microsoft system through http client.I am getting 302 response.How to handle the redirect mechanism from webmethods side?