Welcome to Telelogic Product Support
  Home Downloads Knowledgebase Case Tracking Licensing Help Telelogic Passport
Telelogic DOORS (steve huntington)
Decrease font size
Increase font size
Topic Title: Totally new to DOORS and its APIs
Topic Summary:
Created On: 4-Jan-2009 16:15
Status: Post and Reply
Linear : Threading : Single : Branch
Search Topic Search Topic
Topic Tools Topic Tools
Quick Reply Quick Reply
Subscribe to this topic Subscribe to this topic
E-mail this topic to someone. E-mail this topic
Bookmark this topic Bookmark this topic
View similar topics View similar topics
View topic in raw text format. Print this topic.
 4-Jan-2009 16:15
User is offline View Users Profile Print this message


Edan Evantal

Posts: 3
Joined: 31-Dec-2008

Hi,

I'm a total newbie to DOORS and its APIs, so there are some things that I don't understand yet. Here are some questions that I would greatly appreciate any help with:

1. What is the difference between the DXL API and the C API?

2. I program in C#. I've looked for some info regarding interfacing to DOORS with .NET but couldn't find any. What I did find was a post by a user that did it with sockets in Java and interoperability with native code. I tried it in C# and it worked fine, without using any interoperability, just sockets (sent a string to the DOORS server and got a string from it as a reply). My question is are there any other kinds of replies from the server other than strings? Is there an object model that is offered by one of the APIs? (If there is, I think that using sockets would be useless, because I wouldn't be able to use the object model)

I'm sure that I will have more questions down the road

Thank you very much.

Abraham Shilon
Report this to a Moderator Report this to a Moderator
 5-Jan-2009 14:14
User is offline View Users Profile Print this message


David Pechacek

Posts: 674
Joined: 5-Dec-2006

The C API is in C:\Program Files\Telelogic\DOORS_8.3\api for DOORS 8.3. Location will depend on where your DOORS client is installed and what version you have. Allows you to interact with the DOORS server through custom applications.

The DXL "API" is the DXL language that DOORS uses. It is run from DOORS. It is not an independent language.

-------------------------
David Pechacek
AAI Services Textron
dpechacek@sc-aaicorp.com
David.Pechacek@gmail.com

Edited: 5-Jan-2009 at 14:15 by David Pechacek
Report this to a Moderator Report this to a Moderator
 5-Jan-2009 16:26
User is offline View Users Profile Print this message


Edan Evantal

Posts: 3
Joined: 31-Dec-2008

OK.

So, to be more specific, if I want to get a list of requirements from the DOORS server, what do I need to do?

Here's what I would like to know specifically:

1. Can I use just C# and sockets and bypass the C API altogether or is the C API always a must in order to communicate with the server?

2. If all I want is to retrieve a list of requirements, what exactly will be returned?
Will it be some sort of a list (for example an array) of a C++ class named Requirement, a list of a C struct with the same name, a file in some format (csv for example, or xml), a string in some formatting (xml maybe?)?

Can someone please tell me the flow of retrieving a set of requirements from the DOORS server, with or without using the C API?

Thank you very much.

Abraham Shilon
Report this to a Moderator Report this to a Moderator
 5-Jan-2009 21:41
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Edan, Most of the users using this dxl topic will use dxl to interface to the client. The client will retrieve the info from the server. Very few people us the c api.


Edan, you referred to the DOORS server, which I suspect you refer to that DOORS Database Management server.

The c api manual refers to the dxl server and not to the DOORS server which are not the same things. My understanding is that the dxl server exists on the client and not on the DOORS server. (As far as I know, there is no Telelogic support for third party interface to the DOORS Database Management Server. My understanding of the DOORS Database Management Server is that it's functions are relatively limited and acts mostly to retrieve, route and store info.)

Edited: 6-Jan-2009 at 16:03 by ron lewis
Report this to a Moderator Report this to a Moderator
 8-Jan-2009 09:24
User is offline View Users Profile Print this message


Edan Evantal

Posts: 3
Joined: 31-Dec-2008

Interesting...

I guess that if I want to get a list of requirements from the DOORS server, I should do what the client (the dxl server) is doing, right?
Anybody knows how the client retrieves a list of requirements from the DOORS server?
Or maybe I could also retrieve this list from client? Any ideas on how to use any of these methods?
Report this to a Moderator Report this to a Moderator
 8-Jan-2009 15:01
User is offline View Users Profile Print this message


ron lewis

Posts: 650
Joined: 20-Sep-2004

Edan, It appears that you are 100 percent right in that you say you are new to doors.

I would suggest that you forget about dxl at this point in time and proceed as follows.

Develop a view in a formal module that contains the requirements that you want.

Then export that view to word or excel.

Wait on the dxl till you get some experience.
Report this to a Moderator Report this to a Moderator
Statistics
20925 users are registered to the Telelogic DOORS forum.
There are currently 1 users logged in.
The most users ever online was 15 on 15-Jan-2009 at 16:36.
There are currently 0 guests browsing this forum, which makes a total of 1 users using this forum.
You have posted 0 messages to this forum. 0 overall.

FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.