On Thu, 27 Jun 2002, Scott Nichol wrote: > > I'm not sure I understand - is 'null' valid in the 99 schema ? Isn't Axis > > supposed to interoperate with that particular schema ? I find it hard to > > believe that this level of backward incompatibility is possible. > > In the 1999 and 2000 schemas, 'null' is the name of the attribute. In the > 2001 schema, 'nil' is the name. Prior to version 2.3.1, Apache SOAP has a > bug in which it uses 'null' with the 2001 schema. Starting with 2.3.1, the > bug is fixed. Therefore, if you have an older version and are using the > 2001 schema, it is this bug that could prevent you from interoperating. If > you are using the 1999 or 2000 schema, Apache SOAP correctly emits the name > as 'null' and I believe that any interop problems would be the fault of > Axis.
I'll try to check. Making Axis accept 'null' is a one-line change. BTW, I can't find any reference or code dealing with 'null' - I pretty much doubt axis can accept the 1999 schema ( but the code is complex enough, it may be hidden somewhere ). At least in DeserializerImpl it checks for 'nil', and doesn't seem to care about schema version or 'null'. Costin