[omniORB] CORBA C/C++ and EJB
Andrew Amargo
ad_amargo at yahoo.com
Mon May 22 00:04:58 BST 2006
Hi,
I am a newbie in CORBA. I am tasked to create a CORBA
C/C++ client connecting to an EJB thru RMI_IIOP. I
was able to obtain the IDL (CMMEJB.idl) by running the
tool 'rmic' of the java sdk. Then, the files
CMMEJBSK.cc and CMMEJB.hh were generated running
'omniidl -bcxx CMMEJB.idl'. Without modifying the
generated files, I invoked 'g++ -g -c -o CMMEJBSK.o
CMMEJBSK.cc'. Several errors were generated. Here
some of the errors:
In file included from CMMEJBSK.cc:3:
CMMEJB.hh: In constructor
`org::omg::boxedRMI::ProvisionClasses::seq1_CardProvisioningDetails::seq1_Ca
dProvisioningDetails(long
unsigned int, long unsigned int,
ProvisionClasses::CardProvisioningDetails*,
bool)':
CMMEJB.hh:696: no matching function for call to `
org::omg::boxedRMI::ProvisionClasses::_0RL_boxed_seq1_CardProvisioningDetail
::_0RL_boxed_seq1_CardProvisioningDetails(ULong&,
ULong&,
ProvisionClasses::CardProvisioningDetails*&,
Boolean&)'
CMMEJB.hh:561: candidates are:
org::omg::boxedRMI::ProvisionClasses::_0RL_boxed_seq1_CardProvisioningDetail
::_0RL_boxed_seq1_CardProvisioningDetails(long
unsigned int, long unsigned int,
ProvisionClasses::CardProvisioningDetails**, bool =
0)
CMMEJB.hh:559:
org::omg::boxedRMI::ProvisionClasses::_0RL_boxed_seq1_CardProvisioningDetail
::_0RL_boxed_seq1_CardProvisioningDetails(long
unsigned int)
CMMEJB.hh:556:
org::omg::boxedRMI::ProvisionClasses::_0RL_boxed_seq1_CardProvisioningDetail
::_0RL_boxed_seq1_CardProvisioningDetails(const
org::omg::boxedRMI::ProvisionClasses::_0RL_boxed_seq1_CardProvisioningDetail
&)
CMMEJB.hh:554:
org::omg::boxedRMI::ProvisionClasses::_0RL_boxed_seq1_CardProvisioningDetail
::_0RL_boxed_seq1_CardProvisioningDetails()
CMMEJB.hh: In member function
`ProvisionClasses::CardProvisioningDetails&
org::omg::boxedRMI::ProvisionClasses::seq1_CardProvisioningDetails::operator
](long
unsigned int)':
CMMEJB.hh:737: could not convert `
org::omg::boxedRMI::ProvisionClasses::_0RL_boxed_seq1_CardProvisioningDetail
_var::operator[](long
unsigned int)(_i)' to
`ProvisionClasses::CardProvisioningDetails&'
CMMEJB.hh: In constructor
`org::omg::boxedRMI::ProvisionClasses::seq1_CardProvisioningResult::seq1_Car
ProvisioningResult(long
unsigned int, long unsigned int,
ProvisionClasses::CardProvisioningResult*,
bool)':
CMMEJB.hh:925: no matching function for call to `
org::omg::boxedRMI::ProvisionClasses::_0RL_boxed_seq1_CardProvisioningResult
::_0RL_boxed_seq1_CardProvisioningResult(ULong&,
ULong&,
ProvisionClasses::CardProvisioningResult*&,
Boolean&)'
CMMEJB.hh:790: candidates are:
org::omg::boxedRMI::ProvisionClasses::_0RL_boxed_seq1_CardProvisioningResult
:_0RL_boxed_seq1_CardProvisioningResult(long
unsigned int, long unsigned int,
ProvisionClasses::CardProvisioningResult**,
bool = 0)
......
I would really appreciate your inputs on this.
Thanks.
Regards,
Andrew
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the omniORB-list
mailing list