
package ru.bitel.bgbilling.modules.tv.dyn.cti.tve.ws.customer;

import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;
import javax.xml.namespace.QName;
import jakarta.xml.ws.Service;
import jakarta.xml.ws.WebEndpoint;
import jakarta.xml.ws.WebServiceClient;
import jakarta.xml.ws.WebServiceException;
import jakarta.xml.ws.WebServiceFeature;

/**
 * This class was generated by the JAX-WS RI.
 * JAX-WS RI 2.2.4-b01
 * Generated source version: 2.2
 * 
 */
@WebServiceClient(name = "CustomerManagementServiceWSService", targetNamespace = "http://ws.internal.push.adapter.billing.integration.iptv.oss.cti.ru/", wsdlLocation = "http://127.0.0.1:8089/tve-billing-ws/CustomerManagementServiceWS?wsdl")
public class CustomerManagementServiceWSService
    extends Service
{
    private final static URL CUSTOMERMANAGEMENTSERVICEWSSERVICE_WSDL_LOCATION;
    private final static WebServiceException CUSTOMERMANAGEMENTSERVICEWSSERVICE_EXCEPTION;
    private final static QName CUSTOMERMANAGEMENTSERVICEWSSERVICE_QNAME = new QName("http://ws.internal.push.adapter.billing.integration.iptv.oss.cti.ru/", "CustomerManagementServiceWSService");

	static
	{
		URL url = null;
		WebServiceException e = null;
		try
		{
			url = URI.create( "http://127.0.0.1:8089/tve-billing-ws/CustomerManagementServiceWS?wsdl" ).toURL();
		}
		catch( MalformedURLException ex )
		{
			e = new WebServiceException( ex );
		}
		CUSTOMERMANAGEMENTSERVICEWSSERVICE_WSDL_LOCATION = url;
		CUSTOMERMANAGEMENTSERVICEWSSERVICE_EXCEPTION = e;
	}

	public CustomerManagementServiceWSService()
	{
		super( __getWsdlLocation(), CUSTOMERMANAGEMENTSERVICEWSSERVICE_QNAME );
	}

	public CustomerManagementServiceWSService( URL wsdlLocation )
	{
		super( wsdlLocation, CUSTOMERMANAGEMENTSERVICEWSSERVICE_QNAME );
	}

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

	/**
	 * 
	 * @return
	 *     returns CustomerManagementServiceWS
	 */
	@WebEndpoint(name = "CustomerManagementServiceWSPort")
	public CustomerManagementServiceWS getCustomerManagementServiceWSPort()
	{
		return super.getPort( new QName( "http://ws.internal.push.adapter.billing.integration.iptv.oss.cti.ru/", "CustomerManagementServiceWSPort" ), CustomerManagementServiceWS.class );
	}

	/**
	 * 
	 * @param features
	 *     A list of {@link jakarta.xml.ws.WebServiceFeature} to configure on the proxy.  Supported features not in the <code>features</code> parameter will have their default values.
	 * @return
	 *     returns CustomerManagementServiceWS
	 */
	@WebEndpoint(name = "CustomerManagementServiceWSPort")
	public CustomerManagementServiceWS getCustomerManagementServiceWSPort( WebServiceFeature... features )
	{
		return super.getPort( new QName( "http://ws.internal.push.adapter.billing.integration.iptv.oss.cti.ru/", "CustomerManagementServiceWSPort" ), CustomerManagementServiceWS.class, features );
	}

	private static URL __getWsdlLocation()
	{
		if ( CUSTOMERMANAGEMENTSERVICEWSSERVICE_EXCEPTION != null )
		{
			throw CUSTOMERMANAGEMENTSERVICEWSSERVICE_EXCEPTION;
		}
		return CUSTOMERMANAGEMENTSERVICEWSSERVICE_WSDL_LOCATION;
	}
}