Hi Sankar,
I too happen to get the same error when I try to do a test connection. But calling it via the URL iview works fine (ensure the portal is added as a trusted system in the target http system). I didn't get time to investigate the connection factory value: null error.
Regards
Reshma