
Installing CLEAN_Address web service proxy servlet 
on ColdFusion JRun4 web application server
------------------------------------------------------------------------------------

01. Create a new folder "clnaddr" in your JRun servers directory
    e.g. C:\JRun4\servers\cfusion\clnaddr

02. Extract/Unzip the clnaddr.war file's contents into the clnaddr folder

03. In the clnaddr-war folder you should now have three sub-folders (images, 
    META-INF, WEB-INF) and three files (index.jsp, verifyAddressAction.jsp, and 
    readme.clnaddrJRun4.txt)

04. In the WEB-INF folder, with a text editor, open the clnaddr.propertis file and 
    modify the following entries to fit your environment's configuration:

  	# This is the host where the clnaddrws server is running
  	clnaddrws.serverHost=72.35.74.35
  	# This is the port on the host where the clnaddrws server is running
  
	clnaddrws.serverPort=8097

  	# This is the URL to your web application where the servlet is installed
  
	clnaddr.servlet.url=http://localhost:8300/clnaddr/verifyAddress

05. Stop and re-start your Jrun web application server ( both the admin and cfusion 
    servers)
    
    Note: eneure the 'Context Path" in the "General Settings" section inyour JRun 
          console Management for the clnaddr web application in the coldfusion server 
          says "/clnaddr"/

06. Open a browser session and test by connecting to the application URL,e.g., 

    http://localhost/clnaddr/verifyAddress?address=6530 w rogers circle&city=boca raton&state=FL

	Expected results:

		<address>
		<address1>6530 W Rogers Cir</address1>
		<address2/>
		<address3/>
		<city>Boca Raton</city>
		<state>FL</state>
		<postalcode>33487-2753</postalcode>
		<county>Palm Beach</county>
		<countrycode>US</countrycode>
		<statuscode>V</statuscode>
		<dpverrorcode>N1</dpverrorcode>
		<errorstring>Suite/Apt Missing</errorstring>
		<suggestionlist> 6530 W Rogers Cir <br/> 6530 W Rogers Cir Ste [28-33]</suggestionlist>
		</address>

        Or alternatively using the sample test application at:
           "http://localhost/clnaddr/verifyAddress/index.jsp"

07. Using the addressForm.jsp page and clnaddrProxy.jsp as an example, modify your custom html,jsp, or cfml pages to include 
    the AJAX call to verifyAddress ( or if using proxy, clnaddrProxy.jsp).
 		
 

        << DONE >>
