mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-06-11 16:34:57 +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:
+9
-6
@@ -14,7 +14,10 @@
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
base="/appname"
|
||||
ib="connection-string">
|
||||
ib="connection-string"
|
||||
enableStandardOdata="true">
|
||||
<ws pointEnableCommon="true"/>
|
||||
<httpServices publishByDefault="true"/>
|
||||
</point>
|
||||
```
|
||||
|
||||
@@ -45,18 +48,18 @@ File="C:\Bases\MyDB";Usr="Admin";Pwd="123";
|
||||
|
||||
### Дочерние элементы
|
||||
|
||||
#### `enableStandardOdata` (атрибут `<point>`)
|
||||
Стандартный OData-интерфейс платформы. `enableStandardOdata="true"` открывает REST-доступ ко всем объектам.
|
||||
URL: `/{AppName}/odata/standard.odata`
|
||||
|
||||
#### `<ws>`
|
||||
Публикация SOAP web-сервисов. `publishByDefault="true"` публикует все сервисы из конфигурации.
|
||||
Публикация SOAP web-сервисов. `pointEnableCommon="true"` публикует все сервисы из конфигурации.
|
||||
URL: `/{AppName}/ws/{WebServiceName}?wsdl`
|
||||
|
||||
#### `<httpServices>`
|
||||
Публикация HTTP-сервисов. `publishByDefault="true"` публикует все сервисы из конфигурации.
|
||||
URL: `/{AppName}/hs/{RootUrl}/...`
|
||||
|
||||
#### `<standardOdata>`
|
||||
Стандартный OData-интерфейс платформы. `enable="true"` открывает REST-доступ ко всем объектам.
|
||||
URL: `/{AppName}/odata/standard.odata`
|
||||
|
||||
### Расположение
|
||||
|
||||
`{ApachePath}/publish/{AppName}/default.vrd`
|
||||
|
||||
Reference in New Issue
Block a user