Home > Forum > Actions > Error when changing SOAP Action Template

Error when changing SOAP Action Template
0

Hello to everybody,

today I encountered an issue within WEBCON BPS V. 2022.1.2.59 that was reproducable and maybe this hint may help someone having a similar issue:

I raised a SOAP web service action template some weeks ago in the version mentioned and today was forced to change it as new parameters had been added to the listener that I needed to add to the configuration.
I was able to enter all setups as requested and to leave the configuration sub dialog. When I wanted to save the entire process including the new configuration I received an error telling: There was an issue within the table storing the web service configuration caused by a value NULL.

Testing around I found this work around:
1) Delete the web service action template you want to change.
2) Rebuild it from scratch.

This leads the action template to receive a new ID within the database and you will be able to save it.

This error was reproducable also with an action being added to a path. So, I assume that it is more a general aspect instead of being linked to action templates only.

The picture added shows the error message.

Here follows the error message (in German language, sorry for this):
Typ: WebCon.WorkFlow.Studio.Logic.Exceptions.WebserviceSaveException
-------------------------------------------------------

Nachricht: Exception occurred while importing table ConfiguredWebServices
-------------------------------------------------------

Aufrufstapel
-------------------------------------------------------
bei WebCon.WorkFlow.Studio.Logic.PortalService.PortalService.d__123.MoveNext()

--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---

bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

bei WebCon.WorkFlow.Studio.Logic.PortalService.PortalService.d__121.MoveNext()

--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---

bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

bei WebCon.WorkFlow.Studio.Logic.Managers.WebServiceManager.d__116.MoveNext()

--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---

bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

bei WebCon.WorkFlow.Studio.Logic.Managers.ProcessesManager.d__18.MoveNext()

--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---

bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

bei WebCon.WorkFlow.Studio.Logic.Managers.ProcessesManager.d__24.MoveNext()

--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---

bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

bei WebCon.WorkFlow.Studio.Logic.Managers.ProcessesManager.d__12.MoveNext()

--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---

bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

bei WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessController.<>c__DisplayClass162_0.<b__1>d.MoveNext()

--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---

bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()

bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

bei WebCon.WorkFlow.Studio.Forms.ModuleProcess.ProcessController.d__160`1.MoveNext()
-------------------------------------------------------


*******************************************************
Interner Fehler (WebserviceSaveException)
*******************************************************

Typ: WebCon.WorkFlow.Studio.Logic.Exceptions.WebserviceSaveException
-------------------------------------------------------

Nachricht: Exception occurred while importing table ConfiguredWebServices
-------------------------------------------------------

Aufrufstapel
-------------------------------------------------------
bei WebCon.WorkFlow.Base.ImportExport.Import.TableImporter.ImportTable(IDbNode node, ImportVerificationResult verificationResult)

bei System.Linq.DataEnumerable.ForEach[T](IEnumerable`1 _this, Action`1 action)

bei WebCon.BPSCloud.Core.Studio.ImportExport.PortalImportManager.Save(ImportVerificationResult verificationResult, IImportLogger importLogger, String appVersion)

bei WebCon.BPSCloud.Core.Studio.ApplicationSaver.SaveMappingLists(MappingList model, MappingList deleteModel, String appVersion, PermissionModel[] archive)

bei WebCon.BPSCloud.Core.Studio.ApplicationSaver.Save(Stream content, Action`2 beforeSaveCheck)
-------------------------------------------------------


*******************************************************
Interner Fehler (WebserviceSaveException)
*******************************************************

Typ: WebCon.WorkFlow.Studio.Logic.Exceptions.WebserviceSaveException
-------------------------------------------------------

Nachricht: Verletzung der UNIQUE KEY-Einschränkung "UQ_ConfiguredWebServices_CWS_ACTID_CWS_WFSID". Ein doppelter Schlüssel kann in das dbo.ConfiguredWebServices-Objekt nicht eingefügt werden. Der doppelte Schlüsselwert ist (260, ).

Die Anweisung wurde beendet.
-------------------------------------------------------

Aufrufstapel
-------------------------------------------------------
bei System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)

bei System.Data.Common.DbDataAdapter.UpdatedRowStatus(RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)

bei System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows, DataTableMapping tableMapping)

bei System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable dataTable, DataTableMapping tableMapping)

bei System.Data.Common.DbDataAdapter.Update(DataTable dataTable)

bei MyGeneration.dOOdads.BusinessEntity.Save()

bei WebCon.WorkFlow.Data.ImportExport.Graph.DbNode`2.AddOrUpdate(IDictionary`2 dictionary, TEntity saveEntity)

bei WebCon.WorkFlow.Data.ImportExport.Graph.DbNode`2.SaveEntities(IList`1 data)

bei WebCon.WorkFlow.Base.ImportExport.Import.TableImporter.ImportRows(IDbNode node, ForeignKeyFinder foreignKeyFinder, List`1 entitiesToImport, ICustomImport customImport, ImportVerificationResult verificationResult)

bei WebCon.WorkFlow.Base.ImportExport.Import.TableImporter.ImportTable(IDbNode node, ImportVerificationResult verificationResult)
-------------------------------------------------------

Did you know that with WEBCON you can automate virtually any process? Even baking cookies 🍪
 
Speaking of cookies: we use the ones that are essential for our website to function properly, as well as additional ones that help us customize our content to your preferences. If you don’t mind cookies, click Accept. If you want to learn more, explore settings.
Settings