Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Java Corba > Why we can't pr...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 500 of 534
Post > Topic >>

Why we can't provide a null parameter to method in CORBA?

by billdavidcn@[EMAIL PROTECTED] Jul 3, 2007 at 02:21 AM

If I have a method like this in my idl defined interface:
string echoString(in string mesg);

And if I call this method with a null parameter, ORB will fail in
serializing this parameter and report a org.omg.CORBA.BAD_PARAM.

But why CORBA has such a limitation? What's the history?
And how can I avoid this? Always check the parameter before CORBA
method invoke?

BTW:
My environment is JDK1.5 and the ORB is inline JAVA IDL.
The same thing happens in ORBACUS 4.3.




 5 Posts in Topic:
Why we can't provide a null parameter to method in CORBA?
billdavidcn@[EMAIL PROTEC  2007-07-03 02:21:02 
Re: Why we can't provide a null parameter to method in CORBA?
Yakov Gerlovin <yakov.  2007-07-03 07:54:02 
Re: Why we can't provide a null parameter to method in CORBA?
billdavidcn@[EMAIL PROTEC  2007-07-03 21:31:32 
Re: Why we can't provide a null parameter to method in CORBA?
Piet van Oostrum <piet  2007-07-07 23:14:14 
Re: Why we can't provide a null parameter to method in CORBA?
Yakov Gerlovin <yakov.  2007-07-04 00:32:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 17:11:15 CDT 2008.