Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Stored Proc & Web service

Stored Proc & Web service

Scheduled Pinned Locked Moved Database
databasesql-serversysadminquestion
5 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vamsimohan21
    wrote on last edited by
    #1

    Is it possible to call a web service from Stored Procedure (Sql Server 2000), If so how can we achieve this?

    Thanks In Advance

    W V 2 Replies Last reply
    0
    • V vamsimohan21

      Is it possible to call a web service from Stored Procedure (Sql Server 2000), If so how can we achieve this?

      Thanks In Advance

      W Offline
      W Offline
      Wendelius
      wrote on last edited by
      #2

      vamsimohan21 wrote:

      Is it possible to call a web service from Stored Procedure (Sql Server 2000)

      One way could be to create a program that calls the web service and use for example xp_cmdshell to call this program.

      The need to optimize rises from a bad design.My articles[^]

      D 1 Reply Last reply
      0
      • V vamsimohan21

        Is it possible to call a web service from Stored Procedure (Sql Server 2000), If so how can we achieve this?

        Thanks In Advance

        V Offline
        V Offline
        Vimalsoft Pty Ltd
        wrote on last edited by
        #3

        Its not a Good idea. Why Dont you call a Stored a Stored Procedure from a Web Service?

        Vuyiswa Maseko, Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers." C#/VB.NET/ASP.NET/SQL7/2000/2005/2008 http://www.vuyiswamaseko.tiyaneProperties.co.za vuyiswam@its.co.za

        1 Reply Last reply
        0
        • W Wendelius

          vamsimohan21 wrote:

          Is it possible to call a web service from Stored Procedure (Sql Server 2000)

          One way could be to create a program that calls the web service and use for example xp_cmdshell to call this program.

          The need to optimize rises from a bad design.My articles[^]

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          Mika Wendelius wrote:

          xp_cmdshell

          Not recommended because this opens a high-risk security hole. IMHO, xp_cmdshell should be avoided at all costs.

          A guide to posting questions on CodeProject[^]
          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
               2006, 2007, 2008

          W 1 Reply Last reply
          0
          • D Dave Kreskowiak

            Mika Wendelius wrote:

            xp_cmdshell

            Not recommended because this opens a high-risk security hole. IMHO, xp_cmdshell should be avoided at all costs.

            A guide to posting questions on CodeProject[^]
            Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                 2006, 2007, 2008

            W Offline
            W Offline
            Wendelius
            wrote on last edited by
            #5

            Dave Kreskowiak wrote:

            Not recommended because this opens a high-risk security hole

            True in many cases, but with Sql Server 2000 that was the only way that came in mind.

            The need to optimize rises from a bad design.My articles[^]

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups