Pregunta

I was given a task to build a web service based on IFX Standard XSD file.

I have got the listed files. enter image description here

What I've done so far is - used xsd.exe (.net tool) and generated classes based on xsd. Here is what it looks like (notice the scroll size):

enter image description here

For the test scenario I have applied [DataMember] attribute to the class member. And that's the way I intend exchange class objects.

Is this a normal approach? I have to apply attributes to hundreds of classes by hand and I guess it'll be nightmare to maintain the code.

No hay solución correcta

Otros consejos

XSD2Code supports the DataContract and Datamember attributes.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top