Using the ODM Java Sampler tool

The ODM Java Sampler tool utility is an ODM Java Client with Object classes generated using ODM WSDL and XSD that you can use to write your own Client using Java language.

This utility provides:

  • The ability to perform a call to single Oracle Life Sciences InForm Adapter method, for example, GetSiteList, using Certificate based Authentication. You can also use the utility as a reference to call other Oracle InForm Adapter methods using Java language.
  • A file for compilation (Build.bat) of this tool.

Usage

java -jar ODMJavaSampler.jar <Adapter_Host> <Virtual_Dir> <trial_Name> <Certificate_JKS_FILE> <Cert_Alias> <Cert_Password> <Method Name>

Example

java -jar ODMJavaSampler.jar example.us.examplelink.com/qapfst InFormAdapter qapfst cert.jks te-a8192283-ac72-4b7a-b305-9b71fb3afbbe password GetSiteList