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

쉽고 빠르게 지원 받기

신규 사용자이신가요?