Package org.apache.axis.wsdl.symbolTable

Examples of org.apache.axis.wsdl.symbolTable.MessageEntry


     * Since Wsdl2java doesn't emit anything for Messages, return the No-op generator.
     */
    private Writers messageWriters = new Writers();

    public Generator getGenerator(Message message, SymbolTable symbolTable) {
        MessageEntry mEntry = symbolTable.getMessageEntry(message.getQName());
        messageWriters.addStuff(new NoopGenerator(), mEntry, symbolTable);
        return messageWriters;
    } // getGenerator
View Full Code Here


                exceptionClassName = te.getName();
            }
        }
        // Set the name of the exception and
        // whether the exception is a complex type
        MessageEntry me = symbolTable.getMessageEntry(
            fault.getMessage().getQName());
        if (me != null) {
            me.setDynamicVar(
                             JavaGeneratorFactory.EXCEPTION_DATA_TYPE,
                             faultXmlType);
            if (exceptionClassName != null) {
                me.setDynamicVar(
                                 JavaGeneratorFactory.COMPLEX_TYPE_FAULT,
                                 new Boolean(true));
                me.setDynamicVar(
                                 JavaGeneratorFactory.EXCEPTION_CLASS_NAME,
                                 exceptionClassName);
            } else {
                me.setDynamicVar(
                                 JavaGeneratorFactory.EXCEPTION_CLASS_NAME,
                                 emitter.getJavaName(me.getQName()));
            }
           
        }
    }
View Full Code Here

            Fault fault, Emitter emitter) {

        // Get the Message referenced in the message attribute of the
        // fault.
        Message faultMessage = fault.getMessage();
        MessageEntry me = emitter.getSymbolTable().getMessageEntry(
            faultMessage.getQName());
        return (String) me.getDynamicVar(JavaGeneratorFactory.EXCEPTION_CLASS_NAME);
    } // getFullExceptionName
View Full Code Here

     * Since Wsdl2java doesn't emit anything for Messages, return the No-op generator.
     */
    private Writers messageWriters = new Writers();

    public Generator getGenerator(Message message, SymbolTable symbolTable) {
        MessageEntry mEntry = symbolTable.getMessageEntry(message.getQName());
        messageWriters.addStuff(new NoopGenerator(), mEntry, symbolTable);
        return messageWriters;
    } // getGenerator
View Full Code Here

                exceptionClassName = te.getName();
            }
        }
        // Set the name of the exception and
        // whether the exception is a complex type
        MessageEntry me = symbolTable.getMessageEntry(
            fault.getMessage().getQName());
        if (me != null) {
            if (exceptionClassName != null) {
                me.setDynamicVar(
                                 JavaGeneratorFactory.COMPLEX_TYPE_FAULT,
                                 new Boolean(true));
                me.setDynamicVar(
                                 JavaGeneratorFactory.EXCEPTION_CLASS_NAME,
                                 exceptionClassName);
            } else {
                me.setDynamicVar(
                                 JavaGeneratorFactory.EXCEPTION_CLASS_NAME,
                                 emitter.getJavaName(me.getQName()));
            }
           
        }
    }
View Full Code Here

            Fault fault = (Fault) entry.getKey();

            // Generate the 'Simple' Faults.
            // The complexType Faults are automatically handled
            // by JavaTypeWriter.
            MessageEntry me = symbolTable.getMessageEntry(
                fault.getMessage().getQName());
            boolean emitSimpleFault = true;
            if (me != null) {
                Boolean complexTypeFault = (Boolean)
                    me.getDynamicVar(
                        JavaGeneratorFactory.COMPLEX_TYPE_FAULT);
                if (complexTypeFault != null &&
                    complexTypeFault.booleanValue()) {
                    emitSimpleFault = false;
                }
View Full Code Here

     * Since Wsdl2java doesn't emit anything for Messages, return the No-op generator.
     */
    private Writers messageWriters = new Writers();

    public Generator getGenerator(Message message, SymbolTable symbolTable) {
        MessageEntry mEntry = symbolTable.getMessageEntry(message.getQName());
        messageWriters.addStuff(new NoopGenerator(), mEntry, symbolTable);
        return messageWriters;
    } // getGenerator
View Full Code Here

                exceptionClassName = te.getName();
            }
        }
        // Set the name of the exception and
        // whether the exception is a complex type
        MessageEntry me = symbolTable.getMessageEntry(
            fault.getMessage().getQName());
        if (me != null) {
            if (exceptionClassName != null) {
                me.setDynamicVar(
                                 JavaGeneratorFactory.COMPLEX_TYPE_FAULT,
                                 new Boolean(true));
                me.setDynamicVar(
                                 JavaGeneratorFactory.EXCEPTION_CLASS_NAME,
                                 exceptionClassName);
            } else {
                me.setDynamicVar(
                                 JavaGeneratorFactory.EXCEPTION_CLASS_NAME,
                                 emitter.getJavaName(me.getQName()));
            }
           
        }
    }
View Full Code Here

            Fault fault = (Fault) entry.getKey();

            // Generate the 'Simple' Faults.
            // The complexType Faults are automatically handled
            // by JavaTypeWriter.
            MessageEntry me = symbolTable.getMessageEntry(
                fault.getMessage().getQName());
            boolean emitSimpleFault = true;
            if (me != null) {
                Boolean complexTypeFault = (Boolean)
                    me.getDynamicVar(
                        JavaGeneratorFactory.COMPLEX_TYPE_FAULT);
                if (complexTypeFault != null &&
                    complexTypeFault.booleanValue()) {
                    emitSimpleFault = false;
                }
View Full Code Here

            Fault fault, Emitter emitter) {

        // Get the Message referenced in the message attribute of the
        // fault.
        Message faultMessage = fault.getMessage();
        MessageEntry me = emitter.getSymbolTable().getMessageEntry(
            faultMessage.getQName());
        return (String) me.getDynamicVar(JavaGeneratorFactory.EXCEPTION_CLASS_NAME);
    } // getFullExceptionName
View Full Code Here

TOP

Related Classes of org.apache.axis.wsdl.symbolTable.MessageEntry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.