Skip To Content

Edit SOAP Handler Config

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.

Examples


//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:


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

{"status": "success"}