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

import java.net.MalformedURLException;
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 = "PricingServiceWSService", targetNamespace = "http://ws.external.push.adapter.billing.integration.iptv.oss.cti.ru/", wsdlLocation = "file:/home/amir/\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0438/wsdl/wsdl/PricingServiceWS.wsdl")
public class PricingServiceWSService
    extends Service
{

	private final static URL PRICINGSERVICEWSSERVICE_WSDL_LOCATION;
	private final static WebServiceException PRICINGSERVICEWSSERVICE_EXCEPTION;
	private final static QName PRICINGSERVICEWSSERVICE_QNAME = new QName( "http://ws.external.push.adapter.billing.integration.iptv.oss.cti.ru/", "PricingServiceWSService" );

	static
	{
		URL url = null;
		WebServiceException e = null;
		try
		{
			url = new URL( "file:/home/amir/\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0438/wsdl/wsdl/PricingServiceWS.wsdl" );
		}
		catch( MalformedURLException ex )
		{
			e = new WebServiceException( ex );
		}
		PRICINGSERVICEWSSERVICE_WSDL_LOCATION = url;
		PRICINGSERVICEWSSERVICE_EXCEPTION = e;
	}

	public PricingServiceWSService()
	{
		super( __getWsdlLocation(), PRICINGSERVICEWSSERVICE_QNAME );
	}

	public PricingServiceWSService( URL wsdlLocation )
	{
		super( wsdlLocation, PRICINGSERVICEWSSERVICE_QNAME );
	}

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

	/**
	 * 
	 * @return
	 *     returns PricingServiceWS
	 */
	@WebEndpoint(name = "PricingServiceWSPort")
	public PricingServiceWS getPricingServiceWSPort()
	{
		return super.getPort( new QName( "http://ws.external.push.adapter.billing.integration.iptv.oss.cti.ru/", "PricingServiceWSPort" ), PricingServiceWS.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 PricingServiceWS
	 */
	@WebEndpoint(name = "PricingServiceWSPort")
	public PricingServiceWS getPricingServiceWSPort( WebServiceFeature... features )
	{
		return super.getPort( new QName( "http://ws.external.push.adapter.billing.integration.iptv.oss.cti.ru/", "PricingServiceWSPort" ), PricingServiceWS.class, features );
	}

	private static URL __getWsdlLocation()
	{
		if( PRICINGSERVICEWSSERVICE_EXCEPTION != null )
		{
			throw PRICINGSERVICEWSSERVICE_EXCEPTION;
		}
		return PRICINGSERVICEWSSERVICE_WSDL_LOCATION;
	}

}
