[omniORB] omniORB and TAO

Андрей Пучин pouchin at gmail.com
Fri Jun 17 12:20:22 BST 2005


Hi!

I'm using omniORB(4.1, omniORBpy 3x) at client and ACE (5.3.1) TAO (1.3) at server.

Here is a sample IDL.

module ValueTest {
    abstract valuetype Filter{
    };
    valuetype LayerFilter : Filter {
        public string name; 
    };
    typedef sequence <LayerFilter> Query;

  interface Test {
    long op1(in long a, in Query b, in long c);
  };
};

When i call op1 on servant, i got MARSHALL exception. All parameters filled
correctly.

I've noticed that omniORBpy doesn't put RepoIds in CDR while
marshaling valuetype parameter.

What's wrong?

Thanks.


Some GIOP log.

TAO (4132|4224) - GIOP_Message_Base::dump_msg, recv GIOP v1.2 msg, 116 data byte
s, my endian, Type Request[2]
GIOP message - HEXDUMP 128 bytes
47 49 4f 50 01 02 01 00  74 00 00 00 02 00 00 00   GIOP....t.......
03 00 00 00 00 00 73 14  1b 00 00 00 14 01 0f 00   ......s.........
52 53 54 bf 77 b2 42 28  33 04 00 00 00 00 00 01   RST.w.B(3.......
00 00 00 01 00 00 00 00  04 00 00 00 6f 70 31 00   ............op1.
01 00 00 00 01 00 00 00  0c 00 00 00 01 00 00 00   ................
01 00 01 00 09 01 01 00  64 00 00 00 01 00 00 00   ........d.......
08 ff ff 7f 0d 00 00 00  09 00 00 00 73 66 64 66   ............sfdf
64 64 67 64 00 00 00 00  ff ff ff ff c8 00 00 00   ddgd............
(4132|4224) Codeset_Manager::process_service_context using tcsc = 00010001, tcsw
 = 00010109
TAO (4132|4224) Using utf16 BOM translator
(X:\ACE_wrappers\TAO\tao\ValueBase.cpp:262) OBV factory is null !!!
TAO (4132|4224) - GIOP_Message_Base::dump_msg, send GIOP v1.2 msg, 56 data bytes
, my endian, Type Reply[2]
GIOP message - HEXDUMP 68 bytes
47 49 4f 50 01 02 01 01  38 00 00 00 02 00 00 00   GIOP....8.......
02 00 00 00 00 00 00 00  1e 00 00 00 49 44 4c 3a   ............IDL:
6f 6d 67 2e 6f 72 67 2f  43 4f 52 42 41 2f 4d 41   omg.org/CORBA/MA
52 53 48 41 4c 3a 31 2e  30 00 f9 77 00 00 41 54   RSHAL:1.0..w..AT
01 00 00 00                                        ....


-- 
Best regards,
 Andrew                          mailto:pouchin at gmail.com




More information about the omniORB-list mailing list