Edit SOAP Handler Config

URL:
https://<root>/system/handlers/soap/soaphandlerconfig/edit
Methods:
POST
Required Capability:
Access allowed with the "Security and Infrastructure" privilege
Version Introduced:
11.0

Description

The edit operation allows you to restrict cross-domain requests to specific domains, including SOAP and OGC service requests. By default, no domains are restricted.

Request parameters

ParameterDetails

allowedOrigins

A comma-separated list of URLs of domains allowed to make requests. The default value, *, denotes all domains, meaning none are restricted.

Example
Use dark colors for code blocksCopy
1
2
3
4
5
//all domains
allowedOrigins=*

//list of URLs
allowedOrigins=https://gisserver1.example.com,https://gisserver2.example.com

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the edit operation, which modifies the allowedOrigins parameter to include a list of URLs:

Use dark colors for code blocksCopy
1
2
3
4
5
6
POST /webadaptor/admin/system/handlers/soap/soaphandlerconfig/edit HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

allowedOrigins=https://gisserver1.example.com,https://gisserver2.example.com&f=pjson

JSON Response example

Use dark colors for code blocksCopy
1
{"status": "success"}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.