Hi Leszek,
this will not work.
Listener Notifications do not have any substitutable values.
Only Connections and Listeners do, but Listeners are not recognized by Deployer for variable susbtitution (at least up to 9.5).
We are using the following approach:
One package for the Connections and Listeners (one for each system), which will not be deployed but manually created on each target through Admin UI.
One Package for each System, containing the Listener and the corresponding first service.
One package for the shared DocTypes and Services.
In the system specific package in the first service map the document to the shared DocType and then invoke the shared service(s).
The system specific packages and the shared package can then be deployed without further modifications.
Regards,
Holger
#webMethods#Integration-Server-and-ESB#Adapters-and-E-Standards