diff options
author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2013-12-20 12:35:28 +0100 |
---|---|---|
committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2013-12-20 12:35:28 +0100 |
commit | defceef8afef538555c13d33e344a89a828a3d97 (patch) | |
tree | 24b44f970f161d5b139dde501ca0f5d883f9fdea /src/main/java/at/gv/util/wsdl/zkopf | |
download | egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.gz egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.bz2 egovutils-defceef8afef538555c13d33e344a89a828a3d97.zip |
inital
Diffstat (limited to 'src/main/java/at/gv/util/wsdl/zkopf')
-rw-r--r-- | src/main/java/at/gv/util/wsdl/zkopf/BulkPortType.java | 42 | ||||
-rw-r--r-- | src/main/java/at/gv/util/wsdl/zkopf/BulkService.java | 71 |
2 files changed, 113 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/wsdl/zkopf/BulkPortType.java b/src/main/java/at/gv/util/wsdl/zkopf/BulkPortType.java new file mode 100644 index 0000000..c0e7de4 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/zkopf/BulkPortType.java @@ -0,0 +1,42 @@ + +package at.gv.util.wsdl.zkopf; + +import javax.jws.WebMethod; +import javax.jws.WebParam; +import javax.jws.WebResult; +import javax.jws.WebService; +import javax.jws.soap.SOAPBinding; +import javax.xml.bind.annotation.XmlSeeAlso; +import at.gv.util.xsd.zkopf.BulkAnswerType; +import at.gv.util.xsd.zkopf.BulkQueryType; + + +/** + * This class was generated by the JAX-WS RI. + * JAX-WS RI 2.1.6 in JDK 6 + * Generated source version: 2.1 + * + */ +@WebService(name = "BulkPortType", targetNamespace = "http://reference.e-government.gv.at/namespaces/zustellung/kopf/wsdl") +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +@XmlSeeAlso({ + at.gv.util.xsd.zkopf.persondata.ObjectFactory.class, + at.gv.util.xsd.zkopf.xmldsig.ObjectFactory.class, + at.gv.util.xsd.zkopf.ObjectFactory.class +}) +public interface BulkPortType { + + + /** + * + * @param bulkQuery + * @return + * returns at.gv.util.xsd.zkopf.BulkAnswerType + */ + @WebMethod(operationName = "BulkOperation", action = "tns:BulkPortType#BulkOperation") + @WebResult(name = "BulkAnswer", targetNamespace = "http://reference.e-government.gv.at/namespaces/zustellung/kopf", partName = "BulkAnswer") + public BulkAnswerType bulkOperation( + @WebParam(name = "BulkQuery", targetNamespace = "http://reference.e-government.gv.at/namespaces/zustellung/kopf", partName = "BulkQuery") + BulkQueryType bulkQuery); + +} 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 <code>features</code> 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); + } + +} |