Assume WSDL1 have an enumeration in the namespace {XYZ.MyEnum}
and WSDL2 have the same enumeration in the same namespace.
Now, parsing the 2 WSDL files, outsystems create 2 Static Entity with names MyEnum and MyEnum2
Which is a bit strange since they are the same enumeration in the same namespace in the 2 wsdl files.
Hi Mohamed,
True, its a bit strange. But it follows the same logic as the structures. Each web reference has it's own structures below it, instead of being defined at the module level. This ensures that each imported service is self contained.Due to current architecture limitations we could not place Entities below the correspondent Web Reference, but in the future we would like to upgrade them to be just like the structures keeping each web reference self contained. That is way the current implementation already presents the limitation it should have in the future.
Regards,João Rosado
João Rosado wrote:
Thank you João,
however, since the 2 enumeration are on the same namespace within both WSDL files, can't this be used to identify that they are actually a single entity/enumeration?
Mohamed Berayek wrote:
It's not that straightforward. You could be integrating with two different versions of the same WSDL, so they would have the same namespaces but the enum values could be different.
Another issue arises with refreshing. What would happen if there's a single static entity, shared by both services, but then you decide to refresh just one of the services? If the refresh needs to update the static entity, it would affect both services, even though you are only refreshing one of them.