Hi all, just to inform you that I'm going to resolve the QPID-1579 (WS-DM
unit test cases).

Unit test are now running against a new sub-module called QEmu.
It is basically a simple emulator that creates (at the moment) one domain
object with complex methods & properties (see below).

WS-DM interface has been tested with the following datatypes :

- UUID (qman:uuid)
- UUID []
- String (xsd:string)
- String []
- boolean (xsd:boolean);
- boolean []
- Map<String, Object> (qman:map);
- Map []
- long (xsd:long);
- long [];
- int (xsd:integer);
- int []
- short (xsd:short);
- short []
- date (xsd:dateTime);
- date []
- byte [] (xsd:base64)

...and the following methods

(Note that all methods returns a complex object (Result) which contains
- a status code;
- a status text;
- a Map<String, Object> (qman:map on WSDL) containing all output
parameters.)

- method that accepts no parameters and returns a Result without output
params;
- "echo" method that accepts all datatypes mentioned before and returns a
Result with the same parameters;
- "echo" method that accepts all arrays mentioned before and returns a
Result with the same arrays;
- "echo" method that accepts all arrays mentioned before (but with Objects
instead of primitive types) and returns a Result with the same arrays;
- "echo" method that accepts a Map and returns a Result with the same Map;
- "echo" method that accepts a UUID and return a Result with the same UUID;

So, at the end, a lot of combinations have been tested.

Other minor improvements on method invocation have been made and many other
should be done...but I'll write all details in the documentation...

Now, we are going to close the first iteration :) so plan is to have a
complete set of examples in at maximum 4 days in order to demonstrate WS-DM
interface capabilities....

Regards & good night,
Andrea

Reply via email to