[omniORB] omniORB.CORBA.DATA_CONVERSION

JiangWei jw.omni at sduept.com
Mon Jul 31 15:08:04 BST 2006


[jw at dell bug]$ ./example_echo_srv.py -ORBendPoint 
giop:tcp:127.0.0.1:10000 
IOR:010000001500000049444c3a4578616d706c652f4563686f3a312e3000000000010000000000000054000000010102000a0000003132372e302e302e31001027040000004563686f0200000000000000080000000100000000545441010000001c00000001000000010001050100000001000105090101000100000009010100


[jw at dell bug]$ ./client.py IOR:010000001500000049...... '你好'
echoString() called with message: 你好


[jw at dell bug]$ ./client.py corbaloc::127.0.0.1:10000/Echo '你好'
Traceback (most recent call last):
  File "./client.py", line 15, in ?
    eo.echoString(sys.argv[2])
  File "/home/jw/test/bug/example_echo_idl.py", line 51, in echoString
    return _omnipy.invoke(self, "echoString", 
_0_Example.Echo._d_echoString, args)
omniORB.CORBA.DATA_CONVERSION: 
CORBA.DATA_CONVERSION(omniORB.DATA_CONVERSION_BadInput, CORBA.COMPLETED_

-------------- next part --------------
A non-text attachment was scrubbed...
Name: client.py
Type: text/x-python
Size: 311 bytes
Desc: not available
Url : http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20060731/267cfc00/client.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example_echo.idl
Type: text/x-idl
Size: 103 bytes
Desc: not available
Url : http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20060731/267cfc00/example_echo.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: example_echo_srv.py
Type: text/x-python
Size: 1057 bytes
Desc: not available
Url : http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20060731/267cfc00/example_echo_srv.py


More information about the omniORB-list mailing list