From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,ccf238cf57665205,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-08-31 09:05:27 PST Path: bga.com!news.sprintlink.net!hookup!yeshua.marcam.com!news.kei.com!uhog.mit.edu!europa.eng.gtefsd.com!NewsWatcher!user From: baldwin@gtec3.ndhm.gtegsc.com ( Willie J. Baldwin) Newsgroups: comp.sys.dec Subject: DEC's Object Broker Date: 31 Aug 1994 16:01:35 GMT Organization: GTE Government Systems Corp. Message-ID: NNTP-Posting-Host: rocky.tntn.gtegsc.com Keywords: CORBA ORB ServerSkeletons I am using a field test version of DEC's Object Broker product. When the default server methods skeleton file gets generated from the IDL description and the method mapping file, the code produced is a set of function shells, their actual definitions being empty. e.g. IDL DESCRIPTION: interface Customer { ... void Validate (in CustomerId CustomerNo, out string Name, out string Surname) raises (UserExcep); }; //end of interface Customer Server methods file generated from IDL and default IML files: ... void CustomerImpl_Validate (CORBA_Object object, CORBA_Environment * ev, BNK1_CustomerId CustomerNo, CORBA_string * Name, CORBA_string * Surname) { /* ... Insert Method Code Here ... */ return; } The writer of the implementation of Customer::Validate() has called that function METHOD_CustomerValidate(). This function should be called where "Insert Method Code Here" is above. I have been told that there is a way to edit the default IML file to make this happen. Without that happenning, one needs to create a script file to edit the server methods skeleton. I've checked the documentation (Object Broker System Integrator's Guide) and there were no clues. Is there anyone who has the product and knows how to do this? -Willie baldwin@gtec3.ndhm.gtegsc.com *************************************************************************** * Willie Baldwin / MTS * wjb4@gte.com * * GTE Government Systems * + baldwin@gtec3.ndhm.gtegsc.com * * 77 "A" Street MS 3-12 * Willie.J.Baldwin@gte.sprint.com * * Needham Heights, MA 02194 * Baldwin.Willie@mail.ndhm.gtegsc.com* * Phone: (617) 455-2908 *X.400:/C=USA/ADMD=TELEMAIL/PRMD=GTEGS/ * * Fax: (617) 455-3105 * O=GTEGOVSYS/S=BALDWIN/G=WILLIE * *************************************************************************** + Preferred