NonStop SOAP 4.1 User's Manual

<nskhdr:Encoding OutputEncoding="ISO-2022-JP"/>
</SOAP-ENV:Header>
<SOAP-ENV:Body xmlns:admin="urn:compaq_nsk_oss_soapquery">
<admin:ListServices serviceType="all"/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
2. Specify the default encoding for the SOAP response messages from a target service using one
of these two options.
Set the RspEncoding attribute in the SDL file at design time and run the SOAPAdminCL
tool to generate the required files.
NOTE: For this option, you must set theICU_DATA environment variable to the location
of the ICU data library before running the SOAPAdminCL tool. For example,
OSS> export ICU_DATA=/usr/tandem/xml/T0563H01/lib/icu/data/
Set the operation level attribute RspEncoding, which will be used at runtime, in the
services.xml file. For example, the following entry sets the encoding to ISO-2022–JP:
<parameter name="RspEncoding">ISO-2022-JP</parameter>
If the RspEncoding attribute is set in the services.xml file and OutputEncoding is set in
the encoding header, OutputEncoding overrides RspEncoding. If the RspEncoding attribute
is not set in the services.xml file and OutputEncoding is not set in the encoding header,
the response message encoding is the same as request message encoding.
Configuring the server encoding
You can configure the server encoding by using one of these two options:
Set the SrvrEncoding attribute in the SDL file at design time and run SOAPAdminCL tool
to generate the required files.
NOTE: For this option, you must set theICU_DATA environment variable to the location of
the ICU data library before running the SOAPAdminCL tool. For example,
OSS> export ICU_DATA=/usr/tandem/xml/T0563H01/lib/icu/data/
Set the service level attribute SrvrEncoding, which will be used at runtime, in the
services.xml file.
the SrvrEncoding attribute in the SDL file or by modifying the services.xml file. For example,
the following entry sets the encoding to ISO-2022–JP:
<parameter name="SrvrEncoding">ISO-2022-JP</parameter>
Communicating with a Non-Pathway Process
NonStop SOAP 4 can expose a non-Pathway process as a Web service. This section describes
the configuration of NonStop SOAP 4 to enable it to communicate with a process.
Configuring NonStop SOAP 4 to communicate with a non-Pathway process involves the following
tasks:
“Creating an SDL File to Communicate with a Non-Pathway Process (page 232)
“Creating a DDL File with the Request/Response Structures (page 232)
“Generating NonStop SOAP 4 Files using the SoapAdminCL Tool” (page 232)
Communicating with a Non-Pathway Process 231