Return-Path: Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 96123 invoked by uid 500); 12 Jun 2003 16:39:31 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 96055 invoked from network); 12 Jun 2003 16:39:30 -0000 Date: 12 Jun 2003 16:41:47 -0000 Message-ID: <20030612164147.28252.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: axis-dev@ws.apache.org Cc: Subject: DO NOT REPLY [Bug 20711] New: - Example6 Fails at Runtime X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20711 Example6 Fails at Runtime Summary: Example6 Fails at Runtime Product: Axis Version: 1.1rc2 Platform: PC OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Samples AssignedTo: axis-dev@ws.apache.org ReportedBy: mcdanijr@tigr.org In the samples.userguide.sample6 WidgetPriceSoapBindingImpl.java file, there is no way to persist the values in the HashMap. Thus, the sample Main.java fails at runtime (and is reported as failing!). A simple solution is to make the HashMap a static object by changing the definition to: private static HashMap table = new HashMap(); Further, all examples should be run successfully as a condition of releasing any version.