I need help with getting started on how to leverage this problem. I appreciate some assistance or to point me to some useful directions to solving this dilenma.
I am currently writing an asp.net 2.0/vb.net web site application and some of my data sources are remote. Three of my "Hosts" were good enough to provide me with these SOAP-based Web Services which I can easily create web references with in my project except one, hence the problem.
This host's web solution is using UNIX, Tomcat as Web App Server, with java server pages.
The only thing I was trying to do is: make a request to whatever the page to request, pass in the UID/PWD then arg1 and arg2 to query his application and get a string result back:
Here is the procedure that he gave me **note I have ommitted some information:
(1) You'd make a query with WebRequest for https://
[host uri]/[some folder]/[some folder]/processing.jsp?
(2) The response will be a "302 Moved Temporarily" to a login.jsp page.
This response will set a cookie that you should keep. You don't have to follow this 302, but you can. A normal web browser here would get the login form, but you don't have to, because you can follow the next step directly:
(3) You'll POST to http://
[their host uri]/j_security_check
The POST should have the cookie. You'll post two variables:
j_username -- your bankcars login username j_password -- your bankcars login password
(4) The response to this will be a "302 Moved Temporarily" back to to the processing page you originally requested. Follow this redirect.
(5) The redirect will take you back to the processing page automatically. The response to this will be the HTML page with all of the detailed report on the query.
The parameter "outputformat=simple" returns a basic HTML page. We can develop another response format more appropriate for your needs.
</end of his instructions>
As of current, I cannot or do not have enough to even reference anything with this method. I am afraid I am only familiar with making web refernces with Web Services. Don't even know how to proceed with this one.
Can anyone please help me out with some advise or point me to the right direction to get a start?
Thanks in advance for any help and insights.