sending af object with a sequence
843793Dec 5 2002 — edited Dec 19 2002This is vrey simple. Here is the IDL..
module LagerIDL
{
struct VareIDL
{
long VareID;
string navn;
double pris;
long minLager;
long Status;
long antal;
};
typedef sequence<VareIDL> Vareliste;
struct BestillingIDL
{
Vareliste vareliste;
long status;
long bestillingsID;
long afdelingsID;
};
interface LagerServer {
void sendBestilling(in BestillingIDL bestilling);
};
From th client. I want to send a Bestilling object taht contain af vector(sequence) of Varer. How do i get the object out of the sequence on the server side
thanks