Skip to main content
Skip table of contents

LightWave Client SOAPAM Compatibility Documentation

This Appendix describes the SOAPam Client Compatibility feature in LightWave Client.

Note: The SOAPam Client Compatibility feature is licensed separately from the base LightWave Client license. To acquire a license for this feature, please contact your NuWave account representative.

Introduction

LightWave Client SOAPAM Compatibility allows SOAPAM Client applications to use LightWave Client, without changing the SOAPam Client application. Using Client SOAPAM Compatibility, however, requires modification to operation procedures and configurations. These changes are documented elsewhere.

Startup

A LightWave Client process is created in the same manner as a SOAPAMCP process: either as a stand-alone process (with the --standalone option) started from a TACL prompt, or as a Pathway server process started by PATHMON.

Configuration

Whether running stand-alone or in a Pathway serverclass, the mechanisms used to configure LightWave Client are similar to those used to configure SOAPAM Client: command-line options, PARAMs, and configuration files. However, there are some differences.

API Definitions Instead of CDFs

LightWave Client is driven by an API definition. The LWC startup option --api specifies a filename that contains the API definition. The SOAPAMCP startup option -cdf is analogous.

Base URL Instead of Location

One key difference between the LightWave Client --base-url option and the SOAPAMCP -location option is that the --base-url option does not include the operational path. That value is specified in the API.

For example:

LightWave Client

--base-url

http://soapam-echotest.demo.nuwavetech.com

API operation path

/services/echostring/echostring

SOAPAMCP

-location

https://soapam-echotest.demo.nuwavetech.com/services/echostring/echostring

Another difference between the LWC --base-url option and the SOAPAMCP -location option is that the --base-url option is required because the LightWave Client API definition does not contain URLs as the SOAPAMCP CDF does.

Diagnostic Logs Instead of Message Dumps

LightWave Client Diagnostic Logs are analogous to SOAPAM Message Dumps. The content is different to reflect the differences between a RESTful API call and a SOAP/XML web service invocation.

Operationally, diagnostic logs are separate files for each API call, and they are always EDIT-type files. The option to write all diagnostic log entries to a single file is not available in LWC.
Additionally, diagnostic log filters are specified via the --diag-log option instead of separate options (typically contained in an options file).

Log File

LightWave Client logging is configured with the single --log option, whether values are provided on the command-line or in a configuration file.

Converting Credentials Files

SOAPAMCP credentials files created with the makecf utility are not valid for LightWave Client. Credentials files must be recreated with the LightWave Client LWCOM utility’s CREATE CREDENTIALS command.

CREATE CREDENTIALS <file-name> [ ! ]
[ , CREDENTIALS <credentials-string> ]
[ , FROM-FILE <file-name> ]
[ , TARGET <file-name> ]
<file-name> [ ! ]
File to contain the stored credentials. Append ! to the name to overwrite an existing file with the same name.
CREDENTIALS <credentials-string>
The credentials to be encoded, e.g. <username>':'<password>.
FROM-FILE <file-name>
A file containing unencoded credentials to be encoded.
TARGET <file-name>
The file name to be encoded with the stored credentials. If not specified, it will be the same name as the output file name.

Converting CDFs

The LightWave Client command interpreter (LWCCOM) has been enhanced to convert SOAPAMCP CDFs to LWC APIs and to Data Definition Language (DDL) source files.

CDF to API

run lwccom convert cdf <cdf-filename>, format api, file <api-filename> [ ! ]

Where:

<cdf-filename>

The filename of the CDF to convert.

format api

Specifies the output file is “LWC API.”

<api-filename>

Specifies the name of the LWC API file. An optional exclamation point after the filename indicates any existing output file should be replaced.

CDF to DDL

Convert a CDF to a DDL source file with the following LWCCOM command:

run lwccom convert cdf <cdf-filename>, format ddl, file <ddl-filename> [ ! ]

Where:

<cdf-filename>

The filename of the CDF to convert.

format ddl

Specifies the output file is “NonStop DDL source.”

<ddl-filename>

Specifies the name of the DDL source file. An optional exclamation point after the filename indicates any existing output file should be replaced.

NOTE: The LWCCOM convert CDF to DDL and export API to DDL commands generate two different versions of application structures in the DDL source. The convert CDF to DDL command generates DDL source in a format suitable for exchanging messages with LightWave Client running in SOAPam Compatibility mode. The export API to DDL generates DDL source for use with LightWave Client running in “native” mode.

Command-line Option Cross References

Note: A full description of the options in these tables is beyond the scope of this document. Please see relevant product documentation for details.

SOAPAMCP to LightWave Client

The following table identifies SOAPAM Client command-line options and their LightWave Client equivalents. If the command is unavailable or not applicable, N/A appears in the column.

SOAPAM Client

LightWave Client

Notes

@<command-file>

same

 

-authheader

same

 

-backupcpu

same

 

-cdf

--api

