July 7, 2014 at 4:38 am
Hi,
I want to post a XML string to an url
ex : http://mytestsite.com/adiunit/samp.aspx?xml=nxml
where nxml is an xml string
so when user hits the url he can view the xml content on the browser.
How can I do this using storedproc.?
Thanks in advance.
July 7, 2014 at 6:44 am
SQL server is probably not the target platform you want to use for this; is this supposed to send / retrieve information from the web service and return it to a user, or just blindly send to your web service?
anyway, to do it via SQL server,you will have to create and use a CLR(Common Language Runtime) procedure which is specifically designed to call your web service with the appropriate parameters, and consume any answers back.
there's lots of examples out there, does this help?
https://www.google.com/search?q=SQL+CLR+to+call+a+web+service&oq=SQL+CLR+to+call+a+web+service
Lowell
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply