org.ow2.frascati.examples.sales.StockAsync Maven / Gradle / Ivy
/*
*
*/
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.2.9
* Fri Aug 20 13:09:18 CEST 2010
* Generated source version: 2.2.9
*
*/
@WebServiceClient(name = "stockAsync",
wsdlLocation = "file:/Users/demarey/dev/adam/frascati-release/target/checkout/examples/sales-bpel/target/classes/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/target/classes/salesArtifacts.wsdl");
} catch (MalformedURLException e) {
System.err.println("Can not initialize the default wsdl from file:/Users/demarey/dev/adam/frascati-release/target/checkout/examples/sales-bpel/target/classes/salesArtifacts.wsdl");
// e.printStackTrace();
}
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