A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Spring in Action
this week in the
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).
I agree. Here's the link:
subject: cannot send MicroSoft Word specific characters to CORBA Server
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"
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014