package com.ejie.ab04b.webservice.client.q99mpps;

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. Oracle JAX-WS 2.1.5 Generated
 * source version: 2.1
 * 
 * @author GFI-NORTE
 */
@WebServiceClient(name = "Q99mPPSFacadeWS", targetNamespace = "http://www.openuri.org/", wsdlLocation = "META-INF/wsdls/R02SolicitudesYAportaciones.wsdl")
public class Q99MPPSFacadeWS extends Service {

	private static URL Q99MPPSFACADEWS_WSDL_LOCATION;
	private final static Logger LOGGER = Logger.getLogger(
			com.ejie.ab04b.webservice.client.q99mpps.Q99MPPSFacadeWS.class
					.getName());

	static {
		URL url = null;
		try {
			URL baseUrl;
			baseUrl = com.ejie.ab04b.webservice.client.q99mpps.Q99MPPSFacadeWS.class
					.getResource(".");
			url = new URL(baseUrl,
					"META-INF/wsdls/R02SolicitudesYAportaciones.wsdl");
		} catch (MalformedURLException e) {
			Q99MPPSFacadeWS.LOGGER.warning(
					"Failed to create URL for the wsdl Location: 'META-INF/wsdls/R02SolicitudesYAportaciones.wsdl', retrying as a local file");
			Q99MPPSFacadeWS.LOGGER.warning(e.getMessage());
		}
		Q99MPPSFacadeWS.Q99MPPSFACADEWS_WSDL_LOCATION = url;
	}

	/**
	 * Instantiates a new q 99 MPPS facade WS.
	 *
	 * @param wsdlLocation            URL
	 * @param serviceName            QName
	 */
	public Q99MPPSFacadeWS(URL wsdlLocation, QName serviceName) {
		super(wsdlLocation, serviceName);
	}

	/**
	 * Constructor.
	 */
	public Q99MPPSFacadeWS() {
		super(Q99MPPSFacadeWS.Q99MPPSFACADEWS_WSDL_LOCATION,
				new QName("http://www.openuri.org/", "Q99mPPSFacadeWS"));
	}

	/**
	 * Gets the q 99 MPPS facade WS soap.
	 *
	 * @return returns Q99MPPSFacadeWSSoap
	 */
	@WebEndpoint(name = "Q99mPPSFacadeWSSoap")
	public Q99MPPSFacadeWSSoap getQ99MPPSFacadeWSSoap() {
		return super.getPort(
				new QName("http://www.openuri.org/", "Q99mPPSFacadeWSSoap"),
				Q99MPPSFacadeWSSoap.class);
	}

	/**
	 * Gets the q 99 MPPS facade WS soap.
	 *
	 * @param features            A list of {@link javax.xml.ws.WebServiceFeature} to configure
	 *            on the proxy. Supported features not in the
	 *            <code>features</code> parameter will have their default
	 *            values.
	 * @return returns Q99MPPSFacadeWSSoap
	 */
	@WebEndpoint(name = "Q99mPPSFacadeWSSoap")
	public Q99MPPSFacadeWSSoap getQ99MPPSFacadeWSSoap(
			WebServiceFeature... features) {
		return super.getPort(
				new QName("http://www.openuri.org/", "Q99mPPSFacadeWSSoap"),
				Q99MPPSFacadeWSSoap.class, features);
	}
}
