🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.object.corba
Article #35

Re: An Error occured in Sending string array. Help me!!

#35
From: schettino
Date: Thu, 17 Dec 1998 00:00
26 lines
1759 bytes
In article <367900BE.657C934D@chollian.net>,
  Lexus <sion95@chollian.net> wrote:
> Hello All.
> i got a problem....i don't know why....
> i can't send string array(one dimension).

Seems like a mismatch to me... in IDL you have:

     typedef sequence<string> temp1;

Yet in Java you use:

     String param1=new String[3][10];

The Java statement declares a two dimentional array of strings, not a one
dimentional array as the IDL implies. Sounds like your problem. Should be:

     String param1=new String[3];

--
 John Schettino
 CORBA For Dummies, find it at:
 http://www.dummies.com/

-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/       Search, Read, Discuss, or Start Your Own    
Technical Details
Message-ID: <75bn2t$7d7$1@nnrp1.dejanews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3656ED9E.5B501444@kideys.com> <367900BE.657C934D@chollian.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 108bbb,c4522ab450245c62
X-Google-Attributes: gid108bbb,public
X-Google-Thread: 10b07f,c4522ab450245c62
X-Google-Attributes: gid10b07f,public
X-Google-Thread: f753e,c4522ab450245c62
X-Google-Attributes: gidf753e,public
X-Google-Thread: ffda2,c4522ab450245c62
X-Google-Attributes: gidffda2,public
From: schettino@my-dejanews.com
Subject: Re: An Error occured in Sending string array. Help me!!
Date: 1998/12/17
Message-ID: <75bn2t$7d7$1@nnrp1.dejanews.com>
X-Deja-AN: 423329817
References: <3656ED9E.5B501444@kideys.com> <367900BE.657C934D@chollian.net>
X-Http-Proxy: 1.1 x13.dejanews.com:80 (Squid/1.1.22) for client 204.203.96.101
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Thu Dec 17 19:46:37 1998 GMT
Newsgroups: comp.object.corba,comp.dcom.servers,comp.lang.java.corba,borland.public.jbuilder.corba-rmi
X-Http-User-Agent: Mozilla/4.0 (compatible; MSIE 4.01; Windows NT)