You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ma...@gfi.ihk.de on 2002/05/08 15:55:28 UTC

Null Values

I can“t get my Axis Client to work with an BEA 6.1 sp6 Webservice.
The Problem is that bea uses

                                        <statKz xsi:null="1"/>

to serialise Null Values (1999) but the DeserializerImpl-Class from Axis 
checks for the xsi:nil  (2001) Attribute to determine Null-Values.
So i get an java.lang.NumberFormatException when the Deserializer tries to 
create a new Instance of Integer or Long with an Empty String.

SimpleDeserializer Line 244
        return constructor.newInstance(new Object[] {source});


Any hints to how i can avoid this problem?

tia
Oliver