This example utilizes the Comms/CPN Java library. The key piece is a Java intermediary that acts as a Webservice client on the one side and a Comms/CPN server entity on the other side. The model sends the desired message to this server which in turn makes a webservice call and returns the result to the model. You may download Java CPN Webservice Call Example. The […]
Comms/CPN is a CPN ML library which makes it possible for CPN Tools to communicate based on TCP/IP with external application and processes. Using the library For a detailed description of Comms/CPN, the user is referred to the paper G. Gallasch and L. M. Kristensen. COMMS/CPN: A communication infrastructure for external communication with Design/CPN. In K. Jensen, editor, Third Workshop and Tutorial on Practical Use […]
The XML format for .cpn files is described using a DTD. The easiest way to write files that CPN Tools understands is to create a simple net and inspect that. If you just create a couple of places and transitions (with easy to remember names) it is fairly straightforward to see how the files are constructed. It is not necessary worry about the options, binders, […]
exception DupConnNameExn : Exception raised if non-unique connection identifiers are used. exception ElementMissingExn: Exception raised if an attempt is made to use a connection with an unknown connection identifier. ConnManagementLayer.openConnection: string * string * int -> unit: Allows users to connect to external processes as a client. It takes three input parameters. The first of these is the unique string identifier (of type string) to […]
BRITNeY Suite consists of a Java application and a CPN ML library which (among other things) enables visualization and advanced interaction through CPN Tools. We no longer recommend using BRITNeY for new projects, but instead to take a look at Access/CPN. The tool was developed Michael Westergaard. A tutorial can be found at the following external web page.