i created this endpoint:
create
endpoint first_Endpoint
state = started
as http
(
path ='/sql',
authentication=(integrated),
ports=(clear),
site='server'
)
for soap
(
webmethod 'provideInfo'
(name='adventureworks.dbo.uspGetBillOfMaterials'),
wsdl=default,
schema = standard,
database = 'AdventureWorks',
Namespace = 'http://tempuri.org/'
);
go
the above code runs fine in my local instance, but when in visual studio i go to add web reference and type http://localhost/sql/ , or http://machineName/sql/first_Endpoint it can find nothing. what am i doing wrong here?