mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-07-30 00:16:56 +03:00
fix(web): correct VRD service element format for 1C 8.3
ws uses pointEnableCommon (not publishByDefault), OData is attribute enableStandardOdata on <point> (not child element). Verified against live BP-demo: WSDL returns 200, SOAP call succeeds. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
028c5292d7
commit
fe8fa4bc3f
@@ -117,7 +117,7 @@ if ($pubMatches.Count -eq 0) {
|
||||
if (Test-Path $vrdPath) {
|
||||
if ($vrdContent -match '<ws\s') { $svcTags += "WS" }
|
||||
if ($vrdContent -match '<httpServices\s') { $svcTags += "HTTP" }
|
||||
if ($vrdContent -match '<standardOdata\s') { $svcTags += "OData" }
|
||||
if ($vrdContent -match 'enableStandardOdata\s*=\s*"true"') { $svcTags += "OData" }
|
||||
}
|
||||
$svcLabel = if ($svcTags.Count -gt 0) { " [" + ($svcTags -join " ") + "]" } else { "" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user