HOW TO
Instructions provided describe the proceedure to connect the ArcIMS Java Connector to a remote ArcIMS server using an HTTP connection.
Code:
java.net.URL connUrl = new java.net.URL("http://www.geographynetwork.com:80");
connection.setConnectionType(connection.HTTP);
connection.setUsername("myaccount");
connection.setPassword("secret");
connection.setUrl(connUrl);
Code:
java.net.URL connUrl = new java.net.URL("http://www.geographynetwork.com:80");
connection.setConnectionType(connection.HTTP);
connection.setUsername("myaccount");
connection.setPassword("secret");
connection.setUrl(connUrl);
java.util.Properties prop = System.getProperties();
prop.put("http.proxyHost","proxy.mycompany.com");
prop.put("http.proxyPort","80");
Get help from ArcGIS experts
Download the Esri Support App