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. Consuming a web service using a stored procedure

Consuming a web service using a stored procedure

Scheduled Pinned Locked Moved Database
databasesql-serverhelpcareer
2 Posts 2 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.
  • M Offline
    M Offline
    Mohammad Al Hoss
    wrote on last edited by
    #1

    Hi all I am trying to consume a webservice using TSQL but I am getting a null result The method URL is http://localhost/SSISWebservice/service1.asmx The invoked url is http://localhost/SSISWebservice/service1.asmx/HelloWorld I found two samples and used them on a local web service but both of them did not get result s or generated an error. thanks

    Mohammad Al Hoss Development To Me Is A Pleasure more than a Job

    L 1 Reply Last reply
    0
    • M Mohammad Al Hoss

      Hi all I am trying to consume a webservice using TSQL but I am getting a null result The method URL is http://localhost/SSISWebservice/service1.asmx The invoked url is http://localhost/SSISWebservice/service1.asmx/HelloWorld I found two samples and used them on a local web service but both of them did not get result s or generated an error. thanks

      Mohammad Al Hoss Development To Me Is A Pleasure more than a Job

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Are you using MSXML2.XMLHTTP and TSQL, or are you using a CLR-sproc to read the webservice? If you're using the XMLHTTP variant, then you might want to check whether OLE-automation is enabled;

      sp_configure 'show advanced options', 1;
      GO
      RECONFIGURE;
      GO
      sp_configure 'Ole Automation Procedures', 1;
      GO
      RECONFIGURE;
      GO

      Hope this helps :)

      I are Troll :suss:

      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