Similar purpose but specify an API definition filename.

-disablehttpkeepalive

N/A

 

-enabletcpkeepalive

N/A

 

-help

N/A

 

-httpauth

--http-credentials

 

-httpkeepalivetimeout

--http-keepalive-timeout

 

-httppreauth

--http-credentials

The ‘preauth’ keyword is appended to the LWC option to enable preauth.

-httpproxy

--http-proxy-host

 

-httpproxyauth

--http-proxy-credentials

 

-httprequesttimeout

--http-request-timeout

The LWC option value is expressed in milliseconds, not seconds as with SOAPAMCP.

-ignoreclose

--ignore-close
--standalone

Either LWC option is acceptable.

-licensefile

--license

 

-licensekey

N/A

 

-location

--base-url

The option value is different.

-log

--log

For specifying options on the command-line.

-logcfg

--log +<logopt file>

For specifying options in a file.  The time= option is not supported.

-logtime

N/A

All log times are in LCT (when using text format).

-messagedump

--diag-log

Options are different for LWC diagnostic logging.  The content filter in a diagnostic log configuration file is analogous to the SOAPAM option on the command-line.

-messagedumpcfg

--diag-log +<diaglog opt file>

For specifying diagnostic logging options in a file.

-messagedumpfile

N/A

Each diagnostic is written to a separate file.

-messagedumpfiletype

N/A

Diagnostic logs are always EDIT-type files.

-messagedumpfilter

--diag-log +<diaglog opt file>

Use the replyCodeFilter and/or httpStatusFilter options in a diagnostic log configuration file.

-messagedumpsubvol

--diag-log

Either specify the subvol= option on the LWC command-line or use it in a diagnostic log configuration file.

-pathmonpattern

N/A

 

-resolveonconnect

N/A

 

-servicedefaultencoding

--default-encoding

 

-sslcalocalfile

--ca-local-certs

 

-sslcarootfile

--ca-root-certs

 

-sslclientcert

--client-cert

 

-ssl-disable-tlsv1.0
-ssl-disable-tlsv1.1

-ssl-disable-tlsv1.2
-ssl-disable-tlsv1.3

--tls-disable-v1.0

--tls-disable-v1.1

--tls-protocols

 

-sslnoverify

--cert-no-verify

 

-stats

N/A

Statistics configuration in LWC is available only via a configuration file.

-statscfg

same

 

-switchontimeout

N/A

Functionality not supported.

-tcpip

--tcpip-process

 

-tcpipalt

N/A

Functionality not supported.

LightWave Client to SOAPAMCP

The following table identifies LightWave Client command-line options and their SOAPAM Client equivalents. If the command is unavailable or not applicable, N/A appears in the column.

LightWave Client

SOAPAM Client

Notes

@<command-file>

same

Same purpose but the options in the file would appropriate to the product.

--api

-cdf

 

--api-param-<param-name>

N/A

Specifies an API specific parameter name and its value.  E.g., the option --api-param-queueme would specify the value for an API parameter called queueme.

--auth

N/A

Specifies the name of an authorization file used in request authentication and signing.

--base-url

-location

The option value is different; the LWC value does not include the operation’s path.

--blob-files

N/A

 

--ca-local-certs

-sslcalocalfile

 

--ca-root-certs

-sslcarootfile

 

--cert-no-verify

-sslnoverify

 

--client-cert

-sslclientcert

 

--default-encoding

-servicedefaultencoding

 

--diag-log

-messagedump

-messagedumpcfg

-messagedumpfile

-messagedumpfiletype

-messagedumpfilter

-messagedumpsubvol

The LWC --diag-log option takes the place of these SOAPAMCP options.

--filesystem

-vfs

 

--http-credentials

-httpauth

 

--http-keepalive-max

N/A

 

--http-keepalive-timeout

-httpkeepalivetimeout

 

--http-proxy-host

-httpproxy

 

--http-proxy-credentials

-httpproxyauth

 

--http-request-timeout

-httprequesttimeout

The LWC option value is expressed in milliseconds, not seconds as with SOAPAMCP.  E.g.: 1000 = 1 second.

--ignore-close

-ignoreclose

--license

-license

-licensefile

--log

-log

-log-cfg

The LWC --log option takes the place of both SOAPAMCP options.

--monitor

N/A

 

--msg-log

N/A

 

--soapamcp-mode

N/A

Enables the SOAPAMCP compatibility mode of LWC.

--standalone

-ignoreclose

 

--statscfg

same

 

--string-padding

N/A

 

--sts-max-age

N/A

 

--tcpip-bind-addr

N/A

 

--tcpip-process

-tcpip

 

--tls-cipher-list

N/A

 

--tls-options

N/A

 

--tls-disable-v1.0

--tls-disable-v1.1

--tls-protocols

-ssl-disable-tlsv1.0

-ssl-disable-tlsv1.1

The LWC --tls-protocols option specifies which TLS versions to make available.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.