aspose file tools*
The moose likes Distributed Java and the fly likes cannot send MicroSoft Word specific characters to CORBA Server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Distributed Java
Bookmark "cannot send MicroSoft Word specific characters to CORBA Server" Watch "cannot send MicroSoft Word specific characters to CORBA Server" New topic
Author

cannot send MicroSoft Word specific characters to CORBA Server

s Joshi
Greenhorn

Joined: Sep 26, 2005
Posts: 12
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.
Lin Shen
Ranch Hand

Joined: Oct 08, 2003
Posts: 57
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: http://aspose.com/file-tools
 
subject: cannot send MicroSoft Word specific characters to CORBA Server