Return-Path: Mailing-List: contact axis-user-help@xml.apache.org; run by ezmlm Delivered-To: mailing list axis-user@xml.apache.org Received: (qmail 86941 invoked from network); 31 May 2002 15:51:56 -0000 Received: from limpopo.brivo.net (63.103.49.238) by daedalus.apache.org with SMTP; 31 May 2002 15:51:56 -0000 Received: (qmail 12675 invoked from network); 31 May 2002 15:51:59 -0000 Received: from unknown (HELO localhost) ([192.168.192.12]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 31 May 2002 15:51:59 -0000 Subject: How to stop encoding public static fields? From: Seth Ladd To: axis-user@xml.apache.org Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.5 Date: 31 May 2002 11:46:46 -0400 Message-Id: <1022860006.3686.13.camel@disheveled> Mime-Version: 1.0 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello again, Is there any way in Axis to tell the encoder to ignore public static fields? Or better yet, if the field is final, to ignore setting it? I have a class that has a list of public static final attributes. They get encoded OK (which is a bit verbose I guess), but when they get decoded the engine tries to set those final fields, which of course fails. Any ideas here? Do I have to move those static finals out of the class? Thanks very much, Seth