package ch.pharmedsolutions.www.zsrservice;
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.6-1b01
* Generated source version: 2.2
*
*/
@WebServiceClient(name = "InformationService", targetNamespace = "https://www.pharmedsolutions.ch/ZSRService", wsdlLocation = "https://www.pharmedsolutions.ch/ZSRService/wsdl")
public class InformationService
extends Service
{
private final static URL INFORMATIONSERVICE_WSDL_LOCATION;
private final static WebServiceException INFORMATIONSERVICE_EXCEPTION;
private final static QName INFORMATIONSERVICE_QNAME = new QName("https://www.pharmedsolutions.ch/ZSRService", "InformationService");
static {
URL url = null;
WebServiceException e = null;
try {
url = new URL("https://www.pharmedsolutions.ch/ZSRService/wsdl");
} catch (MalformedURLException ex) {
e = new WebServiceException(ex);
}
INFORMATIONSERVICE_WSDL_LOCATION = url;
INFORMATIONSERVICE_EXCEPTION = e;
}
public InformationService() {
super(__getWsdlLocation(), INFORMATIONSERVICE_QNAME);
}
public InformationService(WebServiceFeature... features) {
super(__getWsdlLocation(), INFORMATIONSERVICE_QNAME, features);
}
public InformationService(URL wsdlLocation) {
super(wsdlLocation, INFORMATIONSERVICE_QNAME);
}
public InformationService(URL wsdlLocation, WebServiceFeature... features) {
super(wsdlLocation, INFORMATIONSERVICE_QNAME, features);
}
public InformationService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public InformationService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) {
super(wsdlLocation, serviceName, features);
}
/**
*
* @return
* returns InformationPortType
*/
@WebEndpoint(name = "InformationPort")
public InformationPortType getInformationPort() {
return super.getPort(new QName("https://www.pharmedsolutions.ch/ZSRService", "InformationPort"), InformationPortType.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 InformationPortType
*/
@WebEndpoint(name = "InformationPort")
public InformationPortType getInformationPort(WebServiceFeature... features) {
return super.getPort(new QName("https://www.pharmedsolutions.ch/ZSRService", "InformationPort"), InformationPortType.class, features);
}
private static URL __getWsdlLocation() {
if (INFORMATIONSERVICE_EXCEPTION!= null) {
throw INFORMATIONSERVICE_EXCEPTION;
}
return INFORMATIONSERVICE_WSDL_LOCATION;
}
}