just a side note, both USPS and UPS terms of use says you can't use
their service for general look up.
they watch the ratio of packages against the address requests.
I use the USPS walk route database as a service @3cents a look up

I went the route of using simple-methods like the one in
\specialpurpose\googlecheckout\script\org\ofbiz\googleCheckout\PrepareXMLTemplate.xml#connectWithRedirectHack
I am moving Java code to simple-methods.

=========================
BJ Freeman
Strategic Power Office with Supplier Automation 
<http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com <http://www.specialtymarket.com/>
Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man


skip@thedevers sent the following on 2/28/2011 9:33 AM:
> I have created a new service using the UPS Street Level address validation
> API instead of the USPS one which I will soon submit as a contribution.
> 
> However, the production server for this company is behind a firewall and it
> is only connected to the internal network.  Outside access to it is through
> mod_proxy_ajp.
> 
> I have considered using the apache server as a proxy starting ofbiz with
> System.setProperty("http.proxyHost", "myProxyServer.com");
> or -Dhttp.proxyHost=myproxyserver.com
> 
> However my readings have turned up some issues with this and I am
> considering the modification of UspsServices.java.sendUspsRequest() and
> sendUpsRequest() to use Commons HTTP Client so I can connect to a proxy
> server for these  services.
> 
> Anyone have any advice
> 
> Skip
> 
> 

Reply via email to