
org.example.doctor.Doctor_Service Maven / Gradle / Ivy
The newest version!
/*
*
*/
package org.example.doctor;
import java.net.MalformedURLException;
import java.net.URL;
import javax.xml.namespace.QName;
import javax.xml.ws.WebEndpoint;
import javax.xml.ws.WebServiceClient;
import javax.xml.ws.WebServiceFeature;
import javax.xml.ws.Service;
/**
* This class was generated by Apache CXF 2.4.0
* 2011-06-03T14:08:06.345+02:00
* Generated source version: 2.4.0
*
*/
@WebServiceClient(name = "doctor",
wsdlLocation = "file:/Users/demarey/dev/adam/frascati-release/target/checkout/examples/nrbc/src/main/resources/nrbcArtifacts.wsdl",
targetNamespace = "http://www.example.org/doctor/")
public class Doctor_Service extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://www.example.org/doctor/", "doctor");
public final static QName DoctorSOAP = new QName("http://www.example.org/doctor/", "doctorSOAP");
static {
URL url = null;
try {
url = new URL("file:/Users/demarey/dev/adam/frascati-release/target/checkout/examples/nrbc/src/main/resources/nrbcArtifacts.wsdl");
} catch (MalformedURLException e) {
java.util.logging.Logger.getLogger(Doctor_Service.class.getName())
.log(java.util.logging.Level.INFO,
"Can not initialize the default wsdl from {0}", "file:/Users/demarey/dev/adam/frascati-release/target/checkout/examples/nrbc/src/main/resources/nrbcArtifacts.wsdl");
}
WSDL_LOCATION = url;
}
public Doctor_Service(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public Doctor_Service(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public Doctor_Service() {
super(WSDL_LOCATION, SERVICE);
}
/**
*
* @return
* returns Doctor
*/
@WebEndpoint(name = "doctorSOAP")
public Doctor getDoctorSOAP() {
return super.getPort(DoctorSOAP, Doctor.class);
}
/**
*
* @param features
* A list of {@link javax.xml.ws.WebServiceFeature} to configure on the proxy. Supported features not in the features
parameter will have their default values.
* @return
* returns Doctor
*/
@WebEndpoint(name = "doctorSOAP")
public Doctor getDoctorSOAP(WebServiceFeature... features) {
return super.getPort(DoctorSOAP, Doctor.class, features);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy