ACSCE-5X practice question 14 of 15
Which of the following URLs are a valid base for accessing the Alfresco 5.2 Rest API for an Alfresco repository accessible via the URL http://server/alfresco? (Choose two.)
Full set: 87 questionsThe Alfresco 5.2 REST API, specifically the Repository-level API, is built upon the Web Script Framework. The framework's dispatcher servlet, which handles incoming RESTful calls, is mapped to two primary URL patterns by default. The base URL http://server/alfresco/service is the main entry point for web scripts. Additionally, http://server/alfresco/s is provided as an alias for /service that enforces authentication for the web script call. Both are valid base URLs for accessing the web script-based REST API.
B. http://server/alfresco/restful: This is not a default or standard base URL for any of the REST APIs provided with Alfresco 5.2.
C. http://server/alfresco/script: This URL pattern is not used by the Web Script Framework; the correct patterns are /service and /s.
D. http://server/alfresco/ws: This base URL is reserved for the Alfresco SOAP (Simple Object Access Protocol) Web Services, not the REST API.
1. Alfresco Content Services 5.2 Documentation, "Web script dispatcher": This official documentation page details the configuration of the web script dispatcher servlet. It explicitly states the URL mappings: "The Web Script Framework is bound to the URL /service/ and /s/ by the web script dispatcher servlet." This confirms that both /service (E) and /s (A) are correct base URLs.
Source: Alfresco Content Services 5.2 Documentation > Developing > Web Scripts > Web Script Framework > Dispatcher.
2. Alfresco Content Services 5.2 Documentation, "Web Services": This section describes the SOAP-based web services. It provides examples of WSDL URLs, such as http://localhost:8080/alfresco/ws/API/Repository?wsdl, which confirms that the /ws path (D) is designated for SOAP Web Services, not REST.
Source: Alfresco Content Services 5.2 Documentation > Developing > Integrations > Web Services.
Keep practicing
Take the free ACSCE-5X practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other ACSCE-5X practice questions
- Question 1Alfresco Content Services defines some root objects to use with Web Scripts FreeMarker te…
- Question 2You want to increase the maximum number of results returned by searches in Share from the…
- Question 3What does it mean when it is said in Solr indexing that the index is “eventually consiste…
- Question 4What are the minimum steps needed to add a custom search form in Alfresco Share?
- Question 5How should s be identified and recognized?
- Question 6What are the variable’s scopes available for Activiti workflows?
