all groups > dotnet remoting > september 2007 >
You're in the

dotnet remoting

group:

Non-SOAP XML serialization over remoting/web service


Non-SOAP XML serialization over remoting/web service Mads Bondo Dydensborg
9/21/2007 12:59:53 PM
dotnet remoting:
Hi there

New to .net remoting.

I am looking into implementing the NISO NCIP protocol in .net.

The typical payload of an request looks like this:

<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE NCIPMessage PUBLIC "-//NISO//NCIP DTD Version 1//EN"
"http://www.niso.org/ncip/v1_0/impl/dtd/ncip_v1_0.dtd">
<NCIPMessage
version="http://www.niso.org/ncip/v1_0/imp1/dtd/ncip_version.dtd">
<LookupUser>
<InitiationHeader>
<FromAgencyId>
<UniqueAgencyId>

<Scheme>http://www.bs.dk/ncip/v1_0/imp1/schemes/uniqueagencyid/bibcode.scm</Scheme>
<Value>FromAgency</Value>
</UniqueAgencyId>
</FromAgencyId>
<ToAgencyId>
<UniqueAgencyId>

<Scheme>http://www.bs.dk/ncip/v1_0/imp1/schemes/uniqueagencyid/bibcode.scm</Scheme>
<Value>ToAgency</Value>
</UniqueAgencyId>
</ToAgencyId>
</InitiationHeader>
<UserElementType>

<Scheme>http://www.niso.org/ncip/v1_0/schemes/userelementtype/userelementtype.scm</Scheme>
<Value>Block Or Trap</Value>
</UserElementType>
</LookupUser>
</NCIPMessage>

This can be carried on both http/https and TCP.

I have an xsd that defines the dataelements used, which I can construct
(data)classes from, and when these are serialized to XML, they produce the
right XML. So far, so good.

I would like to use the remoting/webservice infrastructure of .net. It seems
to me, that this requires me to implement my own formatter - as I can not
use the SOAP or binary one. Is that correct?

One would think there would be an easier way from an xsd to a remoting
service?

Any help/pointers/reference most appreciated.

Thanks in advance.

Mads

--
Med venlig hilsen/Regards

Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo
Dydensborg
Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 77
Re: Non-SOAP XML serialization over remoting/web service Mads Bondo Dydensborg
9/27/2007 12:00:00 AM
[quoted text, click to view]

Hi again.

Just wondering if there really is noone that wants to comment on this?

Regards,

Mads


[quoted text, click to view]

--
Med venlig hilsen/Regards

Systemudvikler/Systemsdeveloper cand.scient.dat, Ph.d., Mads Bondo
Dydensborg
Dansk BiblioteksCenter A/S, Tempovej 7-11, 2750 Ballerup, Tlf. +45 44 86 77
AddThis Social Bookmark Button