具有身份验证基本和SSL的本机XML Web服务

时间:2010-05-04 04:18:41

标签: sql-server-2005 web-services ssl basic-authentication

我正在使用SQL Server 2005和Native XML WebServices。通过HTTP:80的集成身份验证工作正常。但我需要基本身份验证,需要SSL。因此,如果我将Web服务更改为ssl,我总是会重置连接(101)。我尝试了几个端口80,443,9999具有相同的结果。 错误是什么?

--EXEC sp_delete_http_namespace_reservation N'https://ATWEZE99103DAT:9999/sql/s047'
EXEC SP_RESERVE_HTTP_NAMESPACE N'https://ATWEZE99103DAT:9999/sql/s047'
go
--drop endpoint S047SSLPOINT;
CREATE ENDPOINT S047SSLPOINT
STATE = Started
AS HTTP
( PATH= '/sql/s047'
, PORTS= (SSL)
, SSL_PORT=9999
, SITE = 'ATWEZE99103DAT'
, AUTHENTICATION= (BASIC)
, COMPRESSION=Enabled
)
FOR SOAP
(
webmethod 'M001_SetSupplies'
 (
    NAME = 'sapio.dbo.USP_SetSupplies'
    , schema = standard
  )
,webmethod 'M002_SetDetailedPlanning'
 (
    NAME = 'sapio.dbo.USP_SetDetailedPlanning'
    , schema = standard)
     , LOGIN_TYPE=MIXED
    , WSDL = DEFAULT
    ,  schema = standard
    , database = 'SAPIO'
    , namespace = 'urn:other'
  )
go

0 个答案:

没有答案