SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Endpoints


Endpoints

Author
Message
Steve Jones
Steve Jones
SSC Guru
SSC Guru (332K reputation)SSC Guru (332K reputation)SSC Guru (332K reputation)SSC Guru (332K reputation)SSC Guru (332K reputation)SSC Guru (332K reputation)SSC Guru (332K reputation)SSC Guru (332K reputation)

Group: Administrators
Points: 332590 Visits: 20119
Comments posted to this topic are about the item Endpoints

Follow me on Twitter: @way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
My Blog: www.voiceofthedba.com
kapil_kk
kapil_kk
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10709 Visits: 2778
AS per the explanation:
"You can create three payload types in SQL Server 2012: TCP, Service Broker, and Database Mirroring endpoints. SOAP endpoints were removed in SQL Server 2012."

When I refer to this link:
http://msdn.microsoft.com/en-in/library/ms162560.aspx

I found that SOAP is still in list of payload types.

_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
Mighty
Mighty
SSCertifiable
SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)

Group: General Forum Members
Points: 6104 Visits: 1858
Shouldn't TCP in the answers be TSQL?
TCP is one of the two protocols that can be used, TSQL is a payload type.
sfayer
sfayer
SSC-Addicted
SSC-Addicted (447 reputation)SSC-Addicted (447 reputation)SSC-Addicted (447 reputation)SSC-Addicted (447 reputation)SSC-Addicted (447 reputation)SSC-Addicted (447 reputation)SSC-Addicted (447 reputation)SSC-Addicted (447 reputation)

Group: General Forum Members
Points: 447 Visits: 186
kapil_kk (4/12/2013)
AS per the explanation:
"You can create three payload types in SQL Server 2012: TCP, Service Broker, and Database Mirroring endpoints. SOAP endpoints were removed in SQL Server 2012."

When I refer to this link:
http://msdn.microsoft.com/en-in/library/ms162560.aspx

I found that SOAP is still in list of payload types.



I agree I looked this up in BOL and found the same quote!!

Steve
Carlo Romagnano
Carlo Romagnano
SSChampion
SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)SSChampion (12K reputation)

Group: General Forum Members
Points: 12431 Visits: 3518
sfayer (4/12/2013)
kapil_kk (4/12/2013)
AS per the explanation:
"You can create three payload types in SQL Server 2012: TCP, Service Broker, and Database Mirroring endpoints. SOAP endpoints were removed in SQL Server 2012."

When I refer to this link:
http://msdn.microsoft.com/en-in/library/ms162560.aspx

I found that SOAP is still in list of payload types.



I agree I looked this up in BOL and found the same quote!!

Steve

+1
But, starting from SQL Server 2008: Native XML Web Services (SOAP/HTTP endpoints) is deprecated. For more information, see Native XML Web Services: Deprecated in SQL Server 2008.
So, in 2012 is removed!
PurpleLady
PurpleLady
SSCertifiable
SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)SSCertifiable (5.9K reputation)

Group: General Forum Members
Points: 5863 Visits: 1109
Actually deprecated does not mean removed - it means currently supported but will be removed in future versions. So SOAP is a valid type.



Hugo Kornelis
Hugo Kornelis
SSC-Dedicated
SSC-Dedicated (34K reputation)SSC-Dedicated (34K reputation)SSC-Dedicated (34K reputation)SSC-Dedicated (34K reputation)SSC-Dedicated (34K reputation)SSC-Dedicated (34K reputation)SSC-Dedicated (34K reputation)SSC-Dedicated (34K reputation)

Group: General Forum Members
Points: 34670 Visits: 13127
PurpleLady (4/12/2013)
Actually deprecated does not mean removed - it means currently supported but will be removed in future versions. So SOAP is a valid type.

No, it is not. SOAP was deprecated in SQL Server 2008, and removed in SQL Server 2012. That may be unusual (normally deprecated features are kept around for a while), but it is true. The documentation Steve links to in the explanation is correct, the conflicting information found by Kapil_kk is incorrect.

Proof:
SELECT @@VERSION;
-- Code copied from SQL 2008 version of Books Online
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


Microsoft SQL Server 2012 (SP1) - 11.0.3128.0 (X64) 
Dec 28 2012 20:23:12
Copyright (c) Microsoft Corporation
Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)


Msg 7878, Level 16, State 1, Line 2
This "CREATE ENDPOINT" statement is not supported on this edition of SQL Server.



Hugo Kornelis, SQL Server/Data Platform MVP (2006-2016)
Visit my SQL Server blog: http://sqlblog.com/blogs/hugo_kornelis
batgirl
batgirl
Hall of Fame
Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)Hall of Fame (3.2K reputation)

Group: General Forum Members
Points: 3247 Visits: 1820
From http://technet.microsoft.com/en-us/library/ms181591.aspx :

"The payload can be one of several supported types: Transact-SQL, service broker, database mirroring.

Note
Native XML Web Services (SOAP/HTTP endpoints) was removed in SQL Server 2012"
kapil_kk
kapil_kk
SSChampion
SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)SSChampion (10K reputation)

Group: General Forum Members
Points: 10709 Visits: 2778
Hugo Kornelis (4/12/2013)
PurpleLady (4/12/2013)
Actually deprecated does not mean removed - it means currently supported but will be removed in future versions. So SOAP is a valid type.

No, it is not. SOAP was deprecated in SQL Server 2008, and removed in SQL Server 2012. That may be unusual (normally deprecated features are kept around for a while), but it is true. The documentation Steve links to in the explanation is correct, the conflicting information found by Kapil_kk is incorrect.

Proof:
SELECT @@VERSION;
-- Code copied from SQL 2008 version of Books Online
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


Microsoft SQL Server 2012 (SP1) - 11.0.3128.0 (X64) 
Dec 28 2012 20:23:12
Copyright (c) Microsoft Corporation
Developer Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1)


Msg 7878, Level 16, State 1, Line 2
This "CREATE ENDPOINT" statement is not supported on this edition of SQL Server.

Actually I was not aware of the ENDPOINT thing so first I search on BOL and find that SOAP is still in 2012 so I post that link...

_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
sestell1
sestell1
SSCertifiable
SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)SSCertifiable (6.1K reputation)

Group: General Forum Members
Points: 6088 Visits: 3693
Mighty (4/12/2013)
Shouldn't TCP in the answers be TSQL?
TCP is one of the two protocols that can be used, TSQL is a payload type.


I was wondering this myself. The documentation for creating an endpoint lists TCP as the only protocol you can select. The possible endpoints are listed as { TSQL | SERVICE_BROKER | DATABASE_MIRRORING }.

http://technet.microsoft.com/en-us/library/ms181591.aspx
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum








































































































































































SQLServerCentral


Search