내 커뮤니티 업적 표시줄을 확대합니다.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.

해결됨

Is it good approach to develop a web services in CQ itself?

Avatar

Level 3

Hi,

I need to develop a web services and it needs to be hosted in Adobe CQ. I knew that CQ consume web services from other systems. We will need to create a OSGI bundle for this. I heard that Adobe not recommended to develop web services in CQ. Is it good approach to develop a web services in CQ itself? What happens if we host it in CQ?

Please share your feedback.

Thanks,

1 채택된 해결책 개

Avatar

정확한 답변 작성자:
Level 10

As shown in these 2 reponses - CQ supports consuming a soap stack. However - CQ does not expose a SOAP web service. But - CQ does support third party apps sending HTTP Requests to CQ and CQ performing an action and returning data in an HTTP Response. This is really what a SOAP web service (that exposes a WSDL) is. 

You can write a custom Sling Servlet, the SLing Servlet can call other services or perform tasks using Java within CQ and return a HTTP Response that contains data to the invoking app. So CQ supports HTTP Restful web service. 

We have an example of that in this article. A Java app sends an HTTP request and posts data to a CQ Servlet.

[img]app.png[/img]

See: http://helpx.adobe.com/experience-manager/using/post_files.html

원본 게시물의 솔루션 보기

3 답변 개

Avatar

Level 10

Hi There,

Thanks for reaching out to Adobe Community.

You may want to read the community article:

http://helpx.adobe.com/experience-manager/using/creating-cq-bundles-consume-web.html

Thanks!

Avatar

Level 10

if you want to consume 3rd party application through SOAP API, you can create webservices within CQ and host it 

Avatar

정확한 답변 작성자:
Level 10

As shown in these 2 reponses - CQ supports consuming a soap stack. However - CQ does not expose a SOAP web service. But - CQ does support third party apps sending HTTP Requests to CQ and CQ performing an action and returning data in an HTTP Response. This is really what a SOAP web service (that exposes a WSDL) is. 

You can write a custom Sling Servlet, the SLing Servlet can call other services or perform tasks using Java within CQ and return a HTTP Response that contains data to the invoking app. So CQ supports HTTP Restful web service. 

We have an example of that in this article. A Java app sends an HTTP request and posts data to a CQ Servlet.

[img]app.png[/img]

See: http://helpx.adobe.com/experience-manager/using/post_files.html