What do you mean with “a normal integer” as response? You’ve a SOAP webservice, so you have to use the SOAP protocol, also for your response. I suppose that Mendix 8.x is more strict to check the expected protocol and format.
This is what i mean – Soap Response – WSDL determines that its a primitive type. In this case i am getting the errors back.