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

net.datastream.wsdls.mp0241_getpart_001.GetPartService Maven / Gradle / Ivy


package net.datastream.wsdls.mp0241_getpart_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 = "GetPartService", targetNamespace = "http://wsdls.datastream.net/MP0241_GetPart_001", wsdlLocation = "file:/Users/lpater/Documents/Infor/web_services_116/Wsdl/Material/MP0241_GetPart_001.wsdl")
public class GetPartService
    extends Service
{

    private final static URL GETPARTSERVICE_WSDL_LOCATION;
    private final static WebServiceException GETPARTSERVICE_EXCEPTION;
    private final static QName GETPARTSERVICE_QNAME = new QName("http://wsdls.datastream.net/MP0241_GetPart_001", "GetPartService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("file:/Users/lpater/Documents/Infor/web_services_116/Wsdl/Material/MP0241_GetPart_001.wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        GETPARTSERVICE_WSDL_LOCATION = url;
        GETPARTSERVICE_EXCEPTION = e;
    }

    public GetPartService() {
        super(__getWsdlLocation(), GETPARTSERVICE_QNAME);
    }

    public GetPartService(WebServiceFeature... features) {
        super(__getWsdlLocation(), GETPARTSERVICE_QNAME, features);
    }

    public GetPartService(URL wsdlLocation) {
        super(wsdlLocation, GETPARTSERVICE_QNAME);
    }

    public GetPartService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, GETPARTSERVICE_QNAME, features);
    }

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

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

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

    private static URL __getWsdlLocation() {
        if (GETPARTSERVICE_EXCEPTION!= null) {
            throw GETPARTSERVICE_EXCEPTION;
        }
        return GETPARTSERVICE_WSDL_LOCATION;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy