Further attempts to fix the code generation of structures.
Getting closer to proper soap service resource generation.