Web Service and Event Listener API
Hi,
We developped a custom plug-in to listen to the Create Issue event and write information to another database.
We would also like to update a custom field in the issue just created. We tried to do that with the web services. Our web services code work just fine when executed from a test program. However, it doesn't work if it is executed through the plug-in.
We get the following error in the Gemini system log
at
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly,
Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor,
Boolean& bNeedSecurityCheck) at
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache)
at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean
skipVisibilityChecks, Boolean fillCache) at
System.Activator.CreateInstance(Type type, Boolean nonPublic) at
CounterSoft.Gemini.Business.Events.GeminiEventDispatcher.LoadPlugins(String
strPath)
Our questions are:
- is it possible to call the web services from the Event Listerner API.
- if not what would be the best way to achieve our goal?
Thanks
ogaumond
· 1 |
|
Thursday, May 28, 2009, 9:47:13 PM |