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 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

     */
    private 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

     */
    private 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

            throws Exception {
        QName serviceQName = (((serviceNS != null)
                && (serviceName != null))
                ? new QName(serviceNS, serviceName)
                : null);
        ServiceEntry serviceEntry = (ServiceEntry) getSymTabEntry(serviceQName,
                                                                  ServiceEntry.class);
        return serviceEntry.getService();
    }
View Full Code Here

            Port    port = (Port) ports.next(  );
            Binding b = port.getBinding(  );

            if ( b.getQName(  ).equals( bEntry.getQName(  ) ) )
            {
               ServiceEntry sEntry = symbolTable.getServiceEntry( service.getQName(  ) );
               resourceClassName = ConcreteWSResourceClassWriter.getWsResourceClassName( emitter, sEntry );
            }
         }
      }
View Full Code Here

      try
      {
         if ( include( service.getQName(  ) ) )
         {
            Generator    writer = new WSResourceJavaServiceWriter( emitter, service, symbolTable );
            ServiceEntry sEntry = symbolTable.getServiceEntry( service.getQName(  ) );
            serviceWriters.addStuff( writer, sEntry, symbolTable );
            generator = serviceWriters;
         }
         else
         {
View Full Code Here

      if ( !emitter.isServerSide(  ) )
      {
         return;
      }

      ServiceEntry sEntry = symTable.getServiceEntry( service.getQName(  ) );
      m_AbstractWsResourceWriter    = getIntermediateWSResourceClassWriter( emitter, sEntry, symTable );
      m_ConcreteWsResourceWriter    = getConcreteWSResourceClassWriter( emitter, sEntry, symTable );
   }
View Full Code Here

    private PortType getWebServiceInfo()
        throws WrapperFault {
    //get the service
    //there seem to be a neater way to get the service,
    // use this instead of follows        
    ServiceEntry sentry = getServiceEntry();       
       
       
        //ServiceEntry sentry = symbolTable.getServiceEntry(new QName(serviceuri, servicelocalpart));
       
       
        Iterator ports = sentry.getService().getPorts().values().iterator();
       
        //if the targetEndPointURI not specifed we continue having it null
        //The WrapperInfo will set a default value for the targetEndPointURI
        if (ports.hasNext()) {
            Port port = (Port) ports.next();
            List adresslist = port.getExtensibilityElements();
            if (adresslist != null
                && adresslist.size() != 0
                && (adresslist.get(0)
                    instanceof com.ibm.wsdl.extensions.soap.SOAPAddressImpl))
                this.targetEndpointURI =
                    ((com.ibm.wsdl.extensions.soap.SOAPAddressImpl) adresslist.get(0))
                        .getLocationURI();
        }

        //get the binding
        Iterator portmap = sentry.getService().getPorts().values().iterator();
        //TODO resolve this
        /*
            this code support only the service with onebindings it will not care about the
            second binding if exists.. if the NO binding specified it will failed
         */
 
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

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.