[PolyORB-users] Dealing with String parameters
Frédéric Praca
frederic.praca at free.fr
Fri Mar 15 17:23:23 CET 2013
Le Fri, 15 Mar 2013 16:52:34 +0100,
Thomas Quinot <quinot at adacore.com> a écrit :
> * Frédéric Praca, 2013-03-15 :
>
> > The problem I have is that creating the object and activating it
> > works but when setting the data member of Annotation object,
> > nothing seems to happen on the server side (i.e. no logging message
> > after calling set_data) and the client sends an CORBA.INV_OBJREF
> > exception.
>
> There is nothing specific associated to string parameters in PolyORB.
>
> > As far as I remember, using Orbix, I had to "copy" the incoming
> > string.
>
> There is no such requirement with PolyORB; this would not be
> conformant to the standard Ada/CORBA mapping.
>
> > Is it also the case with PolyOrb ? Are there some special thing to
> > do with String objects (and Wide_String) ?
>
> There shouldn't. CORBA.INV_OBJREF indicates that you are calling an
> operation with an invalid object reference.
Ok, so it only means that there's something wrong with
registering and activating my Annotation object.
It's weird as I already managed to do it with another createSomething
operation but without any parameter.
Well, let's investigate !
By the way, thanks for this quick answer
More information about the PolyORB-users
mailing list