xml - Datazen data types -


i'm new datazen technology. issue i'm facing right related data types sent wcf service datazen server xml. datazen server not convert received values decimals , treat them strings. wcf service method returns kind of object:

[datacontract] public class numberofvessels {     [datamember(name = "decimal")]     public int vesselsonline { get; set; }      [datamember]     public int vesselsoffline { get; set; } } 

edit: xml sent service

<numberofvessels xmlns="http://schemas.datacontract.org/2004/07/rdsapi.models" xmlns:i="http://www.w3.org/2001/xmlschema-instance"> <vesselsoffline>9</vesselsoffline> <vesselsonline>53</vesselsonline> </numberofvessels> 

here data view on datazen server. dropdown not allow me choose column thinks values strings. enter image description here

is there way how force datazen convert these values decimals, or wcf service has provide attributes in xml data carry data type information? thanks!

regarding ms support, feature fresh in datazen server.

just update server latest version, should see page similar when editing xml data view. once there, can pick appropriate data type, , perform parse.

datazen xml service data types configuration


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -