What¹s always bizarre about the types is that in the end you¹re sending ASCII over the wire, and the types are really just so you can convert everything to whatever representation is appropriate. You could probably do this:
<value bob type=³boolean²>This is a string</value>. I¹m pretty sure most soap parsers would accept this (i.e.: they don't do type validation). I know this is a problem when doing sets, because the acceptable incoming representation of boolean is implementation specific. It could be 1, true, TRUE, True, Enabled - it really depends on the device/firmware. -- Manny Veloso Sr. Solutions Engineer Smartrg.com On 3/4/15, 12:25 PM, "Zaid Abdulla" <[email protected]> wrote: >On Mon, Mar 2, 2015, at 10:49 PM, Manny Veloso wrote: >> Well, it¹s not sending the types along with the Value. Those are >>supposed to be required. Maybe it¹s not passing validation because Genie >>has no idea what type anything is? > >I think Manny is spot on. Check out this comment on how to implement a >workaround: >https://github.com/zaidka/genieacs/issues/17#issuecomment-45466577 > >Zaid >_______________________________________________ >Users mailing list >[email protected] >http://lists.genieacs.com/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
