Consume a web service with form authentication from a jsp - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Consume a web service with form authentication from a jsp

gabiggabig Posts: 2Member
Hi to everybody,

I am trying to consume a web service from a web application that requires form authentication. It seems that if I create a client, I have tried with jersey or ApacheHttpClient, it somehow creates a new instance of the browser session. After that the web app send me again the login page . This seems weird to me. Is it possible to pass the session data to the client or get the current session? The only solution that I have now is making the calls trough Ajax which leads to build most of the web applicacion again!
Sign In or Register to comment.