[omniORB] Error demarshalling result
Romain Vinot
romain.vinot at akio-software.com
Wed Aug 25 17:44:31 BST 2004
Sorry for bothering you...
The error was not in OmniORB as I thought but in the perl CORBA wrapper
used for calling the remote interface.
So nothing related to OmniORB...
Subject closed :o)
Romain Vinot wrote:
> Hello,
>
> I am maintaining an application using OmniORB with few knowledge of
> Corba. I'm having strange behavior when outputting strings from a Corba
> interface.
>
> I wrote a small program reproducing the problem. The interface has only
> one function "Echo" that echoes the string called in parameter.
> When I execute this function with a string which has 8,9 or 10 chars,
> I've got a CORBA::MARSHALL exception. With anything else, everything is
> fine.
>
> Is there something I did wrong ?
> I use OmniORB 4.0.3. Just tried OmniORB 4.0.4 with same result.
> I really don't understand what is happening so thanks in advance for
> any help.
> Romain
>
>
> IDL file :
>
> module DistributedTest
> {
> interface DistTest
> {
> void Echo (in string msg, out string msgecho);
> };
> };
>
> Implementation :
> void DistTest_i::Echo (const char *msg, CORBA::String_out msgecho)
> {
> msgecho = CORBA::string_dup (msg);
> }
>
>
>
>
> _______________________________________________
> omniORB-list mailing list
> omniORB-list at omniorb-support.com
> http://www.omniorb-support.com/mailman/listinfo/omniorb-list
>
More information about the omniORB-list
mailing list