While transferring data from one Mendix Application to another Mendix application via webservices, the error below occurred. An error has occurred while handling the request. [User 'MxAdmin' with roles 'MxAdmin'] > com.mendix.core.CoreException: Exception occurred in action 'Microflow [Capture.WS_SaveApplicationToArchive]', all database changes executed by this action were rolled back at com.mendix.core.actionmanagement.CoreAction.d(SourceFile:553) Caused by: com.mendix.core.CoreException: Exception occurred in microflow 'Capture.WS_SaveApplicationToArchive' for activity 'Call web service 'SendListOfApplicationsToArchive'', all database changes executed by this microflow were rolled back at kM.b(SourceFile:252) Caused by: com.mendix.systemwideinterfaces.MendixRuntimeException: com.mendix.modules.webservices.WebserviceException: Attribute 'ContainNotes' is not optional but mapped value 'Capture.Application.Capture.Application.ContainNotes' is null > at fk.a(SourceFile:75) > Caused by: com.mendix.modules.webservices.WebserviceException: > Attribute 'ContainNotes' is not > optional but mapped value > 'Capture.Application.Capture.Application.ContainNotes' > is null > at m.a(SourceFile:183) > at fk.a(SourceFile:63) The attribute 'Contain Notes' is of type boolean in both applications. If I select the return types at the published webservice side, booleans cannot be marked as optional. How is it possible that booleans are null on the other side which consumes the webservice? The default value are set to 'false' at both applications.
Did you check the security? Attributes might stay null when you have no permission.