Examples of MessageEntry


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

            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

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

            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

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

     * @return A Java class name for the fault
     */
    public static String getFullExceptionName(Message faultMessage,
                                              SymbolTable symbolTable) {

        MessageEntry me = symbolTable.getMessageEntry(faultMessage.getQName());

        return (String) me.getDynamicVar(
                JavaGeneratorFactory.EXCEPTION_CLASS_NAME);
    }    // getFullExceptionName
View Full Code Here

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

     * @return A QName for the XML type of the data
     */
    public static QName getFaultDataType(Message faultMessage,
                                         SymbolTable symbolTable) {

        MessageEntry me = symbolTable.getMessageEntry(faultMessage.getQName());

        return (QName) me.getDynamicVar(
                JavaGeneratorFactory.EXCEPTION_DATA_TYPE);
    }    // getFaultDataType
View Full Code Here

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

     * @return A Java class name for the fault
     */
    public static boolean isFaultComplex(Message faultMessage,
                                         SymbolTable symbolTable) {

        MessageEntry me = symbolTable.getMessageEntry(faultMessage.getQName());
        Boolean ret =
                (Boolean) me.getDynamicVar(JavaGeneratorFactory.COMPLEX_TYPE_FAULT);

        if (ret != null) {
            return ret.booleanValue();
        } else {
            return false;
View Full Code Here

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

            generatedFaults.add(name);

            // Generate the 'Simple' Faults.
            // The complexType Faults are automatically handled
            // by JavaTypeWriter.
            MessageEntry me =
                    symbolTable.getMessageEntry(message.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

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

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

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

            exceptionClassName = excName;
        }

        // 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,
                        Boolean.TRUE);
                me.setDynamicVar(JavaGeneratorFactory.EXCEPTION_CLASS_NAME,
                        exceptionClassName);
            } else {
                me.setDynamicVar(JavaGeneratorFactory.EXCEPTION_CLASS_NAME,
                        emitter.getJavaName(me.getQName()));
            }
        }
    }
View Full Code Here

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

     * @param symbolTable the current symbol table
     * @return A Java class name for the fault
     */
    public static String getFullExceptionName(Message faultMessage,
                                              SymbolTable symbolTable) {
        MessageEntry me = symbolTable.getMessageEntry(faultMessage.getQName());
        return (String) me.getDynamicVar(JavaGeneratorFactory.EXCEPTION_CLASS_NAME);
    } // getFullExceptionName
View Full Code Here

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

     * @param symbolTable the current symbol table
     * @return A QName for the XML type of the data
     */
    public static QName getFaultDataType(Message faultMessage,
                                         SymbolTable symbolTable) {
        MessageEntry me = symbolTable.getMessageEntry(faultMessage.getQName());
        return (QName) me.getDynamicVar(JavaGeneratorFactory.EXCEPTION_DATA_TYPE);
    } // getFaultDataType
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.