[Mono-list] Problems serializing 'object' classes
Javier Fernandez
jfernandez at igalia.com
Fri Jun 9 06:33:24 EDT 2006
On Fri, Jun 09, 2006 at 11:30:17AM +0200, Lluis Sanchez wrote:
> > /// <remarks/>
> > [System.Xml.Serialization.SoapType("CORBA.Any", Namespace="http://www.omg.org/IDL-Mapped/")]
> > public class CORBAAny {
> >
> > /// <remarks/>
> > public CORBATypeCode type;
> >
> > /// <remarks/>
> > public int __type;
> >
> > /// <remarks/>
> > public object value;
> > }
> >
> What you mean by 'undefined values'? A concrete example of the
> serialization output would help in diagnosing what's wrong.
>
The problem is the 'public object value' attribute of the abstract class (CORBAAny).
Thois attribiute stores the concrete class, which can be of any class.
In gsoap. i muts add a __type attirbute to indicate the type of this 'untyped'
object. In C3 i dont knonw how to do something similar.
The serialization process dows not ouput any error or message. All seems to
be correct, but in the gsoap server, the attributes of CORBAAny structure has
incorrect values. Do you mean i migth put the xml soap message ?
Thanks for your attention.
--
Javier Fernández García-Boente
Ingeniero en Informática
mailto:jfernandez at igalia.com
Igalia S.L. http://www.igalia.com
Telf. +34 981 91 39 91
Fax. +34 981 91 39 49
More information about the Mono-list
mailing list