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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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.

Reply via email to