AnsweredAssumed Answered

Custom Web Service and AFSDK Connection

Question asked by Giulio.Ottonelli on Mar 30, 2018
Latest reply on Apr 3, 2018 by gregor



In our web service we need to connect the AF Server with  authenticated client account in PI Vision, by a custom widget.

The web service runs under default application pool account and if we try to connect the AF Server the connection failed.


We try to pass the user name to the web service:


                    NetworkCredential credential = new NetworkCredential();

                    credential.UserName = User;

                    credential.Password = String.Empty;



but the connection failed because of the empy password. The passed user is mapped in the AF Server.


There is a way to pass network credential from PI Vision to a custom Web Service in order to connet AF Server with authenticated client account?

Thank you in advance for any replay.