Book a Demo

Author Topic: operation_guid  (Read 3328 times)

geert

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
operation_guid
« on: March 13, 2009, 11:18:09 pm »
hey,

i'm reading sequence diagrams and the messages standing on it in .NET
i can perfectly retrieve the the guid of the operation and it is the same  as the guid on the interface, so no mistakes there, however if i try

repos.getMethodByGuid(guid)

this does not always work. often i get a null back of that method.

any ideas as to why this is?

thanx!

geert

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: operation_guid
« Reply #1 on: April 17, 2009, 09:19:52 pm »
Hello,


I found that the operation_guid tagged value was not correspondent with the guid of the operation. However it corresponds to the tagged value ea_guid of that operation.

So if you take a message with a operation_guid, you can retreive the interface with the list of operations and then check what operation has an ea_guid == operation_guid.

This is a solution, but a slow one, since you have to go through all the operations of that interface to find a match.
Is there some relation between the ea_guid of an operation and the guid of that operation?? That way i could simply call the operation immediately.

Thanx,
Geert