Examples of PortTypeEntry


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

            for (int i = 0; i < v.size(); ++i) {
                SymTabEntry entry = (SymTabEntry) v.elementAt(i);
                if (entry instanceof BindingEntry) {
                    BindingEntry bEntry = (BindingEntry) entry;
                    Binding binding = bEntry.getBinding();
                    PortTypeEntry ptEntry =
                            symbolTable.getPortTypeEntry(binding.getPortType().getQName());
                    PortType portType = ptEntry.getPortType();
                    Iterator operations = portType.getOperations().iterator();
                    while(operations.hasNext()) {
                        Operation operation = (Operation) operations.next();
                        OperationType type = operation.getStyle();
                        String name = operation.getName();
View Full Code Here

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

            if (bEntry == null) {
                throw new IOException(JavaUtils.getMessage("emitFailNoBindingEntry01",
                        new String[] {binding.getQName().toString()}));
            }

            PortTypeEntry ptEntry = symbolTable.getPortTypeEntry(
                    binding.getPortType().getQName());
            if (ptEntry == null) {
                throw new IOException(JavaUtils.getMessage("emitFailNoPortType01",
                        new String[] {binding.getPortType().getQName().toString()}));
            }
View Full Code Here

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

            if (!JavaUtils.isJavaId(portName)) {
                portName = Utils.xmlNameToJavaClass(portName);
            }

            PortType portType = binding.getPortType();
            PortTypeEntry ptEntry =
                    symbolTable.getPortTypeEntry(portType.getQName());

            writeComment(pw, p.getDocumentationElement());
            writeServiceTestCode(pw, portName, portType, ptEntry, binding, bEntry);
        }
View Full Code Here

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

                throw new IOException(JavaUtils.getMessage(
                        "emitFailNoBindingEntry01",
                        new String[] {binding.getQName().toString()}));
            }

            PortTypeEntry ptEntry = symbolTable.getPortTypeEntry(
                    binding.getPortType().getQName());
            if (ptEntry == null) {
                throw new IOException(JavaUtils.getMessage(
                        "emitFailNoPortType01",
                        new String[]
View Full Code Here

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

     */
    protected void setGenerators() {
        BindingEntry bEntry = symbolTable.getBindingEntry(binding.getQName());
       
        // Interface writer
        PortTypeEntry ptEntry =
            symbolTable.getPortTypeEntry(binding.getPortType().getQName());
        if (ptEntry.isReferenced()) {
            interfaceWriter = getJavaInterfaceWriter(
                                 emitter, ptEntry, bEntry, symbolTable);
        }
       
        if (bEntry.isReferenced()) {
View Full Code Here

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

                                                        {
                                                           binding.getQName(  ).toString(  )
                                                        } ) );
         }

         PortTypeEntry ptEntry = m_symTable.getPortTypeEntry( binding.getPortType(  ).getQName(  ) );

         if ( ptEntry == null )
         {
            throw new IOException( Messages.getMessage( "emitFailNoPortType01",
                                                        new String[]
View Full Code Here

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

                                                        {
                                                           binding.getQName(  ).toString(  )
                                                        } ) );
         }

         PortTypeEntry ptEntry = m_symTable.getPortTypeEntry( binding.getPortType(  ).getQName(  ) );

         if ( ptEntry == null )
         {
            throw new IOException( Messages.getMessage( "emitFailNoPortType01",
                                                        new String[]
View Full Code Here

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

         Binding      binding = bindings[i];
         BindingEntry bEntry = symTable.getBindingEntry( binding.getQName(  ) );

         if ( bEntry != null )
         {
            PortTypeEntry ptEntry = symTable.getPortTypeEntry( binding.getPortType(  ).getQName(  ) );

            if ( ptEntry != null )
            {
               // If this isn't a SOAP binding, skip it
               if ( bEntry.getBindingType(  ) == BindingEntry.TYPE_SOAP )
View Full Code Here

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

                    break;
                }
            }
        }

        PortTypeEntry classinfo = symbolTable.getPortTypeEntry(binding.getPortType().getQName());
        if (classinfo == null)
            throw new WrapperFault("Service not found");
        this.qualifiedServiceName = classinfo.getName();
        if (this.qualifiedServiceName == null) {
            qualifiedServiceName = classinfo.getQName().getNamespaceURI();
            qualifiedServiceName =
                WrapperUtils.firstCharacterToLowercase(
                    WrapperUtils.nsURI2packageName(qualifiedServiceName))
                    + "."
                    + classinfo.getQName().getLocalPart();
        }
        return classinfo.getPortType();

    }
View Full Code Here

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

                throw new IOException(JavaUtils.getMessage(
                        "emitFailNoBindingEntry01",
                        new String[] {binding.getQName().toString()}));
            }

            PortTypeEntry ptEntry = symbolTable.getPortTypeEntry(
                    binding.getPortType().getQName());
            if (ptEntry == null) {
                throw new IOException(JavaUtils.getMessage(
                        "emitFailNoPortType01",
                        new String[]
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.