Package org.apache.axis.wsdl.symbolTable

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


     */
    public JavaServiceWriter(
            Emitter emitter,
            Service service,
            SymbolTable symbolTable) {
        ServiceEntry sEntry = symbolTable.getServiceEntry(service.getQName());
        if (sEntry.isReferenced()) {
            serviceIfaceWriter =
                    new JavaServiceIfaceWriter(emitter, sEntry, symbolTable);
            serviceImplWriter =
                    new JavaServiceImplWriter(emitter, sEntry, symbolTable);
            if (emitter.isTestCaseWanted()) {
View Full Code Here


     */
    private void initService(Parser parser, QName serviceName)
            throws ServiceException {
        try {
            this.wsdlParser = parser;
            ServiceEntry serviceEntry = parser.getSymbolTable().getServiceEntry(serviceName);
            if (serviceEntry != null)
                this.wsdlService = serviceEntry.getService();
            if (this.wsdlService == null)
                throw new ServiceException(
                        Messages.getMessage("noService00", "" + serviceName));
        } catch (Exception exp) {
            throw new ServiceException(
View Full Code Here

     */
    protected Writers serviceWriters = new Writers();

    public Generator getGenerator(Service service, SymbolTable symbolTable) {
        Generator writer = new JavaServiceWriter(emitter, service, symbolTable);
        ServiceEntry sEntry = symbolTable.getServiceEntry(service.getQName());
        serviceWriters.addStuff(writer, sEntry, symbolTable);
        return serviceWriters;
    } // getGenerator
View Full Code Here

     * @param symbolTable
     */
    public JavaServiceWriter(Emitter emitter, Service service,
                             SymbolTable symbolTable) {

        ServiceEntry sEntry = symbolTable.getServiceEntry(service.getQName());

        if (sEntry.isReferenced()) {
            serviceIfaceWriter = new JavaServiceIfaceWriter(emitter, sEntry,
                    symbolTable);
            serviceImplWriter = new JavaServiceImplWriter(emitter, sEntry,
                    symbolTable);

View Full Code Here

     */
    private void initService(Parser parser, QName serviceName)
            throws ServiceException {
        try {
            this.wsdlParser = parser;
            ServiceEntry serviceEntry = parser.getSymbolTable().getServiceEntry(serviceName);
            if (serviceEntry != null)
                this.wsdlService = serviceEntry.getService();
            if (this.wsdlService == null)
                throw new ServiceException(
                        Messages.getMessage("noService00", "" + serviceName));
        } catch (Exception exp) {
            throw new ServiceException(
View Full Code Here

     */
    public Generator getGenerator(Service service, SymbolTable symbolTable) {

        Generator writer = new JavaServiceWriter(emitter, service,
                symbolTable);
        ServiceEntry sEntry = symbolTable.getServiceEntry(service.getQName());

        serviceWriters.addStuff(writer, sEntry, symbolTable);

        return serviceWriters;
    }    // getGenerator
View Full Code Here

     */
    public Generator getGenerator(Service service, SymbolTable symbolTable) {
        if (include(service.getQName())) {
            Generator writer = new JavaServiceWriter(emitter, service,
                    symbolTable);
            ServiceEntry sEntry = symbolTable.getServiceEntry(service.getQName());
            serviceWriters.addStuff(writer, sEntry, symbolTable);
            return serviceWriters;
        }
        else {
            return new NoopGenerator();
View Full Code Here

                    }

                    bEntry.setDynamicVar(JavaBindingWriter.INTERFACE_NAME,
                            seiName);
                } else if (entry instanceof ServiceEntry) {
                    ServiceEntry sEntry = (ServiceEntry) entry;
                    String siName = getServiceInterfaceJavaNameHook(sEntry);    // for derived class
                    if (siName != null) {
                        sEntry.setName(siName);
                    }

                    Service service = sEntry.getService();
                    Map portMap = service.getPorts();
                    Iterator portIterator = portMap.values().iterator();

                    while (portIterator.hasNext()) {
                        Port p = (Port) portIterator.next();
View Full Code Here

     */
    private void initService(Parser parser, QName serviceName)
            throws ServiceException {
        try {
            this.wsdlParser = parser;
            ServiceEntry serviceEntry = parser.getSymbolTable().getServiceEntry(serviceName);
            if (serviceEntry != null)
                this.wsdlService = serviceEntry.getService();
            if (this.wsdlService == null)
                throw new ServiceException(
                        Messages.getMessage("noService00", "" + serviceName));
        } catch (Exception exp) {
            throw new ServiceException(
View Full Code Here

TOP

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

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.