ajax(Tibco) 与 SQL server 2005(6)

修正其中一个问题:
 
建立endpoint 的脚本应如下:
 
否则,会产生不能以HTTP认证的错误:
 
/****** 对象:  Endpoint [SelectRegRec]    脚本日期: 05/24/2008 12:09:30 ******/
CREATE ENDPOINT [SelectRegRec]
 AUTHORIZATION [sa]
 STATE=STARTED
 AS HTTP (PATH=N'/Bbsdatabase', PORTS = (CLEAR), AUTHENTICATION = (NTLM), SITE=N'*', CLEAR_PORT = 80, COMPRESSION=ENABLED)
 FOR SOAP (
WEBMETHOD 'AddNewMsg'( NAME=N'[BBSdatabase].[dbo].[InsertNewMesg]'
, SCHEMA=DEFAULT
, FORMAT=ALL_RESULTS),
WEBMETHOD 'AddRecUser'( NAME=N'[BBSdatabase].[dbo].[InsertIntoUserProc]'
, SCHEMA=DEFAULT
, FORMAT=ALL_RESULTS),
WEBMETHOD 'CheckUserExist'( NAME=N'[BBSdatabase].[dbo].[CheckUserNameExistProc]'
, SCHEMA=DEFAULT
, FORMAT=ALL_RESULTS),
WEBMETHOD 'DataAccessList'( NAME=N'[bbsdatabase].[dbo].[CheckUserProc]'
, SCHEMA=DEFAULT
, FORMAT=ALL_RESULTS),
WEBMETHOD 'FindAllMsg'( NAME=N'[BBSdatabase].[dbo].[FindMsg]'
, SCHEMA=DEFAULT
, FORMAT=ALL_RESULTS),
WEBMETHOD 'InsertIntoBBSObj'( NAME=N'[BBSdatabase].[dbo].[InsertIntoBBSObjProc]'
, SCHEMA=DEFAULT
, FORMAT=ALL_RESULTS),
WEBMETHOD 'InterIntoBBSItem'( NAME=N'[BBSdatabase].[dbo].[InsertIntoBBsItem]'
, SCHEMA=DEFAULT
, FORMAT=ALL_RESULTS),
WEBMETHOD 'ListAllMsg'( NAME=N'[BBSdatabase].[dbo].[ListNewMsg]'
, SCHEMA=DEFAULT
, FORMAT=ALL_RESULTS),
WEBMETHOD 'ListBBsItem'( NAME=N'[BBSdatabase].[dbo].[ListBBsItem]'
, SCHEMA=DEFAULT
, FORMAT=ALL_RESULTS),
WEBMETHOD 'ListBBSObject'( NAME=N'[BBSdatabase].[dbo].[ListBBSOBJ]'
, SCHEMA=DEFAULT
, FORMAT=ALL_RESULTS),
WEBMETHOD 'ListUserProc'( NAME=N'[BBSdatabase].[dbo].[ListuserProc]'
, SCHEMA=DEFAULT
, FORMAT=ALL_RESULTS),
WEBMETHOD 'PrintUserInfo'( NAME=N'[BBSdatabase].[dbo].[SearchUserInfo]'
, SCHEMA=DEFAULT
, FORMAT=ALL_RESULTS), BATCHES=ENABLED, WSDL=N'[master].[sys].[sp_http_generate_wsdl_defaultcomplexorsimple]', SESSIONS=ENABLED, SESSION_TIMEOUT=60, DATABASE=N'BBSDatabase', NAMESPACE=N'http://ajax.dtlaizi.com/Bbsdatabase', SCHEMA=STANDARD, CHARACTER_SET=XML)
 
 
改正地方:AUTHENTICATION = (NTLM).
 
 

你可能感兴趣的:(sql,Ajax,server,2005,Tibco))