http services

The 1C:Enterprise developers forum

#1
People who like this:0Yes/0No
Just came
Rating: 0
Joined: Mar 26, 2023
Company: Origami Yazılım Sanayi Ve Ticaret A.Ş

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

 
#2
People who like this:0Yes/0No
Administrator
Rating: 23
Joined: Oct 3, 2019
Company:

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>

 
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)
Be the first to know tips & tricks on business application development!

A confirmation e-mail has been sent to the e-mail address you provided .

Click the link in the e-mail to confirm and activate the subscription.