<div>Dear all, I hope some one could help me with following code.</div>  <div>&nbsp;</div>  <div><STRONG>First, I have following IDL</STRONG> </div>  <div>&nbsp;</div>  <div>typedef sequence&lt;short&gt; seqShort;</div>  <div>interface shortSeqTestServer {<BR>&nbsp; void <FONT color=#0000ff>setSize</FONT>(inout short size);<BR>&nbsp; void <FONT color=#0000ff>acceptType</FONT>(inout seqShort value);<BR>&nbsp; seqShort <FONT color=#0000ff>returnType</FONT>();</div>  <div>};</div>  <div>&nbsp;</div>  <div><STRONG>Second in my server code,</STRONG></div>  <div><STRONG></STRONG>&nbsp;</div>  <div><STRONG>My servan and servant implementation is as follows.</STRONG></div>  <div>&nbsp;</div>  <div>class <FONT color=#c00000>shortSeqTestServer_i</FONT> : public POA_shortSeqTestServer<BR>{<BR>private:<BR>&nbsp;seqShort data;<BR>public:<BR>&nbsp;inline shortSeqTestServer_i() {}<BR>&nbsp;virtual ~shortSeqTestServer_i() {<BR>&nbsp;}<BR>&nbsp;<BR><FONT color=#4040ff>&nbsp;virtual void
 setSize(CORBA::Short&amp; size);<BR>&nbsp;virtual void acceptType(seqShort&amp; value);<BR>&nbsp;virtual seqShort* returnType();</FONT></div>  <div>};</div>  <div><BR>void <FONT color=#ff0000>shortSeqTestServer_i</FONT>::<FONT color=#0000ff>setSize</FONT>(CORBA::Short&amp; size)<BR>{<BR>data.length(size);</div>  <div>&nbsp;for(int i=0;i&lt;size;i++)<BR>&nbsp;{<BR>&nbsp;&nbsp;data[i] = (CORBA::Short)1;&nbsp;<BR>&nbsp;}<BR>}</div>  <div>&nbsp;</div>  <div>void <FONT color=#ff0000>shortSeqTestServer_i::</FONT><FONT color=#0000ff>acceptType</FONT>(seqShort&amp; value)<BR>{<BR>&nbsp; // Do something</div>  <div>}</div>  <div>seqShort* <FONT color=#ff0000>shortSeqTestServer_i::</FONT><FONT color=#0000ff>returnType</FONT>()<BR>{<BR>&nbsp;&nbsp;return &amp;data;<BR>}<BR></div>  <div>&nbsp;</div>  <div><STRONG>Now, I am doing in my client.</STRONG> </div>  <div>&nbsp;</div>  <div>&nbsp;</div>  <div>shortSeqTestServer_var echoref1 = shortSeqTestServer::_narrow(obj1);<BR>&nbsp;</div>
  <div>seqShort_var testPattern;</div>  <div>&nbsp;for (int j = 0; j&lt;4; j++)<BR>&nbsp;{<BR>&nbsp;CORBA::Short size = j+4;<BR>&nbsp;testPattern =new seqShort(size);</div>  <div>&nbsp;echoref1-&gt;setSize(size);<BR>&nbsp;testPattern-&gt;length(size); <BR>&nbsp;<BR>&nbsp;CORBA::Short i; <BR>&nbsp;&nbsp;for (i = 0; i&lt;size; i++)&nbsp;&nbsp; <BR>&nbsp;&nbsp;testPattern[i] = 1;&nbsp; <BR>&nbsp;<BR>&nbsp;testPattern = echoref1-&gt;returnType();<BR>&nbsp;}</div>  <div>&nbsp;</div>  <div>&nbsp;</div>  <div>I got following error when I execute my client "Caught a CORBA:: UNKNOWN"!</div>  <div>&nbsp;</div>  <div>I really don't know what is wrong with my code. It seems everything is Ok for me.</div>  <div>But I don't know.</div><BR><BR><div><FONT color=#00007f></FONT>&nbsp;</div>  <div><FONT color=#00007f>==================================================================================================================================================================</FONT></div> 
 <div><FONT color=#00007f>Janarbek, Researcher. <BR>Software Robot Research Team, ETRI(Electronics and Telecommunications Research Institute)<BR>161 Kajong-Dong, Yusong-Gu, TAEJON, 305-350, KOREA<BR>Email : </FONT><A href="mailto:janarbek@etri.re.kr"><FONT color=#00007f>janarbek@etri.re.kr</FONT></A><BR><FONT color=#00007f>Phone : 82-42-860-1838<BR>Fax : 82-42-860-6790</FONT></div>  <div><FONT color=#00007f>Cell Phone: 82-10-8692-8103</FONT></div>  <div><FONT color=#00007f>===================================================================================================================================================================</FONT></div><p>&#32;
      <hr size=1>Moody friends. Drama queens. Your life? Nope! - their life, your story.<br> <a href="http://us.rd.yahoo.com/evt=48224/*http://sims.yahoo.com/">Play Sims Stories at Yahoo! Games. </a>