Add-In consume web services ?

Are the add-ins allowed to consume web services Haven't had much success so far.

Answer this question

Add-In consume web services ?

  • SekharPC

    I have tried to call a method from at a webservice through the addin, but it throws an WebPermission-exception. So, this is also not allowed.
    It is also not possible to download information through a tcp or http session. (I've tried this using the WebClient-class).
    It is also not possible to read information from files. (I've tried this with the File.OpenRead method)
    That makes me thinking: is there any way to retrieve any information from the outside
    The only useful addin I can think of at the moment is an awnsering machine...

  • shlomim

    That will work. give it a try.


  • Dan Rogers

    Wonder if it helps if the DLL is strong named and added to the GAC. Will give it a try later.

    Just tried it and I get the "add-in has encountered and error and will be turned off: 80131508" message. Anyone else got any luck Am just testing against Google web service.


  • Prerna

    Try putting a try..catch around your code. Print the exception somewhere where you can see it.

  • Add-In consume web services ?