0 Replies Latest reply on Apr 15, 2005 4:53 AM by Ole Matzura

    problems creating custom Serializer

    Ole Matzura Novice

      Hi all,

      we have a strange problem; we have created a custom Serializer that we configure as specified. Unfortunately, whenever we try to use the SerializationContext specified in the serialize call we get a java.lang.IncompatibleClassChangeError.. i.e.

      public void serialize(QName arg0, Attributes arg1, Object arg2, SerializationContext arg3) throws IOException
       {
       arg3.writeString("hello");
       }
      


      is enough to throw this exception in the above writeString call..

      java.lang.IncompatibleClassChangeError indicates a change to the class (the SerializationContext?).. how could that have changed?

      (Our serializer is used for serializing soap faults, could that have anything to do with it?)

      thanks for any reply!

      /Ole