Setting up publishing for Experience Manager
To be able to publish to an Experience Manager-enabled Content Delivery environment, the Preview Service and the Session-enabled Content Service must have been set up on the Content Delivery side, and their Capability must have been registered with its Discovery Service. To find out if Experience Manager is set up properly, run the command java -jar discovery-registration.jar read and verify that PreviewWebServiceCapability and ContentServiceCapability are mentioned in the result.