package miun.player;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.Service;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceException;
import javax.xml.ws.WebServiceFeature;
/**
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.2-hudson-752-
* Generated source version: 2.2
*
*/
@WebServiceClient(name = "Controller", targetNamespace = "http://player.miun/", wsdlLocation = "http://localhost:8080/MIUN-Youtube-Music-Controller/Controller?wsdl")
public class Controller_Service
extends Service
{
private final static URL CONTROLLER_WSDL_LOCATION;
private final static WebServiceException CONTROLLER_EXCEPTION;
private final static QName CONTROLLER_QNAME = new QName("http://player.miun/", "Controller");
static {
URL url = null;
WebServiceException e = null;
try {
url = new URL("http://localhost:8080/MIUN-Youtube-Music-Controller/Controller?wsdl");
} catch (MalformedURLException ex) {
e = new WebServiceException(ex);
}
CONTROLLER_WSDL_LOCATION = url;
CONTROLLER_EXCEPTION = e;
}
public Controller_Service() {
super(__getWsdlLocation(), CONTROLLER_QNAME);
}
public Controller_Service(WebServiceFeature... features) {
super(__getWsdlLocation(), CONTROLLER_QNAME, features);
}
public Controller_Service(URL wsdlLocation) {
super(wsdlLocation, CONTROLLER_QNAME);
}
public Controller_Service(URL wsdlLocation, WebServiceFeature... features) {
super(wsdlLocation, CONTROLLER_QNAME, features);
}
public Controller_Service(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public Controller_Service(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
super(wsdlLocation, serviceName, features);
}
/**
*
* @return
* returns Controller
*/
@WebEndpoint(name = "ControllerPort")
public Controller getControllerPort() {
return super.getPort(new QName("http://player.miun/", "ControllerPort"), Controller.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 Controller
*/
@WebEndpoint(name = "ControllerPort")
public Controller getControllerPort(WebServiceFeature... features) {
return super.getPort(new QName("http://player.miun/", "ControllerPort"), Controller.class, features);
}
private static URL __getWsdlLocation() {
if (CONTROLLER_EXCEPTION!= null) {
throw CONTROLLER_EXCEPTION;
}
return CONTROLLER_WSDL_LOCATION;
}
}