src/wsdl/org/apache/axis/wsdl/wsdl2ws/info/WSDLInfo.java
/**
     * @param op
     * @param minfo MethodInfo object into which output message and it's elements are to be added
     * @throws WrapperFault
     */
@param op
@param minfo MethodInfo object into which output message and it's elements are to be added
@throws WrapperFault
@param op @param minfo MethodInfo object into which output message and it ' s elements are to be added @throws WrapperFault
private void addRPCStyleOutputMessageToMethodInfo(BindingEntry bindingEntry, Operation op, MethodInfo minfo) throws WrapperFault
    {
        if (op.getOutput() == null)
            return;
        ParameterInfo pinfo;
        Iterator returnlist;
        minfo.setInputMessage(op.getInput().getMessage().getQName());
        minfo.setOutputMessage(op.getOutput().getMessage().getQName());
        if (op.getParameterOrdering() != null)
        {
            for (int ix = 0; ix < op.getParameterOrdering().size(); ix++)
            {
                Part p = (Part) (op.getOutput().getMessage().getParts().get((String) op.getParameterOrdering().get(ix)));
                if (p == null)
                    continue;
                pinfo = createParameterInfo(p);
                if (null != pinfo)
                    minfo.addOutputParameter(pinfo);
            }
            returnlist = op.getOutput().getMessage().getParts().values().iterator();
            while (returnlist.hasNext())
            { 
                Part p = (Part) returnlist.next();
                if (op.getParameterOrdering().contains(p.getName()) 
                        || (bindingEntry.isOutHeaderPart(op.getName(), p.getName())))
                    continue;
                pinfo = createParameterInfo(p);
                if (null != pinfo)
                    minfo.addOutputParameter(pinfo);
            }
        }
        else
        {
            returnlist = op.getOutput().getMessage().getParts().values().iterator();
            while (returnlist.hasNext())
            { 
                Part p = ((Part) returnlist.next());
                if (bindingEntry.isOutHeaderPart(op.getName(), p.getName()))
                    continue;
                pinfo = createParameterInfo(p);
                if (null != pinfo)
                    minfo.addOutputParameter(pinfo);
            }
        }
    }
private void addRPCStyleOutputMessageToMethodInfo ( BindingEntry bindingEntry , Operation op , MethodInfo minfo ) throws WrapperFault { if ( op . getOutput ( ) == null ) return ; ParameterInfo pinfo ; Iterator returnlist ; minfo . setInputMessage ( op . getInput ( ) . getMessage ( ) . getQName ( ) ) ; minfo . setOutputMessage ( op . getOutput ( ) . getMessage ( ) . getQName ( ) ) ; if ( op . getParameterOrdering ( ) != null ) { for ( int ix = 0 ; ix < op . getParameterOrdering ( ) . size ( ) ; ix ++ ) { Part p = ( Part ) ( op . getOutput ( ) . getMessage ( ) . getParts ( ) . get ( ( String ) op . getParameterOrdering ( ) . get ( ix ) ) ) ; if ( p == null ) continue ; pinfo = createParameterInfo ( p ) ; if ( null != pinfo ) minfo . addOutputParameter ( pinfo ) ; } returnlist = op . getOutput ( ) . getMessage ( ) . getParts ( ) . values ( ) . iterator ( ) ; while ( returnlist . hasNext ( ) ) { Part p = ( Part ) returnlist . next ( ) ; if ( op . getParameterOrdering ( ) . contains ( p . getName ( ) ) || ( bindingEntry . isOutHeaderPart ( op . getName ( ) , p . getName ( ) ) ) ) continue ; pinfo = createParameterInfo ( p ) ; if ( null != pinfo ) minfo . addOutputParameter ( pinfo ) ; } } else { returnlist = op . getOutput ( ) . getMessage ( ) . getParts ( ) . values ( ) . iterator ( ) ; while ( returnlist . hasNext ( ) ) { Part p = ( ( Part ) returnlist . next ( ) ) ; if ( bindingEntry . isOutHeaderPart ( op . getName ( ) , p . getName ( ) ) ) continue ; pinfo = createParameterInfo ( p ) ; if ( null != pinfo ) minfo . addOutputParameter ( pinfo ) ; } } }
@param op
 @param minfo MethodInfo object into which output message and it's elements are to be added
 @throws WrapperFault
@param op @param minfo MethodInfo object into which output message and it ' s elements are to be added @throws WrapperFault
// TODO recheck parameter ordering logic....
 // there can be more output parameters than in parameterOrder list (partial parameter ordering)
 //RPC style messages can have multiple parts
 //RPC style messages can have multiple parts
