All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.greenbird.xmlns.schema.logger.LoggerService Maven / Gradle / Ivy

The newest version!
package com.greenbird.xmlns.schema.logger;

import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;

/**
 * This class was generated by Apache CXF 2.5.1
 * 2015-04-22T09:08:31.701+02:00
 * Generated source version: 2.5.1
 * 
 */
@WebServiceClient(name = "LoggerService", 
                  wsdlLocation = "file:/home/thomas/git/xml-formatter-components/target/checkout/mule-cxf/src/test/resources/wsdl/logger.wsdl",
                  targetNamespace = "http://xmlns.greenbird.com/schema/logger") 
public class LoggerService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://xmlns.greenbird.com/schema/logger", "LoggerService");
    public final static QName LoggerPort = new QName("http://xmlns.greenbird.com/schema/logger", "LoggerPort");
    static {
        URL url = null;
        try {
            url = new URL("file:/home/thomas/git/xml-formatter-components/target/checkout/mule-cxf/src/test/resources/wsdl/logger.wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(LoggerService.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "file:/home/thomas/git/xml-formatter-components/target/checkout/mule-cxf/src/test/resources/wsdl/logger.wsdl");
        }
        WSDL_LOCATION = url;
    }

    public LoggerService(URL wsdlLocation) {
        super(wsdlLocation, SERVICE);
    }

    public LoggerService(URL wsdlLocation, QName serviceName) {
        super(wsdlLocation, serviceName);
    }

    public LoggerService() {
        super(WSDL_LOCATION, SERVICE);
    }
    
    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public LoggerService(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public LoggerService(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

    //This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
    //API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
    //compliant code instead.
    public LoggerService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(wsdlLocation, serviceName, features);
    }

    /**
     *
     * @return
     *     returns LoggerPort
     */
    @WebEndpoint(name = "LoggerPort")
    public LoggerPort getLoggerPort() {
        return super.getPort(LoggerPort, LoggerPort.class);
    }

    /**
     * 
     * @param features
     *     A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the features parameter will have their default values.
     * @return
     *     returns LoggerPort
     */
    @WebEndpoint(name = "LoggerPort")
    public LoggerPort getLoggerPort(WebServiceFeature... features) {
        return super.getPort(LoggerPort, LoggerPort.class, features);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy