Hello,
I've got a probleme with IOR.
I've write a server (for CosTransactions) and I create a transaction
factory object and IOR is the following:
----------
IOR:010000003300000049444c3a6f6d672e6f72672f436f735472616e73616374696f6e732f5472616e73616374
696f6e466163746f72793a312e30000002000000000000002a000000010100000a0000003132372e302e312e31
00a00f120000005472616e73616374696f6e536572766963650000010000003800000001000000020000001f000
0000c000000010000001f0000000300000001000000140000000100000001000100000000000901010000000000
----------
If I do a iordump:
Repo Id: IDL:omg.org/CosTransactions/TransactionFactory:1.0
IIOP Profile
Version: 1.0
Address: inet:127.0.1.1:4000
Location: corbaloc::127.0.1.1:4000/TransactionService
Key: 54 72 61 6e 73 61 63 74 69 6f 6e 53 65 72 76 69
TransactionServi
63 65 ce
Multiple Components Profile
Components: Native Codesets:
normal: ISO 8859-1:1987; Latin Alphabet No. 1
wide: ISO/IEC 10646-1:1993; UTF-16, UCS Transformation
Format 16-bit form
Transaction component:
tag : TAG_OTS_POLICY
value:ADAPTS
Key: (empty)
I've added the TransactionComponents into the IOR.
But, when I get the IOR in the client (with resolve_initiale_reference(
"TransactionService" )) I get the following:
Repo Id: IDL:omg.org/CosTransactions/TransactionFactory:1.0
IIOP Profile
Version: 1.0
Address: inet:iria:4000
Location: corbaloc::iria:4000/TransactionService
Key: 54 72 61 6e 73 61 63 74 69 6f 6e 53 65 72 76 69
TransactionServi
63 65 ce
Could you explain me how may I get the multiple component profile in my
client ?
Because when I try to get the TAG_OTS_POLICY (normally coded in the IOR)
I'm not able to find it.
Could you help please ?
Thanks a lot
Here how I launch server:
../../src/gctsd -ORBDebug PI -ORBDebug Info -ORBDebug ORB -ORBIIOPAddr
inet:`uname -n`:4000
Here how I launch client:
./client -ORBDebug ORB -ORBDebug Info -ORBDebug PI -ORBInitRef
TransactionService=corbaloc::`uname -n`:4000/TransactionService
Laurent Marzullo
_______________________________________________
Mico-devel mailing list
Mico-devel@mico.org
http://www.mico.org/mailman/listinfo/mico-devel