PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.db.ms-sqlserver > SQL server 2005 and geo web services
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
SQL server 2005 and geo web services

Réponse
 
LinkBack Outils de la discussion
Vieux 26/12/2007, 17h36   #1
Lauren Quantrell
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut SQL Server 2005 and Geo Web Services

I've been using SQL Server 2000 and am not familiar with all the new
features in 2005 but I understand it has the ability to make web
service calls.
Is there a way to write a stored procedure that passes street/city/
state data to a web service and returns latitude/longitude by simply
using a sproc?
Any is appreciated.
lq
  Réponse avec citation
Vieux 26/12/2007, 20h20   #2
Plamen Ratchev
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: SQL Server 2005 and Geo Web Services

In SQL Server 2005 you can use HTTP endpoints to expose stored procedures or
user defined functions as Web methods. Here are a couple good articles that
describe that:
http://www.developer.com/db/article.php/3390241
http://www.devx.com/dbzone/Article/28525

However, seems you need to consume a Web service within a stored procedure,
not to expose. This can be accomplished in SQL Server 2005 via CLR (Common
Language Runtime). The articles below will show you examples of doing that:
http://www.simple-talk.com/sql/sql-s...lr-assemblies/
http://davidhayden.com/blog/dave/arc...4/25/2924.aspx
http://blogs.msdn.com/sqlclr/archive...25/Vineet.aspx

Although doable, SQL Server may not be the best place to make Web service
calls. Perhaps having an external application that makes the call and passes
results to SQL Server will be a better architecture.

HTH,

Plamen Ratchev
http://www.SQLStudio.com

  Réponse avec citation
Vieux 27/12/2007, 05h03   #3
Lauren Quantrell
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut SQL server 2005 and geo web services

Plamen,
Thanks for the response. These links are exactly what I was looking
for. I have an Access front end so I'm looking for a solution that
will not require a seperate dot.net application to call the web
service.
lq

On Dec 26, 3:20pm, "Plamen Ratchev" <Pla...@SQLStudio.com> wrote:
> In SQL Server 2005 you can use HTTP endpoints to expose stored procedures or
> user defined functions as Web methods. Here are a couple good articles that
> describe that:http://www.developer.com/db/article..../Article/28525
>
> However, seems you need to consume a Web service within a stored procedure,
> not to expose. This can be accomplished in SQL Server 2005 via CLR (Common
> Language Runtime). The articles below will show you examples of doing that:http://www.simple-talk.com/sql/sql-s...25/Vineet.aspx
>
> Although doable, SQL Server may not be the best place to make Web service
> calls. Perhaps having an external application that makes the call and passes
> results to SQL Server will be a better architecture.
>
> HTH,
>
> Plamen Ratchevhttp://www.SQLStudio.com


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 07h31.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09257 seconds with 11 queries