
camelinaction.order.OrderEndpointService Maven / Gradle / Ivy
package camelinaction.order;
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 3.0.0
* 2014-05-20T16:16:02.593Z
* Generated source version: 3.0.0
*
*/
@WebServiceClient(name = "OrderEndpointService",
wsdlLocation = "file:/mnt/jenkins/workspace/fabric8-release/fabric8/target/checkout/tooling/examples/camel-cxf-contract-first-example/src/main/resources/wsdl/order.wsdl",
targetNamespace = "http://order.camelinaction")
public class OrderEndpointService extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://order.camelinaction", "OrderEndpointService");
public final static QName OrderService = new QName("http://order.camelinaction", "OrderService");
static {
URL url = null;
try {
url = new URL("file:/mnt/jenkins/workspace/fabric8-release/fabric8/target/checkout/tooling/examples/camel-cxf-contract-first-example/src/main/resources/wsdl/order.wsdl");
} catch (MalformedURLException e) {
java.util.logging.Logger.getLogger(OrderEndpointService.class.getName())
.log(java.util.logging.Level.INFO,
"Can not initialize the default wsdl from {0}", "file:/mnt/jenkins/workspace/fabric8-release/fabric8/target/checkout/tooling/examples/camel-cxf-contract-first-example/src/main/resources/wsdl/order.wsdl");
}
WSDL_LOCATION = url;
}
public OrderEndpointService(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public OrderEndpointService(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public OrderEndpointService() {
super(WSDL_LOCATION, SERVICE);
}
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
public OrderEndpointService(WebServiceFeature ... features) {
super(WSDL_LOCATION, SERVICE, features);
}
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
public OrderEndpointService(URL wsdlLocation, WebServiceFeature ... features) {
super(wsdlLocation, SERVICE, features);
}
//This constructor requires JAX-WS API 2.2. You will need to endorse the 2.2
//API jar or re-run wsdl2java with "-frontend jaxws21" to generate JAX-WS 2.1
//compliant code instead.
public OrderEndpointService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) {
super(wsdlLocation, serviceName, features);
}
/**
*
* @return
* returns OrderEndpoint
*/
@WebEndpoint(name = "OrderService")
public OrderEndpoint getOrderService() {
return super.getPort(OrderService, OrderEndpoint.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 OrderEndpoint
*/
@WebEndpoint(name = "OrderService")
public OrderEndpoint getOrderService(WebServiceFeature... features) {
return super.getPort(OrderService, OrderEndpoint.class, features);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy