NonStop SOAP User's Manual

Customizing the SOAP Server
NonStop SOAP User’s Manual520501-012
8-47
Building the Server Program
Building the Server Program
To build a server program using files generated by the SOAP Admin tool, you must:
1. Set environment variables.
2. Run the generated Makefile.
If you will use the prebuilt server, skip this task.
Environment Variables
These environment variables are required to build the server process. Others are
required to configure and run the server process, as described in Configuring and
Running the Server in a WebServer Environment on page 6-60 and Running the
Server from the Command Line on page 6-66.
SOAP4NSK
Set this variable to the location of NonStop SOAP in your OSS file system. For
example:
export SOAP4NSK=/usr/tandem/nssoap/t0603v30
XERCESCROOT
Set this variable to the location of the XML parser, NonStop XML. For example:
export XERCESCROOT=/usr/tandem/xml/T0535V50
PATHWAY_SOAP_CGI
Set this variable if you wish to build a Pathway_CGI process. For example:
export PATHWAY_SOAP_CGI=true
If you specify this variable with any value, the Makefile creates a Pathway_CGI
process. If you do not specify this variable, the Makefile creates a command-line
executable.
Running the Makefile
After setting up the environment variables, run the generated Makefile as follows:
> make