Retrieving supporting documents using the Java API

You can retrieve supporting documents using the Java API.

// serviceClientFactory is the Service Client Factory 
Properties connectionProps = new Properties(); 
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_DEFAULT_EJB_ENDPOINT, 
"jnp://localhost:1099"); 
           
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_TRANSPORT_PROTOCOL,ServiceClientFactoryProperties.DSC_EJB_PROTOCOL);          
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_SERVER_TYPE, "JBoss"); 
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_USERNAME, 
"apink"); 
connectionProps.setProperty(ServiceClientFactoryProperties.DSC_CREDENTIAL_PASSWORD, 
"password"); 
// Review ID 
String reviewId = "R-20100917-023543-293-4434"; 
ReviewCommentingAndApprovalServiceClient reviewCommentingAndApproval = new 
ReviewCommentingAndApprovalServiceClient(serviceClientFactory); 
List<String> supportingDocumentsURLList = reviewCommentingAndApproval.getSupportingDocuments(reviewId);

// Ethnio survey code removed