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

eu.datex2.wsdl.supplierpush._2_0.SupplierPushService Maven / Gradle / Ivy

The newest version!
package eu.datex2.wsdl.supplierpush._2_0;

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 3.0.3
 * 2015-01-26T23:51:37.754+01:00
 * Generated source version: 3.0.3
 * 
 */
@WebServiceClient(name = "supplierPushService", 
                  wsdlLocation = "file:/home/pogo/Projects/datex2/target/checkout/datex2-api/src/main/resources/Push.wsdl",
                  targetNamespace = "http://datex2.eu/wsdl/supplierPush/2_0") 
public class SupplierPushService extends Service {

    public final static URL WSDL_LOCATION;

    public final static QName SERVICE = new QName("http://datex2.eu/wsdl/supplierPush/2_0", "supplierPushService");
    public final static QName SupplierPushSoapEndPoint = new QName("http://datex2.eu/wsdl/supplierPush/2_0", "supplierPushSoapEndPoint");
    static {
        URL url = null;
        try {
            url = new URL("file:/home/pogo/Projects/datex2/target/checkout/datex2-api/src/main/resources/Push.wsdl");
        } catch (MalformedURLException e) {
            java.util.logging.Logger.getLogger(SupplierPushService.class.getName())
                .log(java.util.logging.Level.INFO, 
                     "Can not initialize the default wsdl from {0}", "file:/home/pogo/Projects/datex2/target/checkout/datex2-api/src/main/resources/Push.wsdl");
        }
        WSDL_LOCATION = url;
    }

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

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

    public SupplierPushService() {
        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 SupplierPushService(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 SupplierPushService(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 SupplierPushService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
        super(wsdlLocation, serviceName, features);
    }    

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

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy