Release : 8.6
Gen Engineering explained that the generated code already contains checks for exceeding attribute length and permitted value violations checks but in each case, the resulting exception is failing to be handled properly under WebSphere and also under WebLogic.
Under JBoss each exception is handled successfully and error messages are returned for attribute length and permitted value violations e.g.
Unmarshalling Error: Property ... cannot be more than ... characters
Unmarshalling Error: Permitted value violation for property ... value: '...'
Engineering later advised that the current code design to handle attribute length and permitted value violations cannot easily be made to work for WebSphere (and WebLogic) in its current form. So Engineering is going to have to enhance it to be compatible with all Gen supported Application Servers and their SOAP Web Service stacks. This fix will be published in a future PTF.