M
MisterG
Hi,
I have an error when making a request to a webservice in managed code in my
Infopath form.
This is the error :
System.Security.SecurityException: Request for the permission of type
System.Net.WebPermission...
The web service is under Integrated Authentication in IIS 6.
BUT I don't have security issue when using DataConnection in my Infopath
form when making WS calls to other webservices : everything goes fine !
Here is my code :
GEN.GeneralService _generalService = new GEN.GeneralService();
_generalService.Credentials = CredentialCache.DefaultCredentials;
_generalService .GetCurrencyCodeByCountry(countryCode);
Thanks for your help.
I have an error when making a request to a webservice in managed code in my
Infopath form.
This is the error :
System.Security.SecurityException: Request for the permission of type
System.Net.WebPermission...
The web service is under Integrated Authentication in IIS 6.
BUT I don't have security issue when using DataConnection in my Infopath
form when making WS calls to other webservices : everything goes fine !
Here is my code :
GEN.GeneralService _generalService = new GEN.GeneralService();
_generalService.Credentials = CredentialCache.DefaultCredentials;
_generalService .GetCurrencyCodeByCountry(countryCode);
Thanks for your help.