[Mono-list] RegistrationException

Alexander Chan alexc2649@nyc.rr.com
03 Feb 2003 23:53:10 -0500


--=-JSVBqeeDjkCgTnAOjlrR
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi,

I am working on RegistrationException class in System.EnterpriseServices
namepace. the method i am working on is GetObjectData(). I am trying to
figure out how .net serializes the Errors in GetObjectData() method in
this class. There is one hitch. It serializes a whole array of
RegistrationErrorInfo classes.
I am using serializer.cs. how should i modify serializer.cs to have it
find out serialize all this data. i have attached the xml file that was
created so far. 
thanks to duncan for helping me so far.
all the best,
-- 
Alexander Chan <alexc2649@nyc.rr.com>

--=-JSVBqeeDjkCgTnAOjlrR
Content-Disposition: attachment; filename=System.EnterpriseServices.RegistrationException.xml
Content-Type: text/xml; name=System.EnterpriseServices.RegistrationException.xml; charset=us-ascii
Content-Transfer-Encoding: quoted-printable

<SOAP-ENV:Envelope xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance" =
xmlns:xsd=3D"http://www.w3.org/2001/XMLSchema" xmlns:SOAP-ENC=3D"http://sch=
emas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV=3D"http://schemas.xmlsoap.o=
rg/soap/envelope/" xmlns:clr=3D"http://schemas.microsoft.com/soap/encoding/=
clr/1.0" SOAP-ENV:encodingStyle=3D"http://schemas.xmlsoap.org/soap/encoding=
/">
<SOAP-ENV:Body>
<a1:RegistrationException id=3D"ref-1" xmlns:a1=3D"http://schemas.microsoft=
.com/clr/nsassem/System.EnterpriseServices/System.EnterpriseServices%2C%20V=
ersion%3D1.0.3300.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db03f5f7f11=
d50a3a">
<ClassName id=3D"ref-3">System.EnterpriseServices.RegistrationException</Cl=
assName>
<Message id=3D"ref-4">test</Message>
<InnerException xsi:null=3D"1"/>
<HelpURL xsi:null=3D"1"/>
<StackTraceString xsi:null=3D"1"/>
<RemoteStackTraceString xsi:null=3D"1"/>
<RemoteStackIndex>0</RemoteStackIndex>
<ExceptionMethod xsi:null=3D"1"/>
<HResult>-2146233087</HResult>
<Source xsi:null=3D"1"/>
</a1:RegistrationException>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

--=-JSVBqeeDjkCgTnAOjlrR--