Inside Activate
...
Other
Updating Service Desk System Ticket Notes from the Activate Portal
4 min
issue updating notes with service desk connector with service desk connectors, sometimes the ability to update the notes on the ticket does not work when everything else regarding logging a new ticket polling etc will work the underlying reason is that the task of updating the notes on a ticket happens in the context of the iis application pool of the activate web service this has two consequences that need to be investigated authentication this will usually not be a problem as usually we have a service desk user that will be used in all connections, however if the iis app pool is running in the context of another user, and if we are using pass through authentication in the calls to the service desk api then the user that the iis app pool runs as needs to have the permission to be able to update the notes within the service desk product proxy settings if the environment has a web proxy prohibiting outward bound connections then there are code changes that need to be made when a call to a web service is made from the job service then the call will respect the proxy settings set in the windows server profile of the job service account this will mean that the proxy settings will work however, when a call to a web service is made from the iis app pool, the proxy setting of the iis app pool user are not used, they have to be specified there are two places to do this in the iis web config of activate you can add the following section \<system net> \<defaultproxy usedefaultcredentials="true"> \<proxy proxyaddress="http //proxy customer co nz\ port" bypassonlocal="true" /> \</defaultproxy> \</system net> in code (usually the preferred method) the following can be done public string webproxy { get { if( webproxy!=null) return webproxy; webproxy = sdresource\["webproxy"] as string; return webproxy; } } public httpwebrequest getwebrequest(string requesturl, httpverb method) { httpwebrequest request = webrequest create(requesturl) as httpwebrequest; icredentials cred; cred = system net credentialcache defaultnetworkcredentials; request proxy = new webproxy(webproxy,true, null,cred); }