Connect AF database in a webservice

Discussion created by Viju on Oct 10, 2012
Latest reply on Oct 12, 2012 by mhamel





Whenever I try to connect AF database in a webservice my webmethod is not invoked


Is there any other method to connect AF database. Again when i debug this code it works perfectly but when I delpoy the same in IIS the webmethod is not invloked and i dont get error also. Can someone help me with this


My code is




Dim _pisystems as new PISystems


Dim _pisystem as PiSystem = _pisystems(AFServername)




if i remove or comment this piece of code my webservice works.


I want to use this webservice as a Delivery Channel in Pi Notification