Altova RaptorXML Server 2025

Your RaptorXML Server installation contains a C# project that accesses RaptorXML Server's REST client interface to execute a set of jobs. The example project consists of two parts:

 

RaptorXMLREST.cs: A wrapper class in C# that implements the REST mechanism to communicate with RaptorXML Server via HTTP.

Program.cs: The C# program code that defines the jobs to be sent to RaptorXML Server via the REST wrapper.

 

These two parts are described in the subsections of this section: C# Wrapper for REST API and Program Code for REST Requests.

 

Note that you can use any suitable REST wrapper for C# code. The main reason that we have created our own wrapper is so that the C# program code can be more tightly integrated with the wrapper class, thereby making an understanding of RaptorXML Server's REST interface easier.

 

Location and use of the C# example

The example project is located in the folder C:\Program Files (x86)\Altova\RaptorXML Server2025\examples\REST_API\C#_RaptorREST_API.

 

The example project was created using Visual Studio 2019, so you should use this version or later to build and run the project. Note that the C# example files are located in the Program Files folder, so you will need to open Visual Studio with administrator rights in order to access the files. Alternatively, you can copy the example project to another location and make relevant amendments to the project.

 

© 2018-2024 Altova GmbH