org.ow2.frascati.examples.sales.StockAsync Maven / Gradle / Ivy
The newest version!
/*
*
*/
package org.ow2.frascati.examples.sales;
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:05:58.745+02:00
* Generated source version: 2.4.0
*
*/
@WebServiceClient(name = "stockAsync",
wsdlLocation = "file:/Users/demarey/dev/adam/frascati-release/target/checkout/examples/sales-bpel/src/main/resources/salesArtifacts.wsdl",
targetNamespace = "http://frascati.ow2.org/examples/sales")
public class StockAsync extends Service {
public final static URL WSDL_LOCATION;
public final static QName SERVICE = new QName("http://frascati.ow2.org/examples/sales", "stockAsync");
public final static QName StockPort = new QName("http://frascati.ow2.org/examples/sales", "stockPort");
static {
URL url = null;
try {
url = new URL("file:/Users/demarey/dev/adam/frascati-release/target/checkout/examples/sales-bpel/src/main/resources/salesArtifacts.wsdl");
} catch (MalformedURLException e) {
java.util.logging.Logger.getLogger(StockAsync.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/sales-bpel/src/main/resources/salesArtifacts.wsdl");
}
WSDL_LOCATION = url;
}
public StockAsync(URL wsdlLocation) {
super(wsdlLocation, SERVICE);
}
public StockAsync(URL wsdlLocation, QName serviceName) {
super(wsdlLocation, serviceName);
}
public StockAsync() {
super(WSDL_LOCATION, SERVICE);
}
/**
*
* @return
* returns Stock
*/
@WebEndpoint(name = "stockPort")
public Stock getStockPort() {
return super.getPort(StockPort, Stock.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 Stock
*/
@WebEndpoint(name = "stockPort")
public Stock getStockPort(WebServiceFeature... features) {
return super.getPort(StockPort, Stock.class, features);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy