I don't get a null value in the server. In fact, I get a valid integer: 
Integer.MIN_VALUE.


From: Sudhanshu Umalkar Umalkar [mailto:[email protected]]
Sent: Monday, August 17, 2009 11:41 AM
To: [email protected]
Subject: RE: Optional fields

One way is to try to retrieve the value of that field and check for null at 
server side.

________________________________
From: Willoughby, Kevin [mailto:[email protected]]
Sent: Monday, August 17, 2009 7:43 PM
To: [email protected]
Subject: Optional fields
I'm working with a WSDL that has optional fields, e.g., '<xs:element 
name="alarmTally" type="xs:int" minOccurs="0"/>'.

When the client does not supply a field, how is the server supposed to know if 
the field was omitted?

Reply via email to