HOW TO
If the network uses a proxy server, add a few lines of code to the GLUE applications for them to successfully communicate with ArcWeb Services.
Code:
IPlaceFinderSample placeFinderSample = PlaceFinderSampleHelper.bind();
Code:
electric.glue.context.ProxyContext context = new electric.glue.context.ProxyContext();
context.setProxy( "proxyserver", "proxyport", "proxyUser", "proxyPassword" );
// bind to regular web service at specified URL with proxy context.
String pfsurl = "http://www.arcwebservices.com/services/v2006_1/glue/PlaceFinderSample.wsdl";
IPlaceFinderSample placeFinderSample = (IPlaceFinderSample) electric.registry.Registry.bind( pfsurl, IPlaceFinderSample.class, context );
Note:
If you don't have a proxy user name and password, leave the fields empty.
Article ID:000007629
Get help from ArcGIS experts
Download the Esri Support App