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

net.datastream.wsdls.mp7984_addworksafety_001.AddWorkSafetyService Maven / Gradle / Ivy

There is a newer version: 12.1-4
Show newest version

package net.datastream.wsdls.mp7984_addworksafety_001;

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


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.2.10
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "AddWorkSafetyService", targetNamespace = "http://wsdls.datastream.net/MP7984_AddWorkSafety_001", wsdlLocation = "file:/home/ricalm/cernbox/WORK/DEVELOPMENT/EAM_WSDL/HxGN_EAM_Web_Services_Toolkit_12.1.0/wsdl/Work/MP7984_AddWorkSafety_001.wsdl")
public class AddWorkSafetyService
    extends Service
{

    private final static URL ADDWORKSAFETYSERVICE_WSDL_LOCATION;
    private final static WebServiceException ADDWORKSAFETYSERVICE_EXCEPTION;
    private final static QName ADDWORKSAFETYSERVICE_QNAME = new QName("http://wsdls.datastream.net/MP7984_AddWorkSafety_001", "AddWorkSafetyService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("file:/home/ricalm/cernbox/WORK/DEVELOPMENT/EAM_WSDL/HxGN_EAM_Web_Services_Toolkit_12.1.0/wsdl/Work/MP7984_AddWorkSafety_001.wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        ADDWORKSAFETYSERVICE_WSDL_LOCATION = url;
        ADDWORKSAFETYSERVICE_EXCEPTION = e;
    }

    public AddWorkSafetyService() {
        super(__getWsdlLocation(), ADDWORKSAFETYSERVICE_QNAME);
    }

    public AddWorkSafetyService(WebServiceFeature... features) {
        super(__getWsdlLocation(), ADDWORKSAFETYSERVICE_QNAME, features);
    }

    public AddWorkSafetyService(URL wsdlLocation) {
        super(wsdlLocation, ADDWORKSAFETYSERVICE_QNAME);
    }

    public AddWorkSafetyService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, ADDWORKSAFETYSERVICE_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns AddWorkSafetyPT
     */
    @WebEndpoint(name = "AddWorkSafetySoapBinding")
    public AddWorkSafetyPT getAddWorkSafetySoapBinding() {
        return super.getPort(new QName("http://wsdls.datastream.net/MP7984_AddWorkSafety_001", "AddWorkSafetySoapBinding"), AddWorkSafetyPT.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 AddWorkSafetyPT
     */
    @WebEndpoint(name = "AddWorkSafetySoapBinding")
    public AddWorkSafetyPT getAddWorkSafetySoapBinding(WebServiceFeature... features) {
        return super.getPort(new QName("http://wsdls.datastream.net/MP7984_AddWorkSafety_001", "AddWorkSafetySoapBinding"), AddWorkSafetyPT.class, features);
    }

    private static URL __getWsdlLocation() {
        if (ADDWORKSAFETYSERVICE_EXCEPTION!= null) {
            throw ADDWORKSAFETYSERVICE_EXCEPTION;
        }
        return ADDWORKSAFETYSERVICE_WSDL_LOCATION;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy