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

com.sugarcrm.ws.soap.Sugarsoap Maven / Gradle / Ivy

There is a newer version: 5.3.3
Show newest version

package com.sugarcrm.ws.soap;

import java.net.MalformedURLException;
import java.net.URL;
import javax.jws.HandlerChain;
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 = "sugarsoap", targetNamespace = "http://www.sugarcrm.com/sugarcrm", wsdlLocation = "file:/C:/Work/git/metamodel_asf/target/checkout/sugarcrm/src/wsdl/sugarcrm.wsdl")
@HandlerChain(file = "Sugarsoap_handler.xml")
public class Sugarsoap
    extends Service
{

    private final static URL SUGARSOAP_WSDL_LOCATION;
    private final static WebServiceException SUGARSOAP_EXCEPTION;
    private final static QName SUGARSOAP_QNAME = new QName("http://www.sugarcrm.com/sugarcrm", "sugarsoap");

    static {
        URL url = null;
        WebServiceException e = null;
        try {
            url = new URL("file:/C:/Work/git/metamodel_asf/target/checkout/sugarcrm/src/wsdl/sugarcrm.wsdl");
        } catch (MalformedURLException ex) {
            e = new WebServiceException(ex);
        }
        SUGARSOAP_WSDL_LOCATION = url;
        SUGARSOAP_EXCEPTION = e;
    }

    public Sugarsoap() {
        super(__getWsdlLocation(), SUGARSOAP_QNAME);
    }

    public Sugarsoap(WebServiceFeature... features) {
        super(__getWsdlLocation(), SUGARSOAP_QNAME, features);
    }

    public Sugarsoap(URL wsdlLocation) {
        super(wsdlLocation, SUGARSOAP_QNAME);
    }

    public Sugarsoap(URL wsdlLocation, WebServiceFeature... features) {
        super(wsdlLocation, SUGARSOAP_QNAME, features);
    }

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

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

    /**
     * 
     * @return
     *     returns SugarsoapPortType
     */
    @WebEndpoint(name = "sugarsoapPort")
    public SugarsoapPortType getSugarsoapPort() {
        return super.getPort(new QName("http://www.sugarcrm.com/sugarcrm", "sugarsoapPort"), SugarsoapPortType.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 SugarsoapPortType
     */
    @WebEndpoint(name = "sugarsoapPort")
    public SugarsoapPortType getSugarsoapPort(WebServiceFeature... features) {
        return super.getPort(new QName("http://www.sugarcrm.com/sugarcrm", "sugarsoapPort"), SugarsoapPortType.class, features);
    }

    private static URL __getWsdlLocation() {
        if (SUGARSOAP_EXCEPTION!= null) {
            throw SUGARSOAP_EXCEPTION;
        }
        return SUGARSOAP_WSDL_LOCATION;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy