April 13, 2020
Estimated Post Reading Time ~

Creating Adobe CQ bundles that consume web services

You can create an Adobe CQ bundle that consumes data from a third-party web service and then display the data on a web page. For example, assume that you use Adobe CQ to create a web site for a government department that tracks weather information. In this situation, you can create a CQ bundle that retrieves data from a third-party web service and display the data within a form located on a web page. The following illustration shows data being retrieved from a third-party web service and displayed in a JSP.

You can develop an OSGi bundle that contains Java proxy classes that were created by using JAX-WS or AXIS. That is, you can use a tool such as JAX-WS to generate the Java proxy classes that are based on the WSDL of an external web service. Then you can use these Java proxy classes within your OSGi bundle. The OSGi bundle that is created in this development article contains Java proxy classes that consume operations exposed by the following third-party WSDL:
http://wsf.cdyne.com/WeatherWS/Weather.asmx?WSDL

To read this article, click this link:
https://helpx.adobe.com/experience-manager/using/creating-cq-bundles-consume-web.html

Note: This article uses JAX-WS to generate the Java proxy classes. You can use Apache CXF. For information, see Creating Adobe CQ bundles using Apache CXF that consume web services.

Note: This article discusses using a WSDL to consume a web service.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.