Forums Register Login

cannot send MicroSoft Word specific characters to CORBA Server

+Pie Number of slices to send: Send
hello,

I am sending a String to CORBA Server. This String contains MicroSoft Word Specific chacters like this quotes �this is a test�. The CORBA Server gives me this exception

Corba error : org.omg.CORBA.DATA_CONVERSION vmcid: OMG minor coe: 1 completed: NO

I want to retain this character. Is there any way I can get rid of this CORBA exception?

Thanks.
+Pie Number of slices to send: Send
did you define the file you are going to send in your IDL file as type string?

You need to use wstring or send your file as a sequence of bytes (octet).

recommended to read/write your file as array of bytes in Java (sequence<octet> in CORBA).
sunglasses are a type of coolness prosthetic. Check out the sunglasses on this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 916 times.
Similar Threads
Secured connections to corba server
Corba exceptions any String length limits?
CORBA, COM, and .NET
invoking C++ code from Java in a Remote AIX machine
Making a C++ and Java program "Talk"
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 15:18:46.