NonStop SOAP User's Manual

Using NonStop SOAP with a TS/MP Application and
NonStop Processes
NonStop SOAP User’s Manual520501-012
6-66
Running the Server from the Command Line
12. Check the tail of the trace file for errors.
13. Start a browser and load the appropriate HTML client to test your application.
Running the Server from the Command Line
If you built an executable to run from the command line:
1. Create a SOAP configuration file as in step 3 of Configuring and Running the
Server in a WebServer Environment on page 6-60.
2. Set these environment variables:
export SOAP_CONFIG_FILE=
config-filename
export ICU_DATA=
path-to-icu
export EMS_COLLECTOR=
\$process-name
(optional)
where
config-filename
is the name of the NonStop SOAP configuration file you created in step 1. This
name is relative to the current working directory.
path-to-ICU
is the path to the ICU library and has the form
XML-parser-
location
/lib/icu/data/.
process-name
is the name of the process to which the server will report EMS events. If you
omit this variable, EMS messages are written to $0.
2. Create an XML document that conforms to the definition of the service that you
want to access.
3. Run the application:
>
executable-name
xml-doc-name
where
executable-name
is the name of the executable you built with the Makefile, or SoapServerCL if
you are using the prebuilt SOAP server.
xml-doc-name
is the name of your input document. You can list multiple documents, to be
processed as a series of requests; in this case, use spaces to separate the