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 8313] New: - WSDL2Java generates client BindingStub with wrong java.util.Properties method
Date Fri, 19 Apr 2002 19:58:06 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=8313>.
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=8313

WSDL2Java generates client BindingStub with wrong java.util.Properties method

           Summary: WSDL2Java generates client BindingStub with wrong
                    java.util.Properties method
           Product: Axis
           Version: nightly
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: chris.peake@ca.com


I've tried this on this weeks builds. 4/19
Generated client code for BindingStub fails to compile because of incorrect 
method names on java.util.Properites.
The commented out lines are the ones WSDL2Java generated

//            java.util.Enumeration keys = super.cachedProperties.keys();
            java.util.Enumeration keys = super.cachedProperties.propertyNames();

            while (keys.hasMoreElements()) {
                String key = (String) keys.nextElement();
//                call.setProperty(key, super.cachedProperties.get(key));
                call.setProperty(key, super.cachedProperties.getProperty(key));
With correction to propertyNames and getProperty, this compiles correctly.

Mime
View raw message