package ch.pharmedsolutions.www.rezeptserver; 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 = "PrescriptionService", targetNamespace = "https://www.pharmedsolutions.ch/RezeptServer", wsdlLocation = "https://www.pharmedsolutions.ch/RezeptServer/wsdl") public class PrescriptionService extends Service { private final static URL PRESCRIPTIONSERVICE_WSDL_LOCATION; private final static WebServiceException PRESCRIPTIONSERVICE_EXCEPTION; private final static QName PRESCRIPTIONSERVICE_QNAME = new QName("https://www.pharmedsolutions.ch/RezeptServer", "PrescriptionService"); static { URL url = null; WebServiceException e = null; try { url = new URL("https://www.pharmedsolutions.ch/RezeptServer/wsdl"); } catch (MalformedURLException ex) { e = new WebServiceException(ex); } PRESCRIPTIONSERVICE_WSDL_LOCATION = url; PRESCRIPTIONSERVICE_EXCEPTION = e; } public PrescriptionService() { super(__getWsdlLocation(), PRESCRIPTIONSERVICE_QNAME); } public PrescriptionService(WebServiceFeature... features) { super(__getWsdlLocation(), PRESCRIPTIONSERVICE_QNAME, features); } public PrescriptionService(URL wsdlLocation) { super(wsdlLocation, PRESCRIPTIONSERVICE_QNAME); } public PrescriptionService(URL wsdlLocation, WebServiceFeature... features) { super(wsdlLocation, PRESCRIPTIONSERVICE_QNAME, features); } public PrescriptionService(URL wsdlLocation, QName serviceName) { super(wsdlLocation, serviceName); } public PrescriptionService(URL wsdlLocation, QName serviceName, WebServiceFeature... features) { super(wsdlLocation, serviceName, features); } /** * * @return * returns PrescriptionPortType */ @WebEndpoint(name = "PrescriptionPort") public PrescriptionPortType getPrescriptionPort() { return super.getPort(new QName("https://www.pharmedsolutions.ch/RezeptServer", "PrescriptionPort"), PrescriptionPortType.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 PrescriptionPortType */ @WebEndpoint(name = "PrescriptionPort") public PrescriptionPortType getPrescriptionPort(WebServiceFeature... features) { return super.getPort(new QName("https://www.pharmedsolutions.ch/RezeptServer", "PrescriptionPort"), PrescriptionPortType.class, features); } private static URL __getWsdlLocation() { if (PRESCRIPTIONSERVICE_EXCEPTION!= null) { throw PRESCRIPTIONSERVICE_EXCEPTION; } return PRESCRIPTIONSERVICE_WSDL_LOCATION; } }