From defceef8afef538555c13d33e344a89a828a3d97 Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Fri, 20 Dec 2013 12:35:28 +0100 Subject: inital --- .../java/at/gv/util/wsdl/zkopf/BulkService.java | 71 ++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 src/main/java/at/gv/util/wsdl/zkopf/BulkService.java (limited to 'src/main/java/at/gv/util/wsdl/zkopf/BulkService.java') diff --git a/src/main/java/at/gv/util/wsdl/zkopf/BulkService.java b/src/main/java/at/gv/util/wsdl/zkopf/BulkService.java new file mode 100644 index 0000000..a6b4e30 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/zkopf/BulkService.java @@ -0,0 +1,71 @@ + +package at.gv.util.wsdl.zkopf; + +import java.net.MalformedURLException; +import java.net.URL; +import java.util.logging.Logger; +import javax.xml.namespace.QName; +import javax.xml.ws.Service; +import javax.xml.ws.WebEndpoint; +import javax.xml.ws.WebServiceClient; +import javax.xml.ws.WebServiceFeature; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebServiceClient(name = "BulkService", targetNamespace = "http://reference.e-government.gv.at/namespaces/zustellung/kopf/wsdl", wsdlLocation = "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/zkopf/zkopf.wsdl") +public class BulkService + extends Service +{ + + private final static URL BULKSERVICE_WSDL_LOCATION; + private final static Logger logger = Logger.getLogger(at.gv.util.wsdl.zkopf.BulkService.class.getName()); + + static { + URL url = null; + try { + URL baseUrl; + baseUrl = at.gv.util.wsdl.zkopf.BulkService.class.getResource("."); + url = new URL(baseUrl, "file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/zkopf/zkopf.wsdl"); + } catch (MalformedURLException e) { + logger.warning("Failed to create URL for the wsdl Location: 'file:/D:/eclipse/development/egovutils/src/main/resources/wsdl/zkopf/zkopf.wsdl', retrying as a local file"); + logger.warning(e.getMessage()); + } + BULKSERVICE_WSDL_LOCATION = url; + } + + public BulkService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public BulkService() { + super(BULKSERVICE_WSDL_LOCATION, new QName("http://reference.e-government.gv.at/namespaces/zustellung/kopf/wsdl", "BulkService")); + } + + /** + * + * @return + * returns BulkPortType + */ + @WebEndpoint(name = "BulkPort") + public BulkPortType getBulkPort() { + return super.getPort(new QName("http://reference.e-government.gv.at/namespaces/zustellung/kopf/wsdl", "BulkPort"), BulkPortType.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 BulkPortType + */ + @WebEndpoint(name = "BulkPort") + public BulkPortType getBulkPort(WebServiceFeature... features) { + return super.getPort(new QName("http://reference.e-government.gv.at/namespaces/zustellung/kopf/wsdl", "BulkPort"), BulkPortType.class, features); + } + +} -- cgit v1.2.3