The user 'sa' does not have permission to register endpoint 'sql_endpoint' on the specified URL. Please ensure the URL refers t

I am trying to create an endpoint with sa

CREATE ENDPOINT sql_endpoint

STATE = STARTED

AS HTTP(

PATH = '/sql',

AUTHENTICATION = (INTEGRATED ),

PORTS = ( CLEAR ),

SITE = 'SERVER'

)

FOR SOAP (

WEBMETHOD 'GetSqlInfo'

(name='master.dbo.xp_msver',

SCHEMA=STANDARD ),

WEBMETHOD 'DayAsNumber'

(name='master.sys.fn_MSdayasnumber'),

WSDL = DEFAULT,

SCHEMA = STANDARD,

DATABASE = 'master',

NAMESPACE = 'http://tempUri.org/'

);

GO




Answer this question

The user 'sa' does not have permission to register endpoint 'sql_endpoint' on the specified URL. Please ensure the URL refers t