[omniORB] wstring and codeset negotiating (omniorb <-> visibroker)

Tomasz Bech tbech@polbox.com
Fri Feb 7 14:00:03 2003


Hi,
I'm trying to force to work the Dephi 6 Client (Visibroker 4.1 or 4.5). 
with corba server (OmniOrb4.0.0)
Problems are with wchar and wstrings.
1.  Visibroker is wrongly marshalling the wstring - this I can handle - 
not the issue here.
2. Visibroker doesn't support code set negotiating - and I don't know 
how it should be done.

Currently I have in trace:
4749 4f50 0100 0100 3000 0000 0000 0000 GIOP....0.......
0100 0000 0320 2020 0c00 0000 3e43 b67e .....   ....>C.~
77bf 805f 0000 0001 0a00 0000 6765 7453 w.._........getS
7472 696e 6700 2020 0000 0000           tring.  ....
omniORB: throw BAD_PARAM from cs-UTF-16.cc:182 
(NO,BAD_PARAM_WCharTCSNotKnown)

(simple function wstring getString() is called).

My ideas:
a) can I force the omniorb to have default code set to be able to talk 
with omniorb with other corba which doesn't have codeset negotiating?
b) additionaly I set  -ORBmaxGIOPVersion 1.0. Result the same. As I know 
GIOP 1.0 has no code negotiating , so why there is exception thrown?
c) what I should send to server to inform about required code set (If 
possible please describe it detailed, I don't know GIOP spec).
d) any free-library for Deplhi which talks with omniorb and has wstring 
implemented (unfortunatelly, only known by me library for deplhi - dorb 
- hasn't suupport wstring :(  

    Thanks for help,
        Tomasz