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

com.ca.www.UnicenterServicePlus.ServiceDesk.USDWebService Maven / Gradle / Ivy

There is a newer version: 3.24
Show newest version

package com.ca.www.UnicenterServicePlus.ServiceDesk;

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


/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.1.7-b01-
 * Generated source version: 2.1
 * 
 */
@WebServiceClient(name = "USD_WebService", targetNamespace = "http://www.ca.com/UnicenterServicePlus/ServiceDesk", wsdlLocation = "file:/C:/temp/20131205/oppna-program-commons/trunk/target/checkout/core-bc/composites/svc-usd/src/main/wsdl/USD_R11_WebService.wsdl")
public class USDWebService
    extends Service
{

    private final static URL USDWEBSERVICE_WSDL_LOCATION;
    private final static Logger logger = Logger.getLogger(com.ca.www.UnicenterServicePlus.ServiceDesk.USDWebService.class.getName());

    static {
        URL url = null;
        try {
            URL baseUrl;
            baseUrl = com.ca.www.UnicenterServicePlus.ServiceDesk.USDWebService.class.getResource(".");
            url = new URL(baseUrl, "file:/C:/temp/20131205/oppna-program-commons/trunk/target/checkout/core-bc/composites/svc-usd/src/main/wsdl/USD_R11_WebService.wsdl");
        } catch (MalformedURLException e) {
            logger.warning("Failed to create URL for the wsdl Location: 'file:/C:/temp/20131205/oppna-program-commons/trunk/target/checkout/core-bc/composites/svc-usd/src/main/wsdl/USD_R11_WebService.wsdl', retrying as a local file");
            logger.warning(e.getMessage());
        }
        USDWEBSERVICE_WSDL_LOCATION = url;
    }

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

    public USDWebService() {
        super(USDWEBSERVICE_WSDL_LOCATION, new QName("http://www.ca.com/UnicenterServicePlus/ServiceDesk", "USD_WebService"));
    }

    /**
     * 
     * @return
     *     returns USDWebServiceSoap
     */
    @WebEndpoint(name = "USD_WebServiceSoap")
    public USDWebServiceSoap getUSDWebServiceSoap() {
        return super.getPort(new QName("http://www.ca.com/UnicenterServicePlus/ServiceDesk", "USD_WebServiceSoap"), USDWebServiceSoap.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 USDWebServiceSoap
     */
    @WebEndpoint(name = "USD_WebServiceSoap")
    public USDWebServiceSoap getUSDWebServiceSoap(WebServiceFeature... features) {
        return super.getPort(new QName("http://www.ca.com/UnicenterServicePlus/ServiceDesk", "USD_WebServiceSoap"), USDWebServiceSoap.class, features);
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy