Chapter 8 Using the Sybase Web Services Client Proxy


Installing the Client Proxy

Un-jar the Client Proxy jar file (whose name is determined by the server) into a directory on the client machine. When the archive is expanded, the proxy and Webservices directories are created.

The proxy directory contains the following files:

Setting environment variables and system properties for the Client Proxy

The Client Proxy jar uses the following environment variables:

In addition to the environment variables listed above, the Java system property SYBASE_SOAP must be passed in as a jvm option:

SYBASE_SOAP points to the location where you unjar the ClientProxy.jar. This System property must be set before the SoapProxy class is instantiated. This variable may be set by using the -D flag after the Java command executing the client application, for example:
-DSYBASE_SOAP=MyProxyClientLocation
where MyProxyClientLocation is the path to your installed client proxy. Or, this variable may be set inside the client application code, for example: java.lang.System.setProperty ("SYBASE_SOAP", MyClientProxyLocation);. It can also be read in from a properties file or any other way you choose.

Setting environment variables and system properties for the Proxy Viewer

The Proxy Viewer uses the following environment variables and system properties:

 


Copyright © 2002 Sybase, Inc. All rights reserved.