package ocpp.v15.cp;
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;
/**
* The ChargePoint Service for the Open Charge Point Protocol
*
* This class was generated by the JAX-WS RI.
* JAX-WS RI 2.2.4-b01
* Generated source version: 2.1
*
*/
@WebServiceClient(name = "ChargePointService", targetNamespace = "urn://Ocpp/Cp/2012/06/", wsdlLocation = "file:ocpp_chargepointservice_1.5_final.wsdl")
public class ChargePointService_Service
extends Service
{
private final static URL CHARGEPOINTSERVICE_WSDL_LOCATION;
private final static WebServiceException CHARGEPOINTSERVICE_EXCEPTION;
private final static QName CHARGEPOINTSERVICE_QNAME = new QName("urn://Ocpp/Cp/2012/06/", "ChargePointService");
static {
URL url = null;
WebServiceException e = null;
try {
url = new URL("file:ocpp_chargepointservice_1.5_final.wsdl");
} catch (MalformedURLException ex) {
e = new WebServiceException(ex);
}
CHARGEPOINTSERVICE_WSDL_LOCATION = url;
CHARGEPOINTSERVICE_EXCEPTION = e;
}
public ChargePointService_Service() {
super(__getWsdlLocation(), CHARGEPOINTSERVICE_QNAME);
}
public ChargePointService_Service(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
/**
*
* @return
* returns ChargePointService
*/
@WebEndpoint(name = "ChargePointServiceSoap12")
public ChargePointService getChargePointServiceSoap12() {
return super.getPort(new QName("urn://Ocpp/Cp/2012/06/", "ChargePointServiceSoap12"), ChargePointService.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 ChargePointService
*/
@WebEndpoint(name = "ChargePointServiceSoap12")
public ChargePointService getChargePointServiceSoap12(WebServiceFeature... features) {
return super.getPort(new QName("urn://Ocpp/Cp/2012/06/", "ChargePointServiceSoap12"), ChargePointService.class, features);
}
private static URL __getWsdlLocation() {
if (CHARGEPOINTSERVICE_EXCEPTION!= null) {
throw CHARGEPOINTSERVICE_EXCEPTION;
}
return CHARGEPOINTSERVICE_WSDL_LOCATION;
}
}