[omniORB] omniORBpy2.0, sequence<octet>

Viacheslav N Tararin taras@dekasoft.com.ua
Tue Jan 28 10:11:02 2003


Hi, all.
I have next problem.

Exists next IDL definitions

...
typedef sequence<octet> Principal;

interface service {
    session connect(in string username, in string password, inout 
Principal p);
};
...

After IDL compiler I have:
...
class Principal:
    _NP_RepositoryId = "IDL:com/dekasoft/fulcrum/sessions/Principal:1.0"
    def __init__(self, *args, **kw):
        raise RuntimeError("Cannot construct objects of this type.")
...

How I can create Principal for pass in to connect method?

Thanks.