Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > http services

Forum

Search UsersRules
http services
#1
Just came
Points:: 0
Joined:: Mar 26, 2023

Hello.
How can we access http services without user authentication?

Profile
#2
Administrator
Points:: 0
Joined:: Oct 3, 2019

Hello,

yes, it is possible!

You need to edit the file.vrd, adding the connection parameters to your 1C there.

Below is an example of such a file:

Code
<?xml version="1.0" encoding="UTF-8"?>
<point xmlns="http://v8.1c.ru/8.2/virtual-resource-system"
                xmlns:xs="http://www.w3.org/2001/XMLSchema"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                base="/BASENAME-NOAUTH"
                ib="Srvr=localhost;Ref=BASE;usr=user;pwd=password" enable="false">
        <debug enable="true" protocol="tcp" url="tcp://localhost" />
        <ws enable="false"/>
        <standardOdata enable="false"
                        reuseSessions="dontuse"
                        sessionMaxAge="20"
                        poolSize="10"
                        poolTimeout="5"/>
        <httpServices publishByDefault="false">
                <service name="TestHTTP"
                                rootUrl="TestHTTP"
                                enable="true"/>
        </httpServices>
</point>

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.