![]() |
Telelogic DOORS (steve huntington) | ![]() |
new topic :
profile :
search :
help :
dashboard :
calendar :
home
|
||
Latest News:
|
|
Topic Title: DOORS interacting with a java program Topic Summary: Created On: 8-Jul-2004 13:53 Status: Post and Reply |
Linear : Threading : Single : Branch |
![]() |
![]()
|
![]() |
|
Hello Karsten,
I had a similar problem not too long ago. I had to export data from Doors and work with the data in a java program. In my case the java program is the master of the communication. So i realized the data transfer by starting Doors in batch mode from the java program and executing a DXL-script. This script exports the needed data into a file which is then read by the java program. Maybe you could export the data to a file, call the java program which reads said data, writes a new file and calls another DXL-script in Doors. I hope this helps you or at least gives you some ideas. Greetings, Tobias |
|
![]() |
|
![]() |
|
I solved this by starting DOORS in batch mode from Java, and running a DXL file that opens a TCP/IP port and continuously listens for messages on that port. I then built a message protocol specific to my needs that allows my Java app to send command strings to DXL. The DXL retrieves the required data and returns it to Java as a string over the sockets connection. I used XML tags to delimit the returned data and a standard Java SAX parser to tear it down into Java objects. Section 3 (pg 17) of the DOORS API Manual (version 7.0) gives an example of the basic DXL server code loop.
Rick |
|
![]() |
Telelogic DOORS
» DXL Exchange
»
DOORS interacting with a java program
|
![]() |
FuseTalk Standard Edition v3.2 - © 1999-2009 FuseTalk Inc. All rights reserved.