Using the ODM Java Sampler tool
- To start the ODM Java Sampler tool, click the ODMJavaSampler.jar file in the <InForm Adapter Samples location>\InformAdapterSamples\ODMJavaSampler\dist folder location.
- Connect to the study by providing the details of InForm Adapter Host, Adapter Virtual Directory, Trial Name, and the Certificate details (the Store, Alias, and Password).
Note: F5 certificate authentication is used for this application. The certificate must be downloaded and stored on your local machine as a jks (Java Key Store format) file. You must provide the certificate subject in the application configuration file.
<add key="IACertName" value="the subject name of the certificate to sign the soap message" />
- In the Adapter Host field, provide the name of either the IP address or domain name where the resource is located. For example:
https://VanityUrl/pfst6211/informadapter/ODM/ODMService.svc
- In the Adapter Virtual Directory field, provide the path or directory on the server. For example:
pfst6211/informadapter
- In the Trial Name field, enter the trial to connect to. For example:
pfst62
- In the Certificatefields, enter the details for your certificate.
- In the Adapter Host field, provide the name of either the IP address or domain name where the resource is located. For example:
- Click the GetSiteList button.
The GetSiteList method returns the list of sites present in the specified InForm trial, in the bottom window in XML format.
The Input (Request.xml) and Output (Response.xml) are stored in the <InForm_Adapter_6211_Samples> folder \InformAdapterSamples\ODMJavaSampler\dist location.