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

net.datastream.wsdls.mp6001_adddocument_001.AddDocumentService Maven / Gradle / Ivy


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

    private final static URL ADDDOCUMENTSERVICE_WSDL_LOCATION;
    private final static WebServiceException ADDDOCUMENTSERVICE_EXCEPTION;
    private final static QName ADDDOCUMENTSERVICE_QNAME = new QName("http://wsdls.datastream.net/MP6001_AddDocument_001", "AddDocumentService");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("file:/Users/lpater/Documents/Infor/web_services_116/Wsdl/Administration/MP6001_AddDocument_001.wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        ADDDOCUMENTSERVICE_WSDL_LOCATION = url;
        ADDDOCUMENTSERVICE_EXCEPTION = e;
    }

    public AddDocumentService() {
        super(__getWsdlLocation(), ADDDOCUMENTSERVICE_QNAME);
    }

    public AddDocumentService(WebServiceFeature... features) {
        super(__getWsdlLocation(), ADDDOCUMENTSERVICE_QNAME, features);
    }

    public AddDocumentService(URL wsdlLocation) {
        super(wsdlLocation, ADDDOCUMENTSERVICE_QNAME);
    }

    public AddDocumentService(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, ADDDOCUMENTSERVICE_QNAME, features);
    }

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

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

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

    private static URL __getWsdlLocation() {
        if (ADDDOCUMENTSERVICE_EXCEPTION!= null) {
            throw ADDDOCUMENTSERVICE_EXCEPTION;
        }
        return ADDDOCUMENTSERVICE_WSDL_LOCATION;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy