
package com.ejie.ad74a.ws.client.qr;

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
 * 
 */
@WebServiceClient(name = "Y13bQRWebServicePortBindingQSService", targetNamespace = "http://www.openuri.org/", wsdlLocation = "META-INF/wsdls/y13bQR.wsdl")
public class Y13BQRWebServicePortBindingQSService extends Service {

	private final static URL Y13BQRWEBSERVICEPORTBINDINGQSSERVICE_WSDL_LOCATION;
	private final static Logger logger = Logger
			.getLogger(com.ejie.ad74a.ws.client.qr.Y13BQRWebServicePortBindingQSService.class.getName());

	static {
		URL url = null;
		try {
			URL baseUrl;
			baseUrl = com.ejie.ad74a.ws.client.qr.Y13BQRWebServicePortBindingQSService.class.getResource(".");
			url = new URL(baseUrl, "META-INF/wsdls/y13bQR.wsdl");
		} catch (MalformedURLException e) {
			logger.warning(
					"Failed to create URL for the wsdl Location: 'META-INF/wsdls/y13bQR.wsdl', retrying as a local file");
			logger.warning(e.getMessage());
		}
		Y13BQRWEBSERVICEPORTBINDINGQSSERVICE_WSDL_LOCATION = url;
	}

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

	public Y13BQRWebServicePortBindingQSService() {
		super(Y13BQRWEBSERVICEPORTBINDINGQSSERVICE_WSDL_LOCATION,
				new QName("http://www.openuri.org/", "Y13bQRWebServicePortBindingQSService"));
	}

	/**
	 * 
	 * @return returns Y13BQRWebServiceImpl
	 */
	@WebEndpoint(name = "Y13bQRWebServicePortBindingQSPort")
	public Y13BQRWebServiceImpl getY13BQRWebServicePortBindingQSPort() {
		return super.getPort(new QName("http://www.openuri.org/", "Y13bQRWebServicePortBindingQSPort"),
				Y13BQRWebServiceImpl.class);
	}

	/**
	 * 
	 * @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 Y13BQRWebServiceImpl
	 */
	@WebEndpoint(name = "Y13bQRWebServicePortBindingQSPort")
	public Y13BQRWebServiceImpl getY13BQRWebServicePortBindingQSPort(WebServiceFeature... features) {
		return super.getPort(new QName("http://www.openuri.org/", "Y13bQRWebServicePortBindingQSPort"),
				Y13BQRWebServiceImpl.class, features);
	}

}
