Jimmy Wu - MSFT
You are correct that these SOAP endpoints created in SQL will NOT show up in IIS.
To retrieve the WSDL document on an endpoint running on the local machine, I recommend creating the endpoint with something like:
CREATE
ENDPOINT sql_endpoint
STATE
= STARTED
AS
HTTP(
PATH = '/sql',
AUTHENTICATION = (INTEGRATED ),
PORTS = ( CLEAR ),
SITE = '*'
)
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://localhost/'
);
OR
CREATE
ENDPOINT sql_endpoint
STATE
= STARTED
AS
HTTP(
PATH = '/sql',
AUTHENTICATION = (INTEGRATED ),
PORTS = ( CLEAR ),
SITE = 'localhost'
)
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://localhost/'
);
In the first endpoint example, you will be able to retrieve the WSDL document with URL like:
http://localhost/sql wsdl
http://<machineName>/sql wsdl
For the 2nd endpoint example, you will only be able to retrieve the WSDL document with URL like:
http://localhost/sql wsdl
HTH,
Jimmy