Abstract
Goal
You have a AEM Dynamic Media instance and the requirement is to browse and get list of all folders in associated Scene7 account. The following standalone java program explores using the Scene7 wsdl IpsAPI to connect and browse....
Solution
1) Login to AEM CrxDe - http://localhost:4502/crx/de and get the Scene7 Company handle used in Dynamic Media configuration eg. /conf/global/settings/cloudconfigs/dmscene7/jcr:content
2) Open following AEM config page and from the list of scene7 endpoints get the one for your region (available in AEM DM configuration, step 1 above eg. northamerica-enterprise)
http://localhost:4502/libs/settings/dam/scene7/endpoints.html
3) Get the Scene7 IpsAPI wsdl SDK from AEM installation launchpad, by looking for the bundle number folder, copy to your program classpath folder and rename bundle.jar to versioned jar name eg. cq-scene7-wsdl-1.3.2.jar
4) In your standalone program eg. BrowseScene7Assets classpath add the following jars (available in Adobe Repo - https://repo.adobe.com/nexus/content/groups/public/)
C:\dev\projects\templibs\scene7\cq-scene7-wsdl-1.3.2.jar
C:\Users\\.m2\repository\commons-codec\commons-codec\1.11\commons-codec-1.11.jar
C:\Users\\.m2\repository\commons-httpclient\commons-httpclient\3.1\commons-httpclient-3.1.jar
C:\Users\\.m2\repository\commons-logging\commons-logging-api\1.1\commons-logging-api-1.1.jar
Read Full Blog
Q&A
Please use this thread to ask the related questions.
Kautuk Sahni