6
Views
1
Comments
Consume REST web service - structures are defined as global variables?
Question
When multiple web services are consumed, for example SERVER1 and SERVER2 - shouldn't the structures be defined locally rather than globally? completely unrelated web services.




It shows that all structures are globally defined, no matter if it is a separate web service.
2012-03-16 12-21-09
João Rosado
Staff
Hi Robert,

Yes, since there is no concept of namespaces in the current language all the Structures/Entity names must be  globally unique inside a module.
This prevents a more complex user interface on the Type Properties / Type Editor.

That (and the same applied to actions) is in fact a nice improvement suggestion that have already been considered multiple times, but it will require major interfaces and language changes to be made possible.
 

Regards,
João Rosado
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.