Skip to content

Latest commit

 

History

History
108 lines (69 loc) · 3.73 KB

getting_started.rst

File metadata and controls

108 lines (69 loc) · 3.73 KB

Getting Started

Installation

Install Medidata.RWS.NET via NuGet: nuget install Medidata.RWS.NET

or, via the Package Manager Console: Install-Package Medidata.RWS.NET

Basic Example

At the most basic level, communicating with Medidata RAVE using Medidata.RWS.NET involves:

  1. Creating a connection.

The above code will create a RwsConnection object to the "innovate" RAVE instance (subdomain) - https://innovate.mdsol.com. You'd substitute your RAVE instance subdomain here. The RAVE username and RAVE password parameters should reference a dedicated RAVE account you intend to use for web service activities.

  1. Creating a request.
  1. Sending the request.
  1. Dealing with the response/exception.
  1. Putting this all together, we have the following.

The above steps outline how to retrieve data for SUBJECT001's HEM form in the MediFlex study (specifically, the PROD environment).

Miscellaneous Configuration

When working with Medidata.RWS.NET, you may wish to configure the connection to RWS beyond the default settings. Options for doing so are described below.

Virtual Directory

When you make requests to RAVE Web services, the URL you communicate with follows a specific pattern. The domain name will always be "mdsol.com", and the protocol will always be "https://". The sub-domain & virtual directory are configurable. The default virtual directory is "RaveWebServices". This means that when you create a new connection to innovate using the default virtual directory, you'll get the following:

If instead you'd like to change the virtual directory to a custom one, you can pass an additional parameter through the RwsConnection constructor:

Note that this is provided as a convenience, and the default virtual directory will be preferable in most scenarios.

Timeouts

If supplied, the timeout of the request in milliseconds. If the request takes longer than the timeout value, an exception will be thrown.