I was required to integrate MasterCard Internet Gateway Service (MIGS) which is a 3D secure solution with OFBiz,
MIGS provides server hosted services, but this was a problem in OFBiz as OFBiz requires services to be made which in turn hits the payment gateway, but this was not possible using server hosted services.
Finally after looking closely at how MIGS work, following the HTTP headers, cookies etc etc .. I was able to communicate with MIGS & the Bank server using HttpConnection and it was done :)
So finally we made the MIGS solution work the way it didn't wanted to.