Menu

Searching County Records - How to get started?

Help
Robert
2014-11-23
2014-11-25
  • Robert

    Robert - 2014-11-23

    I am a newbie and can't seem to get search results on my county website. Below is the configuration file. I have used the examples in the manual but always get the http://eagleweb.montrosecounty.net/eagleassessor/taxweb/results.jsp which says "Sorry, I was unable to complete your request". The url and AccountNumId are valid. What am I doing wrong?

    Could it be related to a session variable? When I access this website manually, first it asks for a login, I choose the guest login. I believe that this process sets a session variable and then the site allows a search.

    <config>
    <var-def name="montrose_tax">
    <html-to-xml>
    <http url="http://eagleweb.montrosecounty.net/eagleassessor/taxweb/search.jsp" method="post" multipart="true">
    <http-param name="AccountNumID">R0005101</http-param>
    </http>
    </html-to-xml>
    </var-def>
    </config>

     
  • Robert

    Robert - 2014-11-24

    I tried opening up web pages that I would encounter on a browser with the same result. Here is the modified configuration.

    <config>
    <var-def name="montrose_tax">
    <http url="http://eagleweb.montrosecounty.net/eagleassessor/web/splash.jsp" method="get" multipart="true">
    <http-param name="submit">Enter EagleWeb</http-param>
    <http-header name="User-Agent">
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.1) Gecko/20060111 Firefox/1.5.0.1
    </http-header>
    </http>
    <http url="http://eagleweb.montrosecounty.net/eagleassessor/web/login.jsp?submit=Enter+EagleWeb" method="get" multipart="true">
    <http-param name="submit">Login</http-param>
    </http>
    <html-to-xml>
    <http url="http://eagleweb.montrosecounty.net/eagleassessor/taxweb/search.jsp" method="post" multipart="true">
    <http-param name="AccountNumID">R0005101</http-param>
    </http>
    </html-to-xml>
    </var-def>
    </config>

     
  • Robert

    Robert - 2014-11-25

    I think that I am getting a little closer. I see a session variable that is set but it dosen't look exactly the same as the session variable set in the browser. The important things are there but not everything. Don't know if it is right or not.

    I do know that the website still returns a message that the browser dosen't support javascript or cookies. I have looked through this forum but can't figure it out. I'm sure that it would not take too long for someone that has been through this before. Could make a good example.

    I would be into paying someone or donating to the cause to figure it out. Thanks.

    <config>
    <var-def name="__utma"></var-def>
    <var-def name="__utmb"></var-def>
    <var-def name="__utmc"></var-def>
    <var-def name="__utmz"></var-def>
    <var-def name="__utmt"></var-def>

    <var-def name="initPage">
    <html-to-xml outputtype="pretty" omitunknowntags="true">
    <http url="http://eagleweb.montrosecounty.net/eagleassessor/web/splash.jsp" method="get" cookie-policy="browser">
    <http-header name="User-Agent"> Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)</http-header>
    <http-header name="Set-Cookie"></http-header>
    <http-header name="Set-Cookie"></http-header>
    <http-header name="Set-Cookie"></http-header>
    <http-header name="Set-Cookie"></http-header>
    <http-header name="Set-Cookie"></http-header>
    </http>
    </html-to-xml>
    </var-def>
    <var-def name="JSESSIONID"><template>${http.getHeaders("Set-Cookie")[0]}</template></var-def>

    <var-def name="isLoggedInAsPublic"></var-def>
    <var-def name="enterEgleWebPage">
    <html-to-xml outputtype="pretty" omitunknowntags="true">
    <http url="http://eagleweb.montrosecounty.net/eagleassessor/taxweb/search.jsp" method="post" cookie-policy="browser">
    <http-header name="User-Agent"> Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) </http-header>
    <http-header name="Referer">http://eagleweb.montrosecounty.net/eagleassessor/web/splash.jsp</http-header>
    <http-header name="Set-Cookie"></http-header>
    <http-header name="Set-Cookie"></http-header>
    </http>
    </html-to-xml>
    </var-def>

    <var-def name="searchPage">
    <html-to-xml outputtype="pretty" omitunknowntags="true">
    <http url="http://eagleweb.montrosecounty.net/eagleassessor/web/login.jsp?submit=Enter+EagleWeb" method="post" cookie-policy="browser">
    <http-header name="User-Agent"> Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; InfoPath.2; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729) </http-header>
    <http-header name="Referer">http://eagleweb.montrosecounty.net/eagleassessor/web/splash.jsp</http-header>
    <http-param name="AccountNoId">R0005101</http-param>
    </http>
    </html-to-xml>
    </var-def>

    </config>

     

Log in to post a comment.