You must regenerate all client stubs into your application using the fglwsdl tool. This is mandatory because the generated code is based on the low-level COM and XML APIs and is completely different from versions prior to 2.1x; otherwise, you won't be able to execute the code.