C
Chinmaya Pradhan
Hi,
I am reusing a webservice was already used for retreival of data from SQL
server for some .NET application.
The response object is the combination of few entities and onload of the
Infopath form I am just executing the webservice and binding the same to
Infoapth.
But the problem here is when ever I am submitting back the InfoPath form if
the not nullable fields are not being set then schema validation error
occurs. To overcome this I put some default value to those not nullable
fields. Like for integer fields I've added 0, for date fields 1/1/1900 etc.
So when the infopath form loads, for those filds if there no value exists
then the default value is beiing displayed.
So is there any other way to solve this issue?
Thanks,
Chinmaya.
I am reusing a webservice was already used for retreival of data from SQL
server for some .NET application.
The response object is the combination of few entities and onload of the
Infopath form I am just executing the webservice and binding the same to
Infoapth.
But the problem here is when ever I am submitting back the InfoPath form if
the not nullable fields are not being set then schema validation error
occurs. To overcome this I put some default value to those not nullable
fields. Like for integer fields I've added 0, for date fields 1/1/1900 etc.
So when the infopath form loads, for those filds if there no value exists
then the default value is beiing displayed.
So is there any other way to solve this issue?
Thanks,
Chinmaya.