Export Soap Webservice from one project and import in another Causes an error

1
I was faced with a challenge of exporting a web service module to be imported into another mendix application. The importation is successful but there is an error at compile time see the stack trace below.There was no way i could fix this so i deleted the imported module. I became clever and then decided to create another new module in the new application and then imported one of the web service XSD and microflow. I got the same error in the modeler when i tried to edit the web service operation. What i noted was that the imported web service module with its XSD and microflow still maintain the other projects name instead of updating to the new one upon import. Is this a bug? What i did is i recreated the web services in the old system in the new system from scratch. I am lucky i had a few XSDs and Microflows, imagine you had a sizable number. Is there another fix? Here is the stack trace: System.NullReferenceException: Object reference not set to an instance of an object. at Mendix.Modeler.Integration.WebServices.PublishedOperation.CheckParameters(Problems problems, Boolean stringent) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\WebServices\Publish\PublishedOperation.cs:line 218 at Mendix.Modeler.Integration.WebServices.PublishedOperation.Check(Problems problems, Boolean stringent) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\WebServices\Publish\PublishedOperation.cs:line 204 at Mendix.Modeler.Integration.WebServices.PublishedOperation.UpdateFromMicroflow() in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\WebServices\Publish\PublishedOperation.cs:line 400 at Mendix.Modeler.Integration.WebServices.VersionedService.EditEntry(PublishedOperation operation, Boolean editable) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\WebServices\Publish\VersionedService.cs:line 376 at Mendix.Modeler.Integration.WebServices.VersionedServiceControl.FocusOnObject(Object obj, String details) in c:\jenkins\workspace\AppStudio-Integration-Modeler\src\modeler\Mendix.Modeler.Integration\WebServices\Publish\VersionedServiceControl.cs:line 268 at Mendix.Modeler.Common.ModalPropertiesEditorControl.FocusOnObject(Object obj, String details) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Modeler\Common\Editors\ModalPropertiesEditorControl.cs:line 71 at Mendix.Modeler.Common.ModalEditorForm.EditorForm_Shown(Object sender, EventArgs e) in c:\jenkins\workspace\AppStudio-Core-Modeler\src\modeler\Modeler\Common\Editors\ModalEditorForm.cs:line 91 at System.Windows.Forms.Form.OnShown(EventArgs e) at System.Windows.Forms.Form.CallShownEvent() at System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object obj) at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry tme) at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
asked
1 answers
0

You can delete the operation, add the same operation again and select the microflow. However, this is still a lot of work. Mendix is aware of this.

answered