|
Hi, All,
You may have noticed this or have an explanation. Recently I noticed that even if a client dose not provide any values to double fields I always see “0.0” at the server end in my web services. For example I have a field called “amount” in a sales order transaction and I would like to deny the service if the “amount’ is not provided (for other reasons I have selected to treat the amount as an optional field). I have verified that the xml resulted to send cross the wire did not have any amount element. Now somewhere in the process a default value is added to the “amount” thus I can not reject the transaction based on an empty “amount” field. This also happens on integer fields which have “0” default values.
Please share me with your insight and solutions,
Thanks,
Scott
|
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user
