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 bu...@apache.org on 2003/06/12 18:41:47 UTC
DO NOT REPLY [Bug 20711] New: -
Example6 Fails at Runtime
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20711>.
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.