This content has been marked as final. Show 3 replies
Can anybody help me with this? Please...
From the error you showed it seems you have upgraded your SDK version, but not the builder. The problem you are experiencing comes from the fact that the one of the SDK classes (the SchemaTypeRegistry) has been updated from a static to a dynamic class. Therefore, using the getClass() call on it will not work any more. Also, the lines that register type mappings won't work.
We've updated the generated code, but it seems you are running on an older version. Now, to fix your code you have to:
1. Locate all occurences where the SchemaTypeRegistry class is called as a static class.
2. Replace the SchemaTypeRegistry part from the method calls with SchemaTypeRegistry.getInstance(), like this:
SchemaTypeRegistry.registerClass(params) becomes SchemaTypeRegistry.getInstance().registerClass(params)
The problem is that when you re-generate the code you will have to re-do all these changes again.
Hope this helps,
Thanks, Cristian. That solved the problem.
BTW, I'm using the nightly build of the SDK for 10/31/2007. Is there a better one?
Any chance we can get an updated version of the wizard that generates correct code?