We're running into a problem with our WS server (in VW 7.4). If we try to return an integer value >32767, but < SmallInteger maxVal, we end up with an error on the (non-VW) client side, because SmallIntegers get marshaled as xsd:short's, which are considered to be 16-bit signed integers. So, we're essentially marshaling invalid values.
If we were to change the type mapping so that SmallIntegers marshal as xsd:ints instead, then we might run into the opposite problem, which is being sent a value that's too big for a SmallInteger. I don't think this is a big problem, because VW will automatically promote those values to a larger integral type, which should be fine.
I have two questions:
1. Should the default mapping in XMLObjectBinding class>>defaultSmalltalk2XMLMap be changed?
2. If not, is there a way I can change it for my server?
Thanks,
Randy
--
Randy Coulman
[hidden email]