April 30, 2012

sp_http_generate_wsdl_defaultcomplexorsimple (Transact-SQL MetaData) Definition

Please note: that the following source code is provided and copyrighted by Microsoft and is for educational purpose only.
The meta data is from an SQL 2012 Server.

I have posted alot more, find the whole list here.

Goto Definition or MetaData

Definition:

sys.sp_http_generate_wsdl_defaultcomplexorsimple(int @EndpointID
, bit @IsSSL
, nvarchar @Host
, nvarchar @QueryString
, nvarchar @UserAgent)

MetaData:

   
create procedure sys.sp_http_generate_wsdl_defaultcomplexorsimple
@EndpointID int,
@IsSSL bit,
@Host nvarchar(256),
@QueryString nvarchar(256),
@UserAgent nvarchar(256) as
begin
select @QueryString = LOWER (@QueryString collate Latin1_General_CI_AS)
if @QueryString = N'wsdl'
begin
exec sys.sp_http_generate_wsdl_complex @EndpointID, @IsSSL, @Host, N'wsdl', @UserAgent
return
end
if @QueryString = N'wsdlsimple'
begin
exec sys.sp_http_generate_wsdl_simple @EndpointID, @IsSSL, @Host, N'wsdl', @UserAgent
return
end
if @QueryString = N'wsdlcomplex'
begin
exec sys.sp_http_generate_wsdl_complex @EndpointID, @IsSSL, @Host, N'wsdl', @UserAgent
return
end
raiserror(17885, 16, 1)
end

No comments:

Post a Comment

Total Pageviews