OK, I got this to work. Here's how:
First, the stored proc:
CREATE PROCEDURE helloworld
(
@msg varchar(256)
)
AS
BEGIN
SELECT @msg
END
Now, test it.
exec helloworld 'helloworld'
Now, the endpoint:
CREATE ENDPOINT hello_endpoint
STATE = STARTED
AS HTTP
(
PATH = '/helloworld',
AUTHENTICATION = (INTEGRATED),
PORTS = (CLEAR),
CLEAR_PORT = 8080,
SITE = '*'
)
FOR SOAP
(
WEBMETHOD 'GetSqlInfo'
(
name='Test.dbo.helloworld',
FORMAT = ROWSETS_ONLY
),
WSDL = DEFAULT,
BATCHES = ENABLED,
DATABASE = 'Test'
)
GO
Now, in your web browser, type the following URL:
http://localhost:8080/helloworld?wsdl
At this point, I got the wsdl page.
Try it and let me know what you get.
Scott Klein
Author - Professional SQL Server 2005 XML
http://www.wrox.com/WileyCDA/WroxTit...764597922.html