07 Oct 2022 03:33 PM - last edited on 10 Oct 2022 11:17 AM by MaciejNeumann
See:
We have a Full Web Service rule in place to include the contextroot inside the service signature. However there are multiple web-services with a different path depth. Some context-roots have only one segment, other two and some of them even three.
When we state: "segmentsToCopyFromUrlPath": 3, the full path is taken as contextroot for the services with only one or two sections.
I think an option should be available to just remove the last part of the URI which represents the service itself.
{
"type": "FULL_WEB_SERVICE",
"name": "{{.name}}",
"description": "Include Context Path in WCF Service Naming",
"enabled": true,
"detectAsWebRequestService": false,
"managementZones": [],
"conditions": [
{
"attributeType": "WEBSERVICE_NAMESPACE",
"compareOperations": [
{
"type": "STARTS_WITH",
"values": [
"xxxx"
],
"ignoreCase": "true"
}
]
}
],
"contextRoot": {
"segmentsToCopyFromUrlPath": 3
}
}
17 Jan 2023 03:05 PM
great idea for an RFE!