From Adobe CQ5 help http://helpx.adobe.com/adobe-cq/using/creating-cq-bundles-consume-web.html, I noticed that we can use OSGi bundle to consume 3rd party webservice.
Please let me know whether the same solution mentioned in the link works for Adobe CQ 5.4 version. If not, please provide me the link for consuming webservice in Adobe CQ 5.4
Solved! Go to Solution.
We have had community feedback that this approach does work with CQ 5.4. All we are doing here is wrapping Java proxy classes that consume the WSDL into an OSGi bundle and configuring the sling props file to use sun classes. Add the following line of code to the sling props file as discussed in the article:
sling.bootdelegation.com.sun=com.sun.*
Hope this helps
Hi Venkatesh,
To add on to this thread, you can also refer to the following links:
You could also try to find if there is already a OSGI bundle exist for above jars. For example for above jars you might get OSGI bundle from http://www.knopflerfish.org/releases/2.0.0/jars/axis-osgi/axis-osgi_all-0.1.0.html
Please note that CRXDE doesn't include *any* project jar files. The project class path is dynamically built from the jar files deployed in-content on the server. The projects classpath can be customized by dragging additional jar files into the etc/crxde/profiles/default/libs folder and running "Build/Refresh Classpath" from the context menu.
However, you can also go to CRXDE -> Package Explorer -> .classpath.xml file and add jar file location for your jar file. you can add following line in the end of .classpath file like:
<classpathentry kind="lib" path="WebContent/etc/crxde/profiles/default/libs/<JarName>.jar"/>
Hope this is helpful.
Thanks,
Gaurav
Views
Replies
Total Likes
Hi Venkatesh,
You can refer to Configuring OSGi article for CQ 5.4 version. I hope this would help to answer your question. I have also requested our Product Experts to help you in this regards.
Please let me know in case need any further information here.
Thanks
Views
Replies
Total Likes
We have had community feedback that this approach does work with CQ 5.4. All we are doing here is wrapping Java proxy classes that consume the WSDL into an OSGi bundle and configuring the sling props file to use sun classes. Add the following line of code to the sling props file as discussed in the article:
sling.bootdelegation.com.sun=com.sun.*
Hope this helps
Views
Likes
Replies