All,
Has anyone had experience using the web service event with complex return types? I have a service that I have defined using the schema-first approach. The return values is the only complex part, however, after importing the schema I am confronted with the following problems:
1. The WebService Event in Studio does not recognise complex return types and always return a compatibility error message. This is even when I attach the return value to the root of the schema.
2. The data contained within the returned object once in the XML instance variable is in no way validated against the schema, i.e. I can write alpha into integer fields.
3. Almost all the XML definition attributes within the schema are rejected, for example min and max occurences as well as the isnull. This is easy to verify as the newly imported full schema can be exported and compared.
To cut to the chase; does anyone have any hints or tips on what is going on here and how I can use the schema to its fullest within Studio? Additionally, have others experienced integrating webservices with more complex structures other than string, int, etc.?
Currently, I see no other option other than coding the complete validation within custom code and/or providing an enhanced Event for such a purpose.
Regards
Graham
XML Schema support woes in K2.net Studio
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.