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

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 = "InformingServiceWS", targetNamespace = "http://ws.ng.tve.cti.ru", 
wsdlLocation = "file:dyn/ru/bitel/bgbilling/modules/tv/dyn/cti/tve/ws/order/OrderManagementServiceWS.wsdl")
public class InformingServiceWS
	extends Service
{

	private final static URL INFORMINGSERVICEWS_WSDL_LOCATION;
	private final static WebServiceException INFORMINGSERVICEWS_EXCEPTION;
	private final static QName INFORMINGSERVICEWS_QNAME = new QName( "http://ws.ng.tve.cti.ru", "InformingServiceWS" );

	static
	{
		URL url = null;
		WebServiceException e = null;
		try
		{
			url = new URL( "file:dyn/ru/bitel/bgbilling/modules/tv/dyn/cti/tve/ws/order/OrderManagementServiceWS.wsdl" );
		}
		catch( MalformedURLException ex )
		{
			e = new WebServiceException( ex );
		}
		INFORMINGSERVICEWS_WSDL_LOCATION = url;
		INFORMINGSERVICEWS_EXCEPTION = e;
	}

	public InformingServiceWS()
	{
		super( __getWsdlLocation(), INFORMINGSERVICEWS_QNAME );
	}

	public InformingServiceWS( URL wsdlLocation )
	{
		super( wsdlLocation, INFORMINGSERVICEWS_QNAME );
	}

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

	/**
	 * 
	 * @return
	 *     returns InformingServiceWSPortType
	 */
	@WebEndpoint(name = "InformingServiceWSHttpPort")
	public InformingServiceWSPortType getInformingServiceWSHttpPort()
	{
		return super.getPort( new QName( "http://ws.ng.tve.cti.ru", "InformingServiceWSHttpPort" ), InformingServiceWSPortType.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 InformingServiceWSPortType
	 */
	@WebEndpoint(name = "InformingServiceWSHttpPort")
	public InformingServiceWSPortType getInformingServiceWSHttpPort( WebServiceFeature... features )
	{
		return super.getPort( new QName( "http://ws.ng.tve.cti.ru", "InformingServiceWSHttpPort" ), InformingServiceWSPortType.class, features );
	}

	private static URL __getWsdlLocation()
	{
		if( INFORMINGSERVICEWS_EXCEPTION != null )
		{
			throw INFORMINGSERVICEWS_EXCEPTION;
		}
		return INFORMINGSERVICEWS_WSDL_LOCATION;
	}

}
