I'm a newbie in Infopath.
I've created a small webservice with Visual Basic.Net for comunicate
with an Access DB.
In the VB Code there is a Type called "Census" like this:
Public Class Census
Public ID as Int32
Public DateBirth as Date
Public Name as String
End Class
If I look to the WSDL it seems like this:
<s:complexType name="Census">
<s:sequence>
<s:element minOccurs="1" maxOccurs="1" name="ID" type="s:int"/>
<s:element minOccurs="1" maxOccurs="1" name="DateBirth"
type="s:dateTime"/>
<s:element minOccurs="0" maxOccurs="1" name="Name" type="s:string"/>
</s:sequence>
</s:complexType>
I would like that minOccurs for ID and DateBirth is 0 not 1 so that in
Infopath I'm not obliged to insert a value for it. Alternatively I need
a way to obviate this problem
How can I do this??
Thanks for replying and excuse me for my bad english.
KjellSJ - 05 May 2005 12:36 GMT
You will find the answer to your problem here:
http://kjellsj.blogspot.com/2005/04/submitting-xsiniltrue-values-from.html
http://kjellsj.blogspot.com/2005/04/optional-numeric-fields-in-infopath.html
KjellSJ
> I'm a newbie in Infopath.
>
[quoted text clipped - 27 lines]
>
> Thanks for replying and excuse me for my bad english.