axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 20711] New: - Example6 Fails at Runtime
Date Thu, 12 Jun 2003 16:41:47 GMT
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.

Mime
View raw message