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.
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.
Comments
Post a Comment