Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Needed the implementation getScriptPaths(String[] servicePaths) method from com.day.cq.wcm.webservicesupport.impl.ServiceLibFinderImpl ???

Avatar

Avatar
Validate 1
Level 2
samsundar23
Level 2

Likes

4 likes

Total Posts

59 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
samsundar23
Level 2

Likes

4 likes

Total Posts

59 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile
samsundar23
Level 2

06-07-2020

I could not find the method getScriptPaths(String[] servicePaths) from com.day.cq.wcm.webservicesupport.impl.ServiceLibFinderImpl anywhere.

Moreover I need to do some customizations in particular to that method.

Where can I find the implementation part of the getScriptPaths method.

Kindly help.

Replies

Avatar

Avatar
Affirm 50
MVP
Vaibhavi
MVP

Likes

216 likes

Total Posts

181 posts

Correct Reply

61 solutions
Top badges earned
Affirm 50
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile

Avatar
Affirm 50
MVP
Vaibhavi
MVP

Likes

216 likes

Total Posts

181 posts

Correct Reply

61 solutions
Top badges earned
Affirm 50
Validate 1
Ignite 1
Give Back 5
Give Back 3
View profile
Vaibhavi
MVP

06-07-2020

Hi @samsundar23 

You can find the getScriptPaths(String[] servicePaths) method as part of cq-wcm-webservice-support-5.11.22.jar

Location:

1.Navigate to http://localhost:4502/system/console/bundles

2.Search for com.day.cq.wcm.cq-wcm-webservice-support bundle.

3. Check the bundle location.

launchpad:resources/install/0/cq-wcm-webservice-support-5.11.22.jar

osgi.PNG

4. You can find the jar under the below path. 

\crx-quickstart\launchpad\installer\rsrc-cq-wcm-webservice-support-5.11.26.jar-1593790028254.ser

5. Use java decompiler where you can find ServiceLibFinderImpl.java where getScriptPaths(String[] servicePaths) implementation is available.

testclass.PNG

Avatar

Avatar
Validate 1
Level 2
samsundar23
Level 2

Likes

4 likes

Total Posts

59 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile

Avatar
Validate 1
Level 2
samsundar23
Level 2

Likes

4 likes

Total Posts

59 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Ignite 3
Ignite 1
Give Back 3
Give Back
View profile
samsundar23
Level 2

17-07-2020

Thank you