LocalWebserviceDeploymentConfiguration Class

Defines a deployment configuration object for a web service endpoint deployed locally.

Create a LocalWebserviceDeploymentConfiguration object using the deploy_configuration method of the LocalWebservice class.

Create a configuration object for deploying a local service for debugging.

Inheritance
LocalWebserviceDeploymentConfiguration

Constructor

LocalWebserviceDeploymentConfiguration(port=None)

Parameters

port
int
default value: None

The local port on which to expose the service's HTTP endpoint. Acceptable values [1, 65535].

port
int
Required

The local port on which to expose the service's HTTP endpoint.

Methods

print_deploy_configuration

Print the deployment configuration.

validate_configuration

Check that the specified configuration values are valid.

Will raise an WebserviceException if the specified port in not in the range [1, 65535].

print_deploy_configuration

Print the deployment configuration.

print_deploy_configuration()

validate_configuration

Check that the specified configuration values are valid.

Will raise an WebserviceException if the specified port in not in the range [1, 65535].

validate_configuration()

Exceptions