diff options
Diffstat (limited to 'src/main/java/at/gv/util/wsdl')
-rw-r--r-- | src/main/java/at/gv/util/wsdl/ur_V7/URSuche.java | 44 | ||||
-rw-r--r-- | src/main/java/at/gv/util/wsdl/ur_V7/URSucheService.java | 87 | ||||
-rw-r--r-- | src/main/java/at/gv/util/wsdl/ur_V7/XmlSwFault.java | 43 |
3 files changed, 174 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/wsdl/ur_V7/URSuche.java b/src/main/java/at/gv/util/wsdl/ur_V7/URSuche.java new file mode 100644 index 0000000..c45d2c7 --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/ur_V7/URSuche.java @@ -0,0 +1,44 @@ +package at.gv.util.wsdl.ur_V7; + +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; + +/** + * This class was generated by Apache CXF 3.1.10 + * 2021-03-29T14:50:13.020+02:00 + * Generated source version: 3.1.10 + * + */ +@WebService(targetNamespace = "urn:at:statistik:ur:ws", name = "URSuche") +@XmlSeeAlso({at.gv.util.xsd.ur_V7.search.ObjectFactory.class, at.gv.util.xsd.ur_V7.xmlsw.ObjectFactory.class, at.gv.util.xsd.ur_V7.pd.ObjectFactory.class, at.gv.util.xsd.ur_V7.simpletypes.ObjectFactory.class}) +@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE) +public interface URSuche { + + /** + * Operation für den Abfragetyp + * Search by Example + * + */ + @WebMethod + @WebResult(name = "SearchResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") + public at.gv.util.xsd.ur_V7.xmlsw.SearchResponseType searchByExample( + @WebParam(partName = "body", name = "SearchByExample", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#") + at.gv.util.xsd.ur_V7.xmlsw.SearchByExampleType body + ) throws XmlSwFault; + + /** + * Operation für den Abfragetyp + * Search by Id + * + */ + @WebMethod + @WebResult(name = "SearchResponse", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#", partName = "body") + public at.gv.util.xsd.ur_V7.xmlsw.SearchResponseType searchById( + @WebParam(partName = "body", name = "SearchById", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#") + at.gv.util.xsd.ur_V7.xmlsw.SearchByIdType body + ) throws XmlSwFault; +} diff --git a/src/main/java/at/gv/util/wsdl/ur_V7/URSucheService.java b/src/main/java/at/gv/util/wsdl/ur_V7/URSucheService.java new file mode 100644 index 0000000..336e11d --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/ur_V7/URSucheService.java @@ -0,0 +1,87 @@ +package at.gv.util.wsdl.ur_V7; + +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.1.10 + * 2021-03-29T14:50:13.039+02:00 + * Generated source version: 3.1.10 + * + */ +@WebServiceClient(name = "URSucheService", + wsdlLocation = "file:./src/main/resources/wsdl/ur_V7/URSucheService.wsdl", + targetNamespace = "urn:at:statistik:ur:ws") +public class URSucheService extends Service { + + public final static URL WSDL_LOCATION; + + public final static QName SERVICE = new QName("urn:at:statistik:ur:ws", "URSucheService"); + public final static QName URSucheService = new QName("urn:at:statistik:ur:ws", "URSucheService"); + static { + URL url = null; + try { + url = new URL("file:./src/main/resources/wsdl/ur_V7/URSucheService.wsdl"); + } catch (MalformedURLException e) { + java.util.logging.Logger.getLogger(URSucheService.class.getName()) + .log(java.util.logging.Level.INFO, + "Can not initialize the default wsdl from {0}", "file:./src/main/resources/wsdl/ur_V7/URSucheService.wsdl"); + } + WSDL_LOCATION = url; + } + + public URSucheService(URL wsdlLocation) { + super(wsdlLocation, SERVICE); + } + + public URSucheService(URL wsdlLocation, QName serviceName) { + super(wsdlLocation, serviceName); + } + + public URSucheService() { + super(WSDL_LOCATION, SERVICE); + } + + public URSucheService(WebServiceFeature ... features) { + super(WSDL_LOCATION, SERVICE, features); + } + + public URSucheService(URL wsdlLocation, WebServiceFeature ... features) { + super(wsdlLocation, SERVICE, features); + } + + public URSucheService(URL wsdlLocation, QName serviceName, WebServiceFeature ... features) { + super(wsdlLocation, serviceName, features); + } + + + + + /** + * + * @return + * returns URSuche + */ + @WebEndpoint(name = "URSucheService") + public URSuche getURSucheService() { + return super.getPort(URSucheService, URSuche.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 URSuche + */ + @WebEndpoint(name = "URSucheService") + public URSuche getURSucheService(WebServiceFeature... features) { + return super.getPort(URSucheService, URSuche.class, features); + } + +} diff --git a/src/main/java/at/gv/util/wsdl/ur_V7/XmlSwFault.java b/src/main/java/at/gv/util/wsdl/ur_V7/XmlSwFault.java new file mode 100644 index 0000000..820572d --- /dev/null +++ b/src/main/java/at/gv/util/wsdl/ur_V7/XmlSwFault.java @@ -0,0 +1,43 @@ + +package at.gv.util.wsdl.ur_V7; + +import javax.xml.ws.WebFault; + + +/** + * This class was generated by Apache CXF 3.1.10 + * 2021-03-29T14:50:12.985+02:00 + * Generated source version: 3.1.10 + */ + +@WebFault(name = "XmlSwFault", targetNamespace = "http://reference.e-government.gv.at/namespace/xml-sw/1#") +public class XmlSwFault extends Exception { + + private at.gv.util.xsd.ur_V7.xmlsw.CustomFaultType xmlSwFault; + + public XmlSwFault() { + super(); + } + + public XmlSwFault(String message) { + super(message); + } + + public XmlSwFault(String message, Throwable cause) { + super(message, cause); + } + + public XmlSwFault(String message, at.gv.util.xsd.ur_V7.xmlsw.CustomFaultType xmlSwFault) { + super(message); + this.xmlSwFault = xmlSwFault; + } + + public XmlSwFault(String message, at.gv.util.xsd.ur_V7.xmlsw.CustomFaultType xmlSwFault, Throwable cause) { + super(message, cause); + this.xmlSwFault = xmlSwFault; + } + + public at.gv.util.xsd.ur_V7.xmlsw.CustomFaultType getFaultInfo() { + return this.xmlSwFault; + } +} |