: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Carey Matthew Black
Sent: Thursday, December 20, 2007 5:48 AM
To: arslist@ARSLIST.ORG
Subject: Re: Consume AR System Web Services through .net framework 2.0
Misi,
Optional ( in ARS) does not translate
:48 AM
To: arslist@ARSLIST.ORG
Subject: Re: Consume AR System Web Services through .net framework 2.0
Misi,
Optional ( in ARS) does not translate into the Web Service universe by
default. I have no idea why they skipped that important attribute.
In XML there is a nillable attribute/concept
Hi,
When a NULL-value is returned from the AR System Web Service, the .net
developer gets the following error. The problematic XML-tag is the empty
tag ns0:Integer_Field xsi:type=xsd:int/, but it is the same with any
empty tag/field.
There is an error in XML document (4,41)
2007-dec-18 11:31:31
Does the XML schema states that the elements can be null?
--
Jarl
On Dec 19, 2007 9:50 AM, Misi Mladoniczky [EMAIL PROTECTED] wrote:
Hi,
When a NULL-value is returned from the AR System Web Service, the .net
developer gets the following error. The problematic XML-tag is the empty
tag
Hi Jarl,
Yes it does. We tried it both ways after my original post.
As it turned out, NULL-values was OK for character fields but not for
Integers and Date Fields. By changing the mapping sligthly for Date and
Integer Fields and changing the Properties-Type to string instead of
It should not be necessary to change the datatype. Strings will always
be ok to send NULL values, not other datatypes as a NULL value is not
valid.
Do you specify minOccurs for the elemets?
--
Jarl
On Dec 19, 2007 11:11 AM, Misi Mladoniczky [EMAIL PROTECTED] wrote:
Hi Jarl,
Yes it does. We
Misi:
We had a similar issue where NULL values returned from the AR Web
Service that caused errors like 'Object reference not set to an
instance of an object.' To bypass that we came up with default
dateTime/integer values(like 1975-01-01T00:00:00-05:00) which the .NET
code would ignore. This will
7 matches
Mail list logo