TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Basit Khan
NA
336
121.6k
How to pass ASMX services security username & password in SQ
Dec 31 2016 2:55 AM
Hi,
I have created asmx services on insert trigger. its successfully working also.
after that i have added security for asmx services.
<authorization>
<deny users="*" />
<allow users="basit, sss" />
</authorization>
i created below code and its working successfully.
set @URL=N'http://localhost/Test/WebService1.asmx/Frm_SendNotification?LsM_Message='test'
EXEC @rc = sp_OACreate 'MSXML2.ServerXMLHTTP', @objServHTTP OUT
EXEC @rc = sp_OAMethod @objServHTTP, 'open', NULL, 'GET', @URL
EXEC @rc = sp_OAMethod @objServHTTP, 'send'
EXEC @rc = sp_OADestroy @objServHTTP
but how to pass asmx username and password
Thanks
Basit.
Reply
Answers (
1
)
How can be our db is light and fast
10000 record display GridView in paging with 1000 using sql.