Search

TOPIC: Working Example using AJAX

Working Example using AJAX 4 months 3 days ago #41

  • luispemu
  • luispemu's Avatar
  • Offline
  • Administrador
  • Posts: 4
  • Karma: 0
The attached file is an example of the needed sequence of connections to retrieve the quality data of a single requirement using the RAT Web Service.

Steps:
  1. Visit https://163.117.147.95/ratapi.asmx and add a security exception to your browser, because this example target endpoint is using a self-signed certificate to provide SSL.
  2. Decompress the attached file.
  3. Open the ".html" file on your browser and automatically in a few seconds it connects to the service and displays the XML retrieved from the Web Service.
If you have any doubt about this example please register at the forum and ask using this topic.

Best Regards,
Luis Antonio Pérez Mulero

This attachment is hidden for guests.
Please log in or register to see it.

This message has an attachment file.
Please log in or register to see it.

Last Edit: 4 months 3 days ago by luispemu.
The administrator has disabled public write access.

Working Example using AJAX 4 months 1 day ago #58

  • prashant.jain
  • prashant.jain's Avatar
  • Offline
  • Navegador Iniciado
  • Posts: 1
  • Karma: 0
Hi

Could you please let us know where to find parameter values for various APIs e.g. InitProject API requires
DatabaseType rms,
string rmsLogin,
string databaseServer,
string databaseName,
string projectLocation,
string projectName,
string projectCode

Here, what would be DatabaseType, server, database name etc.
The administrator has disabled public write access.

Working Example using AJAX 4 months 18 hours ago #59

  • luispemu
  • luispemu's Avatar
  • Offline
  • Administrador
  • Posts: 4
  • Karma: 0
Hi everyone!

At this particular case you have the method and parameters definition at this site: https://163.117.147.95/site/html/M_Rqa_Authoring_Library_WS_RatAPI_InitProject.htm

  • DataBaseType expects an integer from the following list that indicates the requirements repository you are using
  • databaseServer expects the url or IP where the requirements repository is located.
  • databaseName expects the name of the database to connect to.
  • projectLocation the path in the database to reach the project, it depends of your internal database structure.
  • projectName is the name you give to the project.
  • projectCode expects the unique ID you gave to the project in the database.

All this information is also explained at the site I attached before, except the DataBaseType that i attach here:
  • Access = 0
  • SqlServer = 1
  • Oracle = 2
  • MySQL = 3
  • DOORS = 4
  • Excel = 5
  • NATIVE = 6
  • OSLC = 7
  • Reqtify = 8
  • Integrity = 9
  • OSLCKM = 10

Also for other API calls you can look at https://163.117.147.95/site/html/Methods_T_Rqa_Authoring_Library_WS_RatAPI.htm and to the entry for each method.

Hope it helps, Best Regards
The administrator has disabled public write access.