How to invoke an OSGi service from outside the AEM instance?

Question

How to invoke an OSGi service from outside the AEM instance?

Answer

If the OSGi bundle contains a servlet, you can perform a GET or POST request. In addition, you can use the default Sling Post Servlet. For an example, see Using Sling Post Servlets to submit mobile data.

Adobe-logo

Aanmelden bij je account