XSD Message & Lists

Topics: General Discussion Forum, Service Factory Modeling Edition Forum
Jun 12, 2008 at 5:36 PM
Hi,
Newbie question:
I have build an XSD Message from a schema. I want to return a LIST<> of the XSD Message type. Is it possible to use WSSF in this scenario or do I have to code this directly?
thanks!
bill
Developer
Jun 12, 2008 at 11:14 PM

Hi BillyT, there is actually no XsdMessage type exposed in the data contract. It is just a "virtual" shape that acts as a mapper against the real schema type. To return a List<> type collection you should use DataContract Messages instead. If this is not an option to you, you may have to define an array element in the schema you have created.

Thanks



BillyT wrote:
Hi,
Newbie question:
I have build an XSD Message from a schema. I want to return a LIST<> of the XSD Message type. Is it possible to use WSSF in this scenario or do I have to code this directly?
thanks!
bill