com.esri.arcgisws.runtime
Class WebServiceProxyImpl

java.lang.Object
  extended by com.esri.arcgisws.runtime.WebServiceProxyImpl
All Implemented Interfaces:
WebServiceProxy
Direct Known Subclasses:
FeatureServerBindingStub, GeocodeServerBindingStub, GeoDataServerBindingStub, GeometryServerBindingStub, GlobeServerBindingStub, GPServerBindingStub, ImageServerBindingStub, MapServerBindingStub, MobileServerBindingStub, NAServerBindingStub, ServiceCatalogBindingStub

public abstract class WebServiceProxyImpl
extends Object
implements WebServiceProxy

The Class WebServiceProxyImpl.


Constructor Summary
WebServiceProxyImpl()
          Instantiates a new web service proxy impl.
 
Method Summary
 Object _getProperty(String name)
          Deprecated. 
 void _setProperty(String name, Object value)
          Deprecated. 
 void addHTTPRequestHeaders(Map httpHeaders)
          Allows users to pass in additional HTTP headers to each service endpoint.
 void enableRequestResponseLogging(boolean enable)
          Enable request response logging.
 Map getHTTPResponseHeaders()
          Allows users to get access to HTTP headers returned by the service with the response.
 String getPassword()
          Deprecated. 
 Object getProperty(String name)
          getProperty Allows users to get service level properties.
 String getUsername()
          Deprecated. 
 void setArcGISVersion(String serverVersion)
          Sets the arcgis version.
 void setConnectionTimeout(int timeout)
          Sets the connection timeout in milliseconds.
 void setEndPointAddress(String endpointAddressURL)
          Sets the end point address.
 void setEndPointAddress(String endpointAddressURL, String userName, String password)
          Sets the end point address.
 void setHttpReferer(String referer)
          Sets the http referer the use can set when connecting to a arcgistoken based secured service.
 void setPassword(String password)
          Deprecated. 
 void setProperties(Map serviceParams)
          Allows to set multiple service properties
 void setProperty(String key, Object value)
          Sets the property.
 void setSoapOverDCOM(Object serverobject)
          Deprecated. 
 void setSoapOverDCOM(Object serverobject, String capablities)
          Deprecated. 
 void setUsername(String username)
          Deprecated. 
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebServiceProxyImpl

public WebServiceProxyImpl()
Instantiates a new web service proxy impl. WebServiceProxyImpl default constructor.

Method Detail

setEndPointAddress

public void setEndPointAddress(String endpointAddressURL)
Description copied from interface: WebServiceProxy
Sets the end point address. The arcgis http handler url where the service is available eg. http//merced.esri.com:80/arcgis/services/USA/MapServer

Specified by:
setEndPointAddress in interface WebServiceProxy
Parameters:
endpointAddressURL - the endpoint address url

setEndPointAddress

public void setEndPointAddress(String endpointAddressURL,
                               String userName,
                               String password)
Description copied from interface: WebServiceProxy
Sets the end point address. The arcgis http handler url where the secured service is running. These services can be secured using Http Basic or Digest Authentication and also Arcgis Token based security. In either cases the user needs to pass in the username and password eg. http//merced.esri.com:80/arcgis/services/private/USA_planner/MapServer

Specified by:
setEndPointAddress in interface WebServiceProxy
Parameters:
endpointAddressURL - the endpoint address url
userName - the user name
password - the password

setArcGISVersion

public void setArcGISVersion(String serverVersion)
Description copied from interface: WebServiceProxy
Sets the arcgis version. The Web Service stubs needs to work with multiple versions of ArcGIS Server (10.0, 9.3 and 9.2) The stubs will be generated from 10.0 wsdls, this means that the namespace in the stub will pertain to 10.0 and can only work with a 10.0 server. The clients will do a version check using the GetMessageVersion request with the server and set the server version. This will cause the proxies to change the message namespace in the SOAP messages.

Specified by:
setArcGISVersion in interface WebServiceProxy
Parameters:
serverVersion - the new arcgis version

setHttpReferer

public void setHttpReferer(String referer)
Description copied from interface: WebServiceProxy
Sets the http referer the use can set when connecting to a arcgistoken based secured service. In the referer value is not set a random generated referer is used by the http transport when consuming token secured service.

Specified by:
setHttpReferer in interface WebServiceProxy
Parameters:
referer - the new http Referer

setConnectionTimeout

public void setConnectionTimeout(int timeout)
Description copied from interface: WebServiceProxy
Sets the connection timeout in milliseconds. Allows the clients to control http connection timeouts. Connection timeouts are not available for local connection, which uses the default DCOM timeouts.

Specified by:
setConnectionTimeout in interface WebServiceProxy
Parameters:
timeout - the new connection timeout in milliseconds

setProperty

public void setProperty(String key,
                        Object value)
Description copied from interface: WebServiceProxy
Sets the property. Sets the value for a named property. Allows users to set service level properties. Service level properties apply to each xxxBindingStub object that is created.

Specified by:
setProperty in interface WebServiceProxy
Parameters:
key - the key
value - the value as Object

getProperty

public Object getProperty(String name)
Description copied from interface: WebServiceProxy
getProperty Allows users to get service level properties. Service level properties apply to each xxxBindingStub object that is created.

Specified by:
getProperty in interface WebServiceProxy
Parameters:
name - the name as String
Returns:
the object

setProperties

public void setProperties(Map serviceParams)
Description copied from interface: WebServiceProxy
Allows to set multiple service properties

Specified by:
setProperties in interface WebServiceProxy
Parameters:
serviceParams - the Map

enableRequestResponseLogging

public void enableRequestResponseLogging(boolean enable)
Description copied from interface: WebServiceProxy
Enable request response logging. This allows you to monitor the soap request and response messages. This will enable logging for both http and dcom transports. For http transports the http requst and response headers are also logged.

Specified by:
enableRequestResponseLogging in interface WebServiceProxy

setSoapOverDCOM

@Deprecated
public void setSoapOverDCOM(Object serverobject)
Deprecated. 

Description copied from interface: WebServiceProxy
This method is not public. This is only supported for internal usage only Sets the soap over dcom. Allows user to send and receive soap messages to Local ArcGIS Server using DCOM.

Specified by:
setSoapOverDCOM in interface WebServiceProxy
Parameters:
serverobject - the new soap over dcom

setSoapOverDCOM

@Deprecated
public void setSoapOverDCOM(Object serverobject,
                                       String capablities)
Deprecated. 

Description copied from interface: WebServiceProxy
This method is not public. This is only supported for internal usage only Sets the soap over dcom. Allows user to send and receive soap messages to Local ArcGIS Server using DCOM, which specified capabilities.

Specified by:
setSoapOverDCOM in interface WebServiceProxy
Parameters:
serverobject - the serverobject
capablities - the capablities

addHTTPRequestHeaders

public void addHTTPRequestHeaders(Map httpHeaders)
Description copied from interface: WebServiceProxy
Allows users to pass in additional HTTP headers to each service endpoint. These HTTP headers are send with every request.

Specified by:
addHTTPRequestHeaders in interface WebServiceProxy
Parameters:
httpHeaders - as Map
See Also:
com.esri.arcgisws.WebServiceProxy#addHTTPRequestHeaders(java.util.Map)

getHTTPResponseHeaders

public Map getHTTPResponseHeaders()
Description copied from interface: WebServiceProxy
Allows users to get access to HTTP headers returned by the service with the response.

Specified by:
getHTTPResponseHeaders in interface WebServiceProxy
Returns:
the httpHeaders as Map

_setProperty

@Deprecated
public void _setProperty(String name,
                                    Object value)
Deprecated. 

Description copied from interface: WebServiceProxy
_setProperty is deprecated use setProperty instead. This was provided for backing compatibility with Axis generated stubs

Specified by:
_setProperty in interface WebServiceProxy
Parameters:
name - the name
value - the value

_getProperty

@Deprecated
public Object _getProperty(String name)
Deprecated. 

Description copied from interface: WebServiceProxy
_getProperty is deprecated use getProperty instead. This was provided for backing compatibility with Axis generated stubs

Specified by:
_getProperty in interface WebServiceProxy
Parameters:
name - the name
Returns:
the object

setUsername

@Deprecated
public void setUsername(String username)
Deprecated. 

Description copied from interface: WebServiceProxy
setUsername is deprecated use xxxBindingStub(urlSting,username,password) instead. This was provided for backing compatibility with Axis generated stubs Sets the username.

Specified by:
setUsername in interface WebServiceProxy
Parameters:
username - the new username

getUsername

@Deprecated
public String getUsername()
Deprecated. 

Description copied from interface: WebServiceProxy
getUsername is deprecated This was provided for backing compatibility with Axis generated stubs Gets the username.

Specified by:
getUsername in interface WebServiceProxy
Returns:
the username

setPassword

@Deprecated
public void setPassword(String password)
Deprecated. 

Description copied from interface: WebServiceProxy
setPassword is deprecated use xxxBindingStub(urlSting,username,password) instead. This was provided for backing compatibility with Axis generated stubs Sets the password.

Specified by:
setPassword in interface WebServiceProxy
Parameters:
password - the new password

getPassword

@Deprecated
public String getPassword()
Deprecated. 

Description copied from interface: WebServiceProxy
getPassword is deprecated This was provided for backing compatibility with Axis generated stubs Gets the password.

Specified by:
getPassword in interface WebServiceProxy
Returns:
the password