I have two composite services and two component services (each associated to a component with different implementation) - all services have the same name. The tooling shows error markers with the message: "Duplicate Name: The name "GreetingService" must be unique among services, references and component services."
But it is possible to deploy such an application, with no warning from the maven-switchyard-plugin and no warning from the runtime. If bindings on those services are invoked (each contains HTTP binding with a different context path), then one component implementation is invoked each time.
It should be disallowed to deploy such an application.
See the attached reproducer for more details.