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=12836>.
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=12836

wsdl:part name is empty "" if not compile with debug





------- Additional Comments From [EMAIL PROTECTED]  2002-09-20 14:00 -------
The problem is in the following code:
It would be okay 'not' to have debug names, but must put in0, in1 etc



This is called from ServiceDesc in the method:     private void 
createOperationForMethod(Method method) {


        String [] paramNames =
                ParamNameExtractor.getParameterNamesFromDebugInfo(method);

Class 
    public static String[] getParameterNamesFromDebugInfo(Method method) {
.......
.......

        // Try to obtain a ParamReader class object from cache
        ParamReader pr = (ParamReader) paramCache.get(c);

        if (pr == null) {
            try {
                // get a parameter reader
                pr = new ParamReader(c);
                // cache it
                paramCache.put(c, pr);
            } catch (IOException e) {
                // log it and leave
                log.info(Messages.getMessage("error00") + ":" + e);
                return null;
            }
        }

        // get the paramter names
        String[] names = pr.getParameterNames(method);

Reply via email to