Detrmine Type of Entity

Posts   
 
    
Anthony
User
Posts: 155
Joined: 04-Oct-2006
# Posted on: 28-Apr-2011 06:56:31   

vb.net llblgen adapter,v2.6

I am passing xml to a webservice is it possible to determine the entity type? The xml will be the serialised entity.

Walaa avatar
Walaa
Support Team
Posts: 14946
Joined: 21-Aug-2005
# Posted on: 28-Apr-2011 08:50:20   

How did you get the xml?

Anthony
User
Posts: 155
Joined: 04-Oct-2006
# Posted on: 28-Apr-2011 14:20:04   

i serialised a entitycollection from a winform app...ie orderscollection.writexml or orderentity.writexml

MTrinder
User
Posts: 1461
Joined: 08-Oct-2008
# Posted on: 28-Apr-2011 21:48:05   

The verbose format contains detailed type information - see the documentation of the format here http://www.llblgen.com/documentation/2.6/Using%20the%20generated%20code/gencode_xmlsupport.htm#xmlformats

The Compact and Compact25 formats contain significantly less type info and are designed to be used when both ends of the transaction know which types they are expecting in advance.

Matt