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

com.github.skjolber.bank.example.v1.BankCustomerService Maven / Gradle / Ivy

package com.github.skjolber.bank.example.v1;

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 3.2.6
 * 2018-09-02T02:04:17.986+02:00
 * Generated source version: 3.2.6
 *
 */
@WebServiceClient(name = "BankCustomerService",
                  wsdlLocation = "classpath:wsdl/BankCustomerService.wsdl",
                  targetNamespace = "http://example.bank.skjolber.github.com/v1")
public class BankCustomerService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://example.bank.skjolber.github.com/v1", "BankCustomerService");
    public final static QName BankCustomerServicePort = new QName("http://example.bank.skjolber.github.com/v1", "BankCustomerServicePort");
    static {
        URL url = BankCustomerService.class.getClassLoader().getResource("wsdl/BankCustomerService.wsdl");
        if (url == null) {
            java.util.logging.Logger.getLogger(BankCustomerService.class.getName())
                .log(java.util.logging.Level.INFO,
                     "Can not initialize the default wsdl from {0}", "classpath:wsdl/BankCustomerService.wsdl");
        }
        WSDL_LOCATION = url;
    }

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

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

    public BankCustomerService() {
        super(WSDL_LOCATION, SERVICE);
    }

    public BankCustomerService(WebServiceFeature ... features) {
        super(WSDL_LOCATION, SERVICE, features);
    }

    public BankCustomerService(URL wsdlLocation, WebServiceFeature ... features) {
        super(wsdlLocation, SERVICE, features);
    }

    public BankCustomerService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(wsdlLocation, serviceName, features);
    }




    /**
     *
     * @return
     *     returns BankCustomerServicePortType
     */
    @WebEndpoint(name = "BankCustomerServicePort")
    public BankCustomerServicePortType getBankCustomerServicePort() {
        return super.getPort(BankCustomerServicePort, BankCustomerServicePortType.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 BankCustomerServicePortType
     */
    @WebEndpoint(name = "BankCustomerServicePort")
    public BankCustomerServicePortType getBankCustomerServicePort(WebServiceFeature... features) {
        return super.getPort(BankCustomerServicePort, BankCustomerServicePortType.class, features);
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy