Book a Demo

Author Topic: Difficulty properly creating XMI for collaboration  (Read 2862 times)

kevin_bkt

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Difficulty properly creating XMI for collaboration
« on: January 14, 2020, 12:07:41 pm »
Saw XMI questions in many places, so not sure if this belongs here.

I've built a tool that extracts a model from our in-house development tool as XMI with the goal of importing into EA (still back on version 7.5).  I've been able to successfully import packages, classes, attributes, operations, associations (except for navigation).  But the primary objective is to bring in collaborations: instances, connectors, messages for display on communication diagrams.

I've been using XMI generated from a test model created in EA as my guide.  However, even though I'm generating XMI that looks conformant to what EA expects, I get different results from my XMI than I do from EA's.
  • Collaborations and "sequence instances" appear in the tree view along with classes and instances
  • Messages do not seem to import, even though instances and connectors do
  • These issues don't occur with the XMI generated from, and re-imported into EA, even after stripping all EA extensions out of it
(Update: One thing I've just noticed is that connections between instances that properly display messages are shown as being type "Association" in the communication diagram.  Those that don't display messages are called "Connector".  What is the difference between these?)

I've compared the syntax and walked through the related elements using their XMI ids, and everything seems to be there and seems to match what I see in the XMI example that works fine.

Any pointers that help me figure this out would be greatly appreciated.

K-
« Last Edit: January 14, 2020, 04:41:37 pm by kevin_bkt »