{ "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#", "contentVersion": "1.0.0.0", "parameters": { "customApis_CustomConnector_GetInfoPassthru_name": { "defaultValue": "CustomConnector-GetInfoPassthru", "type": "String" } }, "variables": {}, "resources": [ { "type": "Microsoft.Web/customApis", "apiVersion": "2016-06-01", "name": "[parameters('customApis_CustomConnector_GetInfoPassthru_name')]", "location": "westeurope", "properties": { "connectionParameters": { "authType": { "type": "string", "allowedValues": [ { "value": "none" } ], "uiDefinition": { "displayName": "Authentication Type", "description": "Authentication type to connect to your API", "tooltip": "Authentication type to connect to your API", "constraints": { "tabIndex": 1, "required": "true", "allowedValues": [ { "text": "none", "value": "anonymous" } ], "capability": [ "gateway" ] } } }, "gateway": { "type": "gatewaySetting", "gatewaySettings": { "dataSourceType": "CustomConnector", "connectionDetails": [] }, "uiDefinition": { "constraints": { "tabIndex": 4, "required": "true", "capability": [ "gateway" ] } } } }, "description": "Call SOAP passthru", "displayName": "[parameters('customApis_CustomConnector_GetInfoPassthru_name')]", "iconUri": "", "capabilities": ["gateway"], "wsdlDefinition": { "importMethod": "SoapPassThrough" }, "backendService":{ "serviceUrl": "http://onpremservice/webservices"}, "swagger": { "swagger": "2.0", "info": { "title": "SOAP pass-through", "description": "Get Info SOAP passthru", "version": "1.0" }, "host": "onpremservice", "basePath": "/services/GetInfo.asmx", "consumes": [], "produces": [], "paths": { "/SoapPassThrough": {}, "/services/GetInfo/Execute": { "post": { "operationId": "Execute", "parameters": [ { "name": "Content-Type", "in": "header", "required": true, "type": "string", "default": "text/xml", "x-ms-visibility": "important" }, { "name": "SOAPAction", "in": "header", "required": true, "type": "string", "default": "", "x-ms-visibility": "important" }, { "name": "body", "in": "body", "required": true, "schema": { "type": "object", "properties": {} } } ], "responses": { "200": { "description": "OK" } }, "summary": "Get Info", "description": "Get Info from on-prem service" } } }, "definitions": {}, "parameters": {}, "responses": {}, "securityDefinitions": {}, "security": [], "tags": [], "schemes": [ "http" ] } } } ] }