Hello all,
I am using Orbix idlj compiler, it doesnot accept type ULongSeq or
UShortSeq.
Here are the error messages.
296:(semantic): Identifier `ULongSeq' not found
296:(semantic): Name does not denote a type
296:(semantic): Incomplete type definition
297:(semantic): Identifier `ULongSeq' not found
297:(semantic): Name does not denote a type
297:(semantic): Incomplete type definition
298:(semantic): Identifier `ULongSeq' not found
298:(semantic): Name does not denote a type
298:(semantic): Incomplete type definition
299:(semantic): Identifier `ULongSeq' not found
299:(semantic): Name does not denote a type
299:(semantic): Incomplete type definition
My compiler version is:
Orbix 3.3
Orbix Java IDL compiler version 3.3 Service Pack 5
Using MSVC++ 6.0 Service Pack 3
for JDK 1.1.x/1.2.x/1.3.x
My idl is:
void SetData(in XYZ::idlUserID uID,
inout CORBA::ULongSeq ADataSeq,
inout CORBA::ULongSeq BDataSeq,
inout CORBA::ULongSeq CDataSeq,
inout CORBA::ULongSeq DDataSeq)
raises (idlExcBadParameters, idlExcCmdFailed);
Thanks in advance.
Conor - 26 Oct 2006 17:25 GMT
Hi Srini,
You could add the following definition to the Orbix33 idl/orb.idl file,
or a separate IDL file. as long as it's in the CORBA namespace:
typedef sequence<unsigned long> ULongSeq;
then generate your stubs and skels using idlj, and add the resulting
.class files to your CLASSPATH.
Regards,
Conor
http://www.iona.com
Srini - 31 Oct 2006 14:47 GMT
Hi Conor,
Thank you for the response. I tried putting the typedefs in orb.idl and
included it in my idl file like this:
#include <orb.idl>
However, it did not help. I got the same errors.
Then, I created a separate file "orb2.idl" with the same typedefs in
CORBA package, it compiled well.
It is a moot issue but any idea by orb.idl does not work for me?
Thanks again,
Srini
> Hi Srini,
>
[quoted text clipped - 9 lines]
> Conor
> http://www.iona.com