Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
cannot send MicroSoft Word specific characters to CORBA Server
Joined: Sep 26, 2005
Nov 02, 2005 11:07:00
I am sending a
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?
Joined: Oct 08, 2003
Nov 03, 2005 06:22:00
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).
It is sorta covered in the
JavaRanch Style Guide
subject: cannot send MicroSoft Word specific characters to CORBA Server
Secured connections to corba server
CORBA, COM, and .NET
invoking C++ code from Java in a Remote AIX machine
Corba exceptions any String length limits?
Making a C++ and Java program "Talk"
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